diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-02-09 11:29:37 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-02-09 11:29:37 +0100 |
commit | c12ab867f282e783507fcf74ab5c90e784681f65 (patch) | |
tree | 6435dd10b5d05d86b9ea4549bceb2696d028b641 /sfx2 | |
parent | d84e78aa31252f6e514ad8a8ef38c4a4ec93cb37 (diff) |
Remove unused methods
GetOptimalSizePixel and GetHCtrlWidth are never called
Change-Id: Ib2ce1445447e85de66683f8b0fdf4fc8aa464084
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/viewsh.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/view/viewsh.cxx | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/sfx2/inc/sfx2/viewsh.hxx b/sfx2/inc/sfx2/viewsh.hxx index b7110a67c700..fc789407fcab 100644 --- a/sfx2/inc/sfx2/viewsh.hxx +++ b/sfx2/inc/sfx2/viewsh.hxx @@ -144,8 +144,6 @@ protected: virtual void Activate(sal_Bool IsMDIActivate); virtual void Deactivate(sal_Bool IsMDIActivate); - virtual Size GetOptimalSizePixel() const; - virtual void InnerResizePixel( const Point &rOfs, const Size &rSize ); virtual void OuterResizePixel( const Point &rOfs, const Size &rSize ); virtual void SetZoomFactor( const Fraction &rZoomX, const Fraction &rZoomY ); diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index 941ec1537a91..4a4cfcec82ab 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -1251,14 +1251,6 @@ void SfxViewShell::SetWindow //-------------------------------------------------------------------- -Size SfxViewShell::GetOptimalSizePixel() const -{ - OSL_FAIL( "Useless call!" ); - return Size(); -} - -//------------------------------------------------------------------------ - SfxViewShell::SfxViewShell ( SfxViewFrame* pViewFrame, /* <SfxViewFrame>, which will be |