diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-06-06 14:20:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-06 14:52:49 +0100 |
commit | 516ed22b3f51982df7dbfa875ce8056e167da091 (patch) | |
tree | 1289a749232332299b693d006392a78dc1c1e8ca /sfx2/source/doc/objserv.cxx | |
parent | 35a65baefe99181685aea8e630d27c5e2a7c6bc4 (diff) |
Remove remnants of help agent
it was removed with 66714f1888eaccef4eb5341971278ae7dfafa16b
but gobs of code (and UI) still existed to collect the help id
and give it to the missing help agent with various UI visible
options and buttons to control the help agent which isn't
there
Change-Id: I625da27b3046d481e43f4d35d32cc7063a1c6291
Diffstat (limited to 'sfx2/source/doc/objserv.cxx')
-rw-r--r-- | sfx2/source/doc/objserv.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index 907ee1a67228..cfd21cfdb76e 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -558,7 +558,6 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) // at the end of the method aModelGuard.Init_Impl( uno::Reference< util::XCloseable >( GetModel(), uno::UNO_QUERY ) ); - sal_Bool bDialogUsed = sal_False; sal_uInt32 nErrorCode = ERRCODE_NONE; // by default versions should be preserved always except in case of an explicit @@ -662,7 +661,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) if ( QueryHiddenInformation( bIsPDFExport ? WhenCreatingPDF : WhenSaving, NULL ) == RET_YES ) { - bDialogUsed = aHelper.GUIStoreModel( GetModel(), + aHelper.GUIStoreModel( GetModel(), OUString::createFromAscii( pSlot->GetUnoName() ), aDispatchArgs, bPreselectPassword, @@ -691,15 +690,6 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) const SfxFilter* pFilt = GetFactory().GetFilterContainer()->GetFilter4FilterName( aFilterName ); OSL_ENSURE( nId == SID_SAVEDOC || pFilt, "The filter can not be zero since it was used for storing!\n" ); - if ( bDialogUsed && pFilt - && pFilt->IsOwnFormat() - && pFilt->UsesStorage() - && pFilt->GetVersion() >= SOFFICE_FILEFORMAT_60 ) - { - SfxViewFrame* pDocViewFrame = SfxViewFrame::GetFirst( this ); - if ( pDocViewFrame ) - SfxHelp::OpenHelpAgent( &pDocViewFrame->GetFrame(), HID_DID_SAVE_PACKED_XML ); - } // the StoreAsURL/StoreToURL method have called this method with false // so it has to be restored to true here since it is a call from GUI |