diff options
Diffstat (limited to 'sfx2/source/doc/objserv.cxx')
-rw-r--r-- | sfx2/source/doc/objserv.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index a08c65ddbb70..3530e0622441 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -730,7 +730,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) if ( ( nId == SID_SAVEASDOC || nId == SID_SAVEASREMOTE ) && nErrorCode == ERRCODE_NONE ) { SfxBoolItem const * saveTo = static_cast<SfxBoolItem const *>( - rReq.GetArg(SID_SAVETO, false, TYPE(SfxBoolItem))); + rReq.GetArg(SID_SAVETO, false, checkSfxPoolItem< SfxBoolItem >)); if (saveTo == nullptr || !saveTo->GetValue()) { GetFrame()->RemoveInfoBar("readonly"); |