summaryrefslogtreecommitdiff
path: root/xmloff/source/text
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text')
-rw-r--r--xmloff/source/text/XMLAutoTextEventExport.cxx4
-rw-r--r--xmloff/source/text/XMLAutoTextEventExport.hxx2
2 files changed, 3 insertions, 3 deletions
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 ?