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 /starmath | |
parent | Translate German comments (diff) | |
download | core-c12ab867f282e783507fcf74ab5c90e784681f65.tar.gz core-c12ab867f282e783507fcf74ab5c90e784681f65.zip |
Remove unused methods
GetOptimalSizePixel and GetHCtrlWidth are never called
Change-Id: Ib2ce1445447e85de66683f8b0fdf4fc8aa464084
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/view.hxx | 1 | ||||
-rw-r--r-- | starmath/source/view.cxx | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index cdfb6143569b..d0d4f63a7112 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -271,7 +271,6 @@ protected: const SfxItemSet &rOptions); virtual void Deactivate(sal_Bool IsMDIActivate); virtual void Activate(sal_Bool IsMDIActivate); - virtual Size GetOptimalSizePixel() const; virtual void AdjustPosSizePixel(const Point &rPos, const Size &rSize); virtual void InnerResizePixel(const Point &rOfs, const Size &rSize); virtual void OuterResizePixel(const Point &rOfs, const Size &rSize); diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 306d92a26716..964e284f3df6 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -935,14 +935,6 @@ SFX_IMPL_NAMED_VIEWFACTORY(SmViewShell, "Default") } -Size SmViewShell::GetOptimalSizePixel() const -{ - RTL_LOGFILE_CONTEXT( aLog, "starmath: SmViewShell::GetOptimalSizePixel" ); - - return aGraphic.LogicToPixel( ((SmViewShell*)this)->GetDoc()->GetSize() ); -} - - void SmViewShell::AdjustPosSizePixel(const Point &rPos, const Size &rSize) { RTL_LOGFILE_CONTEXT( aLog, "starmath: SmViewShell::AdjustPosSizePixel" ); |