diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/view.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index f2713f576ca0..8214774c9216 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1640,7 +1640,7 @@ void SmViewShell::Execute(SfxRequest& rReq) try { uno::Reference < embed::XStorage > xStorage = - ::comphelper::OStorageHelper::GetStorageFromInputStream( xStrm, ::comphelper::getProcessServiceFactory() ); + ::comphelper::OStorageHelper::GetStorageFromInputStream( xStrm, ::comphelper::getProcessComponentContext() ); uno::Reference < beans::XPropertySet > xProps( xStorage, uno::UNO_QUERY ); SfxMedium aMedium( xStorage, OUString() ); Insert( aMedium ); |