Lines Matching refs:OSL_ENSURE

275         OSL_ENSURE(m_pReg, "no m_pReg in MetadatableUndo ?");  in GetRegistry()
283 { OSL_ENSURE(false, "MetadatableUndo::MakeUnoObject"); throw; } in MakeUnoObject()
300 OSL_ENSURE(m_pReg, "no m_pReg in MetadatableClipboard ?"); in GetRegistry()
308 { OSL_ENSURE(false, "MetadatableClipboard::MakeUnoObject"); throw; } in MakeUnoObject()
501 OSL_ENSURE(!iter->second.first.empty() || !iter->second.second.empty(), in LookupElementList()
553 OSL_ENSURE(!iter->second.first.equalsAscii(""), in LookupXmlId()
555 OSL_ENSURE(!iter->second.second.equalsAscii(""), in LookupXmlId()
573 OSL_ENSURE(isContentFile(i_rStreamName) || isStylesFile(i_rStreamName), in TryInsertMetadatable()
631 OSL_ENSURE(i_pObject, "null in list ???"); in removeLink()
637 OSL_ENSURE(pLink, "IsInClipboard, but no MetadatableClipboard ?"); in removeLink()
682 OSL_ENSURE(!dynamic_cast<MetadatableUndo*>(&i_rObject), in TryRegisterMetadatable()
684 OSL_ENSURE(!dynamic_cast<MetadatableClipboard*>(&i_rObject), in TryRegisterMetadatable()
711 OSL_ENSURE(old_id != m_pImpl->m_XmlIdMap.end(), "old id not found"); in TryRegisterMetadatable()
731 OSL_ENSURE(!dynamic_cast<MetadatableUndo*>(&i_rObject), in RegisterMetadatableAndCreateID()
733 OSL_ENSURE(!dynamic_cast<MetadatableClipboard*>(&i_rObject), in RegisterMetadatableAndCreateID()
748 OSL_ENSURE(old_id != m_pImpl->m_XmlIdMap.end(), "old id not found"); in RegisterMetadatableAndCreateID()
762 OSL_ENSURE(m_pImpl->m_XmlIdMap.find(id) == m_pImpl->m_XmlIdMap.end(), in RegisterMetadatableAndCreateID()
778 OSL_ENSURE(false, "unregister: no xml id?"); in UnregisterMetadatable()
796 OSL_ENSURE(!iter->second.second.equalsAscii(""), in RemoveXmlIdForElement()
813 OSL_ENSURE(i_rSource.IsInUndo() || i_rCopy.IsInUndo() || in RegisterCopy()
821 OSL_ENSURE(false, "no xml id?"); in RegisterCopy()
825 OSL_ENSURE( ::std::find( pList->begin(), pList->end(), &i_rCopy ) in RegisterCopy()
829 OSL_ENSURE(srcpos != pList->end(), "source not in list???"); in RegisterCopy()
888 OSL_ENSURE(false, "JoinMetadatables: no xmlid?"); in JoinMetadatables()
999 OSL_ENSURE(iter->second.first || iter->second.second, in LookupEntry()
1030 OSL_ENSURE(!iter->second.m_Stream.equalsAscii(""), in LookupXmlId()
1032 OSL_ENSURE(!iter->second.m_XmlId.equalsAscii(""), in LookupXmlId()
1051 OSL_ENSURE(isContentFile(i_rStreamName) || isStylesFile(i_rStreamName), in TryInsertMetadatable()
1116 OSL_ENSURE(!dynamic_cast<MetadatableUndo*>(&i_rObject), in TryRegisterMetadatable()
1118 OSL_ENSURE(!dynamic_cast<MetadatableClipboard*>(&i_rObject), in TryRegisterMetadatable()
1146 OSL_ENSURE(old_id != m_pImpl->m_XmlIdMap.end(), "old id not found"); in TryRegisterMetadatable()
1166 OSL_ENSURE(!dynamic_cast<MetadatableUndo*>(&i_rObject), in RegisterMetadatableAndCreateID()
1168 OSL_ENSURE(!dynamic_cast<MetadatableClipboard*>(&i_rObject), in RegisterMetadatableAndCreateID()
1186 OSL_ENSURE(m_pImpl->m_XmlIdMap.find(id) == m_pImpl->m_XmlIdMap.end(), in RegisterMetadatableAndCreateID()
1205 OSL_ENSURE(false, "unregister: no xml id?"); in UnregisterMetadatable()
1224 OSL_ENSURE(!iter->second.m_XmlId.equalsAscii(""), in RemoveXmlIdForElement()
1269 OSL_ENSURE(success, "RegisterCopyClipboard: TryInsert failed?"); in RegisterCopyClipboard()
1312 OSL_ENSURE(false, "Metadatable::RemoveMetadataReference: exception"); in RemoveMetadataReference()
1376 OSL_ENSURE(typeid(*this) == typeid(i_rSource) in RegisterAsCopyOf()
1382 OSL_ENSURE(!this->m_pReg, "RegisterAsCopyOf called on element with XmlId?"); in RegisterAsCopyOf()
1397 OSL_ENSURE(!IsInClipboard(), in RegisterAsCopyOf()
1422 OSL_ENSURE(pSourceRegDoc, "RegisterAsCopyOf: 2 clipboards?"); in RegisterAsCopyOf()
1442 OSL_ENSURE(pSourceRegClp, in RegisterAsCopyOf()
1468 OSL_ENSURE(false, "neither RegDoc nor RegClp cannot happen"); in RegisterAsCopyOf()
1487 OSL_ENSURE(false, "Metadatable::RegisterAsCopyOf: exception"); in RegisterAsCopyOf()
1493 OSL_ENSURE(!IsInUndo(), "CreateUndo called for object in undo?"); in CreateUndo()
1494 OSL_ENSURE(!IsInClipboard(), "CreateUndo called for object in clipboard?"); in CreateUndo()
1510 OSL_ENSURE(false, "Metadatable::CreateUndo: exception"); in CreateUndo()
1525 OSL_ENSURE(!IsInUndo(), "RestoreMetadata called for object in undo?"); in RestoreMetadata()
1526 OSL_ENSURE(!IsInClipboard(), in RestoreMetadata()
1540 OSL_ENSURE(!IsInUndo(), "JoinMetadatables called for object in undo?"); in JoinMetadatable()
1541 OSL_ENSURE(!IsInClipboard(), in JoinMetadatable()
1572 OSL_ENSURE(pRegDoc, "JoinMetadatable: no pRegDoc?"); in JoinMetadatable()
1580 OSL_ENSURE(false, "Metadatable::JoinMetadatable: exception"); in JoinMetadatable()