summaryrefslogtreecommitdiff
path: root/starmath/source/view.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r--starmath/source/view.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index c1dfacf8570f..b68d72e7d866 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -1340,7 +1340,7 @@ void SmViewShell::Insert( SfxMedium& rMedium )
// is this a fabulous math package ?
Reference<css::frame::XModel> xModel(pDoc->GetModel());
SmXMLImportWrapper aEquation(xModel); //!! modifies the result of pDoc->GetText() !!
- bRet = 0 == aEquation.Import(rMedium);
+ bRet = ERRCODE_NONE == aEquation.Import(rMedium);
}
}
@@ -1377,7 +1377,7 @@ void SmViewShell::InsertFrom(SfxMedium &rMedium)
{
Reference<css::frame::XModel> xModel(pDoc->GetModel());
SmXMLImportWrapper aEquation(xModel); //!! modifies the result of pDoc->GetText() !!
- bSuccess = 0 == aEquation.Import(rMedium);
+ bSuccess = ERRCODE_NONE == aEquation.Import(rMedium);
}
}