Lines Matching refs:OSL_ENSURE
219 OSL_ENSURE( xInputStream.is(), "No input stream is provided!\n" ); in OStorage_Impl()
227 OSL_ENSURE( sal_False, "No stream for writing is provided!\n" ); in OStorage_Impl()
259 OSL_ENSURE( xStream.is(), "No stream is provided!\n" ); in OStorage_Impl()
302 OSL_ENSURE( xPackageFolder.is(), "No package folder!\n" ); in OStorage_Impl()
312 OSL_ENSURE( !m_bIsRoot, "The root storage wrapper must be disposed already" ); in ~OStorage_Impl()
428 OSL_ENSURE( aStorage.GetRefCount_Impl(), "There must be a reference alive to use this method!\n" ); in SetReadOnlyWrap()
461 OSL_ENSURE( m_bIsRoot, "Opening of the package has no sense!\n" ); in OpenOwnPackage()
474 OSL_ENSURE( m_xInputStream.is(), "Input stream must be set for readonly access!\n" ); in OpenOwnPackage()
529 OSL_ENSURE( xHNameAccess.is(), "The package could not be created!\n" ); in OpenOwnPackage()
538 OSL_ENSURE( m_xPackageFolder.is(), "The package root folder can not be opened!\n" ); in OpenOwnPackage()
654 OSL_ENSURE( sal_False, "XNamed is not supported!\n" ); in ReadContents()
659 OSL_ENSURE( aName.getLength(), "Empty name!\n" ); in ReadContents()
688 OSL_ENSURE( sal_False, "hasMoreElements() implementation has problems!\n" ); in ReadContents()
801 OSL_ENSURE( xDest.is(), "No destination storage!\n" ); in CopyStorageElement()
802 OSL_ENSURE( aName.getLength(), "Empty element name!\n" ); in CopyStorageElement()
820 OSL_ENSURE( xSubDest.is(), "No destination substorage!\n" ); in CopyStorageElement()
888 OSL_ENSURE( pElement->m_pStream->m_xPackageStream.is(), "No package stream!" ); in CopyStorageElement()
911 OSL_ENSURE( xSubStr.is(), "No destination substream!\n" ); in CopyStorageElement()
918 OSL_ENSURE( sal_False, "Encryption is only supported in package storage!\n" ); in CopyStorageElement()
960 OSL_ENSURE( xSubStr.is(), "No destination substream!\n" ); in CopyStorageElement()
978 OSL_ENSURE( xDestStream.is(), "No destination substream!\n" ); in CopyStorageElement()
1024 OSL_ENSURE( m_xPackageFolder.is(), "A committed storage is incomplete!\n" ); in CopyLastCommitTo()
1045 OSL_ENSURE( m_xPackageFolder.is(), "An inserted storage is incomplete!\n" ); in InsertIntoPackageFolder()
1069 OSL_ENSURE( m_xPackageFolder.is(), "The package representation should exist!\n" ); in Commit()
1073 OSL_ENSURE( m_nStorageMode & embed::ElementModes::WRITE, in Commit()
1225 OSL_ENSURE( (*pElementIter)->m_pStorage, "An inserted storage is incomplete!\n" ); in Commit()
1236 OSL_ENSURE( (*pElementIter)->m_pStream, "An inserted stream is incomplete!\n" ); in Commit()
1274 OSL_ENSURE( xChangesBatch.is(), "Impossible to commit package!\n" ); in Commit()
1398 OSL_ENSURE( rName.getLength(), "Name is empty!" ); in FindElement()
1417 OSL_ENSURE( m_xPackage.is(), "Not possible to refer to package as to factory!\n" ); in InsertStream()
1426 OSL_ENSURE( xNewElement.is(), "Not possible to create a new stream!\n" ); in InsertStream()
1434 …OSL_ENSURE( m_nStorageType == embed::StorageFormats::PACKAGE || !bEncr, "Only package storage supp… in InsertStream()
1453 OSL_ENSURE( m_xPackage.is(), "Not possible to refer to package as to factory!\n" ); in InsertRawStream()
1469 OSL_ENSURE( xNewElement.is(), "Not possible to create a new stream!\n" ); in InsertRawStream()
1495 OSL_ENSURE( m_xPackage.is(), "Not possible to refer to package as to factory!\n" ); in CreateNewStorageImpl()
1504 OSL_ENSURE( xNewElement.is(), "Not possible to create a new storage!\n" ); in CreateNewStorageImpl()
1534 OSL_ENSURE( FindElement( aName ) == NULL, "Should not try to insert existing element" ); in InsertElement()
1545 …OSL_ENSURE( (*pElementIter)->m_bIsRemoved, "Try to insert an element instead of existing one!\n" ); in InsertElement()
1548 … OSL_ENSURE( !(*pElementIter)->m_bIsInserted, "Inserted elements must be deleted immediately!\n" ); in InsertElement()
1573 OSL_ENSURE( pElement, "pElement is not set!\n" ); in OpenSubStorage()
1574 OSL_ENSURE( pElement->m_bIsStorage, "Storage flag is not set!\n" ); in OpenSubStorage()
1580 OSL_ENSURE( !pElement->m_bIsInserted, "Inserted element must be created already!\n" ); in OpenSubStorage()
1589 OSL_ENSURE( xPackageSubFolder.is(), "Can not get XNameContainer interface from folder!\n" ); in OpenSubStorage()
1601 OSL_ENSURE( pElement, "pElement is not set!\n" ); in OpenSubStream()
1602 OSL_ENSURE( !pElement->m_bIsStorage, "Storage flag is set!\n" ); in OpenSubStream()
1608 OSL_ENSURE( !pElement->m_bIsInserted, "Inserted element must be created already!\n" ); in OpenSubStream()
1649 OSL_ENSURE( pElement, "Element must be provided!" ); in RemoveElement()
1786 OSL_ENSURE( pStreamElement->m_aName.getLength(), "The name must not be empty!\n" ); in CommitStreamRelInfo()
1959 …OSL_ENSURE( m_pImpl && m_pImpl->m_rMutexRef.Is(), "The provided pointer & mutex MUST NOT be empty!… in OStorage()
1963 …OSL_ENSURE( ( m_pImpl->m_nStorageMode & embed::ElementModes::WRITE ) == embed::ElementModes::WRITE… in OStorage()
2026 OSL_ENSURE( !m_pData->m_aOpenSubComponentsList.size() || m_pData->m_pSubElDispListener, in InternalDispose()
2123 OSL_ENSURE( !m_pData->m_bReadOnlyWrap, "The storage can not be modified at all!\n" ); in BroadcastModifiedIfNecessary()
2156 OSL_ENSURE( !m_pData->m_bReadOnlyWrap, "The storage can not be modified at all!\n" ); in BroadcastTransaction()
2168 OSL_ENSURE( nMessage >= 1 && nMessage <= 4, "Wrong internal notification code is used!\n" ); in BroadcastTransaction()
2194 …OSL_ENSURE( !m_pData->m_bReadOnlyWrap || ( nOpenMode & embed::ElementModes::WRITE ) != embed::Elem… in OpenStreamElement_Impl()
2214 OSL_ENSURE( pElement, "In case element can not be created an exception must be thrown!" ); in OpenStreamElement_Impl()
2508 …OSL_ENSURE( pElement && pElement->m_pStream, "In case element can not be created an exception must… in openStreamElement()
2511 OSL_ENSURE( xResult.is(), "The method must throw exception instead of removing empty result!\n" ); in openStreamElement()
3606 …OSL_ENSURE( pElement && pElement->m_pStream, "In case element can not be created an exception must… in openEncryptedStream()
3609 OSL_ENSURE( xResult.is(), "The method must throw exception instead of removing empty result!\n" ); in openEncryptedStream()
4681 …OSL_ENSURE( m_pData->m_bIsRoot, "removeEncryption() method is not available for nonroot storages!\… in removeEncryption()
4722 OSL_ENSURE( sal_False, "The call must not fail, it is pretty simple!" ); in removeEncryption()
4730 OSL_ENSURE( sal_False, "The call must not fail, it is pretty simple!" ); in removeEncryption()
4760 …OSL_ENSURE( m_pData->m_bIsRoot, "setEncryptionData() method is not available for nonroot storages!… in setEncryptionData()
4828 …OSL_ENSURE( m_pData->m_bIsRoot, "setEncryptionAlgorithms() method is not available for nonroot sto… in setEncryptionAlgorithms()
4899 …OSL_ENSURE( m_pData->m_bIsRoot, "getEncryptionAlgorithms() method is not available for nonroot sto… in getEncryptionAlgorithms()
5713 …OSL_ENSURE( pElement && pElement->m_pStream, "In case element can not be created an exception must… in insertStreamElementDirect()
6166 …OSL_ENSURE( xNonconstRef == xTargetStream, "The provided stream reference seems not be filled in c… in copyStreamElementData()
6249 OSL_ENSURE( aListPath.size(), "The result list must not be empty!" ); in openStreamElementByHierarchicalName()
6258 …OSL_ENSURE( pElement && pElement->m_pStream, "In case element can not be created an exception must… in openStreamElementByHierarchicalName()
6320 OSL_ENSURE( aListPath.size(), "The result list must not be empty!" ); in removeStreamElementByHierarchicalName()
6364 OSL_ENSURE( aListPath.size(), "The result list must not be empty!" ); in openEncryptedStreamByHierarchicalName()
6373 …OSL_ENSURE( pElement && pElement->m_pStream, "In case element can not be created an exception must… in openEncryptedStreamByHierarchicalName()