diff options
Diffstat (limited to 'sfx2/source/doc/objxtor.cxx')
-rw-r--r-- | sfx2/source/doc/objxtor.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index f22557e7ce24..53ec4e2af9c6 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -35,6 +35,7 @@ #include <osl/file.hxx> #include <rtl/instance.hxx> #include <vcl/msgbox.hxx> +#include <vcl/weld.hxx> #include <vcl/wrkwin.hxx> #include <vcl/svapp.hxx> #include <svl/eitem.hxx> @@ -576,7 +577,7 @@ bool SfxObjectShell::PrepareClose { const Reference< XTitle > xTitle( *pImpl->pBaseModel.get(), UNO_QUERY_THROW ); const OUString sTitle = xTitle->getTitle (); - nRet = ExecuteQuerySaveDocument(&pFrame->GetWindow(),sTitle); + nRet = ExecuteQuerySaveDocument(pFrame->GetWindow().GetFrameWeld(), sTitle); } /*HACK for plugin::destroy()*/ |