diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-04 14:59:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-04 16:43:32 +0100 |
commit | e7c0f8711f95895b501c869959fe07b93d0a1e80 (patch) | |
tree | fd0a224329e5c3ac03be5b46482255e0be0c408e /sc/source/ui/inc/docsh.hxx | |
parent | ba5093e723bdaf30a94f598c89d733bfc220ec7b (diff) |
"2" as arg for PrepareClose is never checked for
The 2 for PrepareClose came in with 38db42605a5b72efd55a43eff81fbc517fe0424b
"#89423#: added SID_CLOSEDOC, SID_BACKTOWEBTOP, SID_LOGOUT in PluginMenu" and
was checked with if( SfxApplication::IsPlugin() == sal_False || bUI == 2 ) in
sfx2/source/doc/objxtor.cxx and then that was removed with
367568c891771d20bb8f8b3b579857f51c0e9016 "#132394#: remove superfluous code"
Change-Id: Ib273c88b4365ea6b261c7e52bbe1876aa796dc17
Diffstat (limited to 'sc/source/ui/inc/docsh.hxx')
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 2941b62ac881..9da6caf6b715 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -209,7 +209,7 @@ public: virtual bool Save() SAL_OVERRIDE; virtual bool SaveAs( SfxMedium& rMedium ) SAL_OVERRIDE; virtual bool ConvertTo( SfxMedium &rMedium ) SAL_OVERRIDE; - virtual bool PrepareClose( sal_Bool bUI = sal_True ) SAL_OVERRIDE; + virtual bool PrepareClose( bool bUI = true ) SAL_OVERRIDE; virtual void PrepareReload() SAL_OVERRIDE; virtual bool IsInformationLost() SAL_OVERRIDE; virtual void LoadStyles( SfxObjectShell &rSource ) SAL_OVERRIDE; |