summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2001-03-21 15:54:38 +0000
committerJoachim Lingner <jl@openoffice.org>2001-03-21 15:54:38 +0000
commit7457dcd80e43ebbf524bb838df7fba7504a767fe (patch)
treea9a203591a5d666137504de3846415dcd5c9f01d /xmloff/source
parenta59c7f8f82f48a8d70053a8a5e758956bdc12ca2 (diff)
Replaced OSL_ENSHURE by OSL_ENSURE
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/core/facreg.cxx8
-rw-r--r--xmloff/source/forms/elementexport.cxx9
-rw-r--r--xmloff/source/forms/layerexport.cxx19
3 files changed, 21 insertions, 15 deletions
diff --git a/xmloff/source/core/facreg.cxx b/xmloff/source/core/facreg.cxx
index 0d0a7f666532..62978d15d3b5 100644
--- a/xmloff/source/core/facreg.cxx
+++ b/xmloff/source/core/facreg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: facreg.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: cl $ $Date: 2001-03-04 16:08:56 $
+ * last change: $Author: jl $ $Date: 2001-03-21 16:52:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -307,10 +307,10 @@ sal_Bool SAL_CALL component_writeInfo( void * pServiceManager, void * pRegistryK
}
catch (registry::InvalidRegistryException &)
{
- OSL_ENSHURE( sal_False, "### InvalidRegistryException!" );
+ OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
}
}
- return True;
+ return sal_True;
}
void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx
index 1ddc7a3c55a8..9201805075e3 100644
--- a/xmloff/source/forms/elementexport.cxx
+++ b/xmloff/source/forms/elementexport.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: elementexport.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: sab $ $Date: 2001-03-16 14:36:39 $
+ * last change: $Author: jl $ $Date: 2001-03-21 16:54:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1244,7 +1244,7 @@ namespace xmloff
// we always should be able to export events - this is not control type dependent
break;
default:
- OSL_ENSHURE(sal_False, "OControlExport::examineControl: unknown control type (class id)!");
+ OSL_ENSURE(sal_False, "OControlExport::examineControl: unknown control type (class id)!");
break;
}
@@ -1471,6 +1471,9 @@ namespace xmloff
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.11 2001/03/16 14:36:39 sab
+ * did the required change (move of extract.hxx form cppuhelper to comphelper)
+ *
* Revision 1.10 2001/02/01 09:46:47 fs
* no own style handling anymore - the shape exporter is responsible for our styles now
*
diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx
index 62de97d00b20..50bab7db5216 100644
--- a/xmloff/source/forms/layerexport.cxx
+++ b/xmloff/source/forms/layerexport.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: layerexport.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: sab $ $Date: 2001-03-16 14:36:39 $
+ * last change: $Author: jl $ $Date: 2001-03-21 16:54:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -210,7 +210,7 @@ namespace xmloff
// the control id (should already have been created in examineForms)
::rtl::OUString sControlId;
ConstMapPropertySet2StringIterator aControlId = m_aCurrentPageIds->second.find(_rxControl);
- OSL_ENSHURE(aControlId != m_aCurrentPageIds->second.end(), "OFormLayerXMLExport_Impl::exportControl: could not find the control id!");
+ OSL_ENSURE(aControlId != m_aCurrentPageIds->second.end(), "OFormLayerXMLExport_Impl::exportControl: could not find the control id!");
if (aControlId != m_aCurrentPageIds->second.end())
sControlId = aControlId->second;
@@ -223,7 +223,7 @@ namespace xmloff
void OFormLayerXMLExport_Impl::exportForm(const Reference< XPropertySet >& _rxProps,
const Sequence< ScriptEventDescriptor >& _rEvents)
{
- OSL_ENSHURE(_rxProps.is(), "OFormLayerXMLExport_Impl::exportForm: invalid property set!");
+ OSL_ENSURE(_rxProps.is(), "OFormLayerXMLExport_Impl::exportForm: invalid property set!");
OFormExport aAttributeHandler(*this, _rxProps, _rEvents);
aAttributeHandler.doExport();
}
@@ -258,13 +258,13 @@ namespace xmloff
{
// extract the current element
::cppu::extractInterface(xCurrentProps, _rxCollection->getByIndex(i));
- OSL_ENSHURE(xCurrentProps.is(), "OFormLayerXMLExport_Impl::exportCollectionElements: invalid child element, skipping!");
+ OSL_ENSURE(xCurrentProps.is(), "OFormLayerXMLExport_Impl::exportCollectionElements: invalid child element, skipping!");
if (!xCurrentProps.is())
continue;
// check if there is a ClassId property on the current element. If so, we assume it to be a control
xPropsInfo = xCurrentProps->getPropertySetInfo();
- OSL_ENSHURE(xPropsInfo.is(), "OFormLayerXMLExport_Impl::exportCollectionElements: no property set info!");
+ OSL_ENSURE(xPropsInfo.is(), "OFormLayerXMLExport_Impl::exportCollectionElements: no property set info!");
if (!xPropsInfo.is())
// without this, a lot of stuff in the export routines may fail
continue;
@@ -287,7 +287,7 @@ namespace xmloff
}
catch(Exception&)
{
- OSL_ENSHURE(sal_False, "OFormLayerXMLExport_Impl::exportCollectionElements: caught an exception ... skipping the current element!");
+ OSL_ENSURE(sal_False, "OFormLayerXMLExport_Impl::exportCollectionElements: caught an exception ... skipping the current element!");
continue;
}
}
@@ -365,7 +365,7 @@ namespace xmloff
::rtl::OUString OFormLayerXMLExport_Impl::getControlId(const Reference< XPropertySet >& _rxControl)
{
OSL_ENSURE(m_aCurrentPageIds != m_aControlIds.end(), "OFormLayerXMLExport_Impl::getControlId: invalid current page!");
- OSL_ENSHURE(m_aCurrentPageIds->second.end() != m_aCurrentPageIds->second.find(_rxControl),
+ OSL_ENSURE(m_aCurrentPageIds->second.end() != m_aCurrentPageIds->second.find(_rxControl),
"OFormLayerXMLExport_Impl::getControlId: can not find the control!");
return m_aCurrentPageIds->second[_rxControl];
}
@@ -480,6 +480,9 @@ namespace xmloff
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.11 2001/03/16 14:36:39 sab
+ * did the required change (move of extract.hxx form cppuhelper to comphelper)
+ *
* Revision 1.10 2001/02/01 09:46:47 fs
* no own style handling anymore - the shape exporter is responsible for our styles now
*