diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-12 17:34:24 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-14 10:15:00 +0100 |
commit | 44322852b81ef28764b467ea9e164e3f14a1a731 (patch) | |
tree | 9e81d054ec7790b4f4d1e4463ed8ccdd25d6ebe9 /sdext | |
parent | 198a35a1a813b4f24cbca835de97c1fd19ed250b (diff) |
-Werror,-Wunused-member-function
Change-Id: I745ceb72423b120ef42437778e3a5fe05bd7b42b
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterTheme.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sdext/source/presenter/PresenterTheme.cxx b/sdext/source/presenter/PresenterTheme.cxx index ec1ab4db0bb3..2116d491b359 100644 --- a/sdext/source/presenter/PresenterTheme.cxx +++ b/sdext/source/presenter/PresenterTheme.cxx @@ -138,10 +138,6 @@ public: ::boost::shared_ptr<PresenterBitmapContainer> mpBitmaps; PresenterTheme::SharedFontDescriptor GetFont (void) const; - -private: - - void UpdateBorderSize (BorderSize& rBorderSize, bool bInner); }; typedef ::boost::shared_ptr<PaneStyle> SharedPaneStyle; @@ -951,22 +947,6 @@ PaneStyle::~PaneStyle (void) { } -void PaneStyle::UpdateBorderSize (BorderSize& rBorderSize, bool bInner) -{ - if (mpParentStyle.get() != NULL) - mpParentStyle->UpdateBorderSize(rBorderSize, bInner); - - BorderSize& rThisBorderSize (bInner ? maInnerBorderSize : maOuterBorderSize); - if (rThisBorderSize.mnLeft >= 0) - rBorderSize.mnLeft = rThisBorderSize.mnLeft; - if (rThisBorderSize.mnTop >= 0) - rBorderSize.mnTop = rThisBorderSize.mnTop; - if (rThisBorderSize.mnRight >= 0) - rBorderSize.mnRight = rThisBorderSize.mnRight; - if (rThisBorderSize.mnBottom >= 0) - rBorderSize.mnBottom = rThisBorderSize.mnBottom; -} - const SharedBitmapDescriptor PaneStyle::GetBitmap (const OUString& rsBitmapName) const { if (mpBitmaps.get() != NULL) |