summaryrefslogtreecommitdiff
path: root/starmath/source/document.cxx
diff options
context:
space:
mode:
authorhg <hg@oosvn01.>2009-10-08 15:56:43 +0000
committerhg <hg@oosvn01.>2009-10-08 15:56:43 +0000
commit760d2d3f08da79412f491a94e7ee45c1f6f7697b (patch)
tree31da0977a5e0773667b49b0e2b73b4abda2ad9cd /starmath/source/document.cxx
parent8dc58b29a6b1e58743905c881873de2e8d694894 (diff)
parentce547b5228ea0c2764995abedc07e2803d6acd52 (diff)
merge with m53
Diffstat (limited to 'starmath/source/document.cxx')
-rw-r--r--starmath/source/document.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index d4e9627ccf..e5f975c920 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -810,7 +810,7 @@ BOOL SmDocShell::Load( SfxMedium& rMedium )
BOOL bRet = FALSE;
if( SfxObjectShell::Load( rMedium ))
{
- uno::Reference < embed::XStorage > xStorage = pMedium->GetStorage();
+ uno::Reference < embed::XStorage > xStorage = GetMedium()->GetStorage();
uno::Reference < container::XNameAccess > xAccess (xStorage, uno::UNO_QUERY);
if (
(
@@ -828,7 +828,7 @@ BOOL SmDocShell::Load( SfxMedium& rMedium )
SmXMLImportWrapper aEquation(xModel);
ULONG nError = aEquation.Import(rMedium);
bRet = 0 == nError;
- SetError( nError );
+ SetError( nError, ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ) );
}
}