summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx2
-rw-r--r--xmloff/source/core/xmlexp.cxx4
-rw-r--r--xmloff/source/meta/MetaExportComponent.cxx4
-rw-r--r--xmloff/source/meta/xmlversion.cxx4
-rw-r--r--xmloff/source/text/XMLAutoTextEventExport.cxx4
-rw-r--r--xmloff/source/text/XMLAutoTextEventExport.hxx2
6 files changed, 10 insertions, 10 deletions
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index cec2ceeaf143..74ff16fb6d31 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -3527,7 +3527,7 @@ SchXMLExport::~SchXMLExport()
}
}
-sal_uInt32 SchXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass )
+ErrCode SchXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass )
{
maExportHelper->SetSourceShellID(GetSourceShellID());
maExportHelper->SetDestinationShellID(GetDestinationShellID());
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index f139fafbea65..d4f396c963ae 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -1250,7 +1250,7 @@ void SvXMLExport::addChaffWhenEncryptedStorage()
}
}
-sal_uInt32 SvXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass )
+ErrCode SvXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass )
{
bool bOwnGraphicResolver = false;
bool bOwnEmbeddedResolver = false;
@@ -1452,7 +1452,7 @@ sal_uInt32 SvXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass )
xComp->dispose();
}
- return 0;
+ return ERRCODE_NONE;
}
void SvXMLExport::ResetNamespaceMap()
diff --git a/xmloff/source/meta/MetaExportComponent.cxx b/xmloff/source/meta/MetaExportComponent.cxx
index cab4c928609c..1f939d99434d 100644
--- a/xmloff/source/meta/MetaExportComponent.cxx
+++ b/xmloff/source/meta/MetaExportComponent.cxx
@@ -69,7 +69,7 @@ void SAL_CALL XMLMetaExportComponent::setSourceDocument( const ::com::sun::star:
}
}
-sal_uInt32 XMLMetaExportComponent::exportDoc( enum XMLTokenEnum )
+ErrCode XMLMetaExportComponent::exportDoc( enum XMLTokenEnum )
{
uno::Reference< xml::sax::XDocumentHandler > xDocHandler = GetDocHandler();
@@ -155,7 +155,7 @@ sal_uInt32 XMLMetaExportComponent::exportDoc( enum XMLTokenEnum )
ExportMeta_();
}
xDocHandler->endDocument();
- return 0;
+ return ERRCODE_NONE;
}
void XMLMetaExportComponent::ExportMeta_()
diff --git a/xmloff/source/meta/xmlversion.cxx b/xmloff/source/meta/xmlversion.cxx
index f71ee9c0ec87..7c66faac4e96 100644
--- a/xmloff/source/meta/xmlversion.cxx
+++ b/xmloff/source/meta/xmlversion.cxx
@@ -54,7 +54,7 @@ XMLVersionListExport::XMLVersionListExport(
xmloff::token::GetXMLToken(xmloff::token::XML_N_VERSIONS_LIST), XML_NAMESPACE_FRAMEWORK );
}
-sal_uInt32 XMLVersionListExport::exportDoc( enum ::xmloff::token::XMLTokenEnum )
+ErrCode XMLVersionListExport::exportDoc( enum ::xmloff::token::XMLTokenEnum )
{
GetDocHandler()->startDocument();
@@ -96,7 +96,7 @@ sal_uInt32 XMLVersionListExport::exportDoc( enum ::xmloff::token::XMLTokenEnum )
}
}
GetDocHandler()->endDocument();
- return 0;
+ return ERRCODE_NONE;
}
XMLVersionListImport::XMLVersionListImport(
diff --git a/xmloff/source/text/XMLAutoTextEventExport.cxx b/xmloff/source/text/XMLAutoTextEventExport.cxx
index 2d409a48dca6..70d6ebf48a5e 100644
--- a/xmloff/source/text/XMLAutoTextEventExport.cxx
+++ b/xmloff/source/text/XMLAutoTextEventExport.cxx
@@ -99,7 +99,7 @@ void XMLAutoTextEventExport::initialize(
}
-sal_uInt32 XMLAutoTextEventExport::exportDoc( enum XMLTokenEnum )
+ErrCode XMLAutoTextEventExport::exportDoc( enum XMLTokenEnum )
{
if( !(getExportFlags() & SvXMLExportFlags::OASIS) )
{
@@ -149,7 +149,7 @@ sal_uInt32 XMLAutoTextEventExport::exportDoc( enum XMLTokenEnum )
GetDocHandler()->endDocument();
}
- return 0;
+ return ERRCODE_NONE;
}
bool XMLAutoTextEventExport::hasEvents()
diff --git a/xmloff/source/text/XMLAutoTextEventExport.hxx b/xmloff/source/text/XMLAutoTextEventExport.hxx
index 014ce926ee28..bea57fd47ddc 100644
--- a/xmloff/source/text/XMLAutoTextEventExport.hxx
+++ b/xmloff/source/text/XMLAutoTextEventExport.hxx
@@ -63,7 +63,7 @@ public:
protected:
/// export the events off all autotexts
- virtual sal_uInt32 exportDoc(
+ virtual ErrCode exportDoc(
enum ::xmloff::token::XMLTokenEnum eClass = xmloff::token::XML_TOKEN_INVALID ) override;
/// does the document have any events ?