summaryrefslogtreecommitdiff
path: root/starmath/source/mathmlimport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/mathmlimport.cxx')
-rw-r--r--starmath/source/mathmlimport.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index c79d91295c98..093e72b3e690 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -96,9 +96,9 @@ SmNode* popOrZero(SmNodeStack& rStack)
}
-sal_uInt32 SmXMLImportWrapper::Import(SfxMedium &rMedium)
+ErrCode SmXMLImportWrapper::Import(SfxMedium &rMedium)
{
- sal_uInt32 nError = ERRCODE_SFX_DOLOADFAILED;
+ ErrCode nError = ERRCODE_SFX_DOLOADFAILED;
uno::Reference<uno::XComponentContext> xContext( comphelper::getProcessComponentContext() );
@@ -250,7 +250,7 @@ sal_uInt32 SmXMLImportWrapper::Import(SfxMedium &rMedium)
/// read a component (file + filter version)
-sal_uInt32 SmXMLImportWrapper::ReadThroughComponent(
+ErrCode SmXMLImportWrapper::ReadThroughComponent(
const Reference<io::XInputStream>& xInputStream,
const Reference<XComponent>& xModelComponent,
Reference<uno::XComponentContext> & rxContext,
@@ -258,7 +258,7 @@ sal_uInt32 SmXMLImportWrapper::ReadThroughComponent(
const sal_Char* pFilterName,
bool bEncrypted )
{
- sal_uInt32 nError = ERRCODE_SFX_DOLOADFAILED;
+ ErrCode nError = ERRCODE_SFX_DOLOADFAILED;
OSL_ENSURE(xInputStream.is(), "input stream missing");
OSL_ENSURE(xModelComponent.is(), "document missing");
OSL_ENSURE(rxContext.is(), "factory missing");
@@ -346,7 +346,7 @@ sal_uInt32 SmXMLImportWrapper::ReadThroughComponent(
}
-sal_uInt32 SmXMLImportWrapper::ReadThroughComponent(
+ErrCode SmXMLImportWrapper::ReadThroughComponent(
const uno::Reference< embed::XStorage >& xStorage,
const Reference<XComponent>& xModelComponent,
const sal_Char* pStreamName,