diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-05-10 12:09:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-05-10 12:12:09 +0200 |
commit | d16c1b9290e11ca31850523a2b01426bca0937a3 (patch) | |
tree | 3e33533a695a827e64798a1cf5de8a7b2566237c /sfx2/inc | |
parent | 1173bb0dc01ef504ea453a272b77b0b4d92a662f (diff) |
Removed unused SID_FRAMETITLE
...which was only ever written to, never read. This in turn allowed
SfxViewFrame::UpdateTitle to return void instead of String, and made
SfxObjectShell::UpdateTitle become unused. (The title appears to be created via
SfxBaseModel::getTitle instead these days?)
Change-Id: I5e1115a707134058a1f3a0beaa180eb471c817e6
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/sfx2/objsh.hxx | 1 | ||||
-rw-r--r-- | sfx2/inc/sfx2/sfxsids.hrc | 1 | ||||
-rw-r--r-- | sfx2/inc/sfx2/viewfrm.hxx | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/inc/sfx2/objsh.hxx b/sfx2/inc/sfx2/objsh.hxx index fdb53b2b7022..3c1837b22187 100644 --- a/sfx2/inc/sfx2/objsh.hxx +++ b/sfx2/inc/sfx2/objsh.hxx @@ -562,7 +562,6 @@ public: virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > GetEventNames(); Window* GetDialogParent( SfxMedium* pMedium=0 ); - String UpdateTitle( SfxMedium* pMed=NULL, sal_uInt16 nDocViewNo=0 ); static SfxObjectShell* CreateObject( const String& rServiceName, SfxObjectCreateMode = SFX_CREATE_MODE_STANDARD ); static SfxObjectShell* CreateObjectByFactoryName( const String& rURL, SfxObjectCreateMode = SFX_CREATE_MODE_STANDARD ); static ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > diff --git a/sfx2/inc/sfx2/sfxsids.hrc b/sfx2/inc/sfx2/sfxsids.hrc index c6fbdc4dfa70..fbd8995215d4 100644 --- a/sfx2/inc/sfx2/sfxsids.hrc +++ b/sfx2/inc/sfx2/sfxsids.hrc @@ -374,7 +374,6 @@ #define SID_PLUGFRAMEARG (SID_SFX_START + 666) #define SID_NEWWINDOWFOREDIT (SID_SFX_START + 667) -#define SID_FRAMETITLE (SID_SFX_START + 668) #define SID_DOCTEMPLATE (SID_SFX_START + 538) #define SID_JSCALL (SID_SFX_START + 1382) diff --git a/sfx2/inc/sfx2/viewfrm.hxx b/sfx2/inc/sfx2/viewfrm.hxx index 266e058ae9cc..5a99c481c6f6 100644 --- a/sfx2/inc/sfx2/viewfrm.hxx +++ b/sfx2/inc/sfx2/viewfrm.hxx @@ -163,7 +163,7 @@ public: void ShowStatusText( const String& rText ); void HideStatusText(); - String UpdateTitle(); + void UpdateTitle(); static void ActivateToolPanel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& i_rFrame, const ::rtl::OUString& i_rPanelURL ); |