summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/app.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/app.cxx')
-rw-r--r--sfx2/source/appl/app.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx
index 918e654563..9397f08da5 100644
--- a/sfx2/source/appl/app.cxx
+++ b/sfx2/source/appl/app.cxx
@@ -505,25 +505,6 @@ void SfxApplication::SetViewFrame_Impl( SfxViewFrame *pFrame )
pFrame->GetViewShell()->SetCurrentDocument();
}
-//--------------------------------------------------------------------
-
-short SfxApplication::QuerySave_Impl( SfxObjectShell& rDoc, sal_Bool /*bAutoSave*/ )
-{
- if ( !rDoc.IsModified() )
- return RET_NO;
-
- String aMsg( SfxResId( STR_ISMODIFIED ) );
- aMsg.SearchAndReplaceAscii( "%1", rDoc.GetTitle() );
-
- SfxFrame& rFrame = SfxViewFrame::GetFirst(&rDoc)->GetFrame();
- rFrame.Appear();
-
- WinBits nBits = WB_YES_NO_CANCEL | WB_DEF_NO;
- QueryBox aBox( &rFrame.GetWindow(), nBits, aMsg );
-
- return aBox.Execute();
-}
-
//---------------------------------------------------------------------
ResMgr* SfxApplication::CreateResManager( const char *pPrefix )