[Libreoffice-commits] .: svtools/source

Caolán McNamara caolan at kemper.freedesktop.org
Sat Nov 13 13:05:56 PST 2010


 svtools/source/contnr/templwin.cxx |    7 ++-----
 svtools/source/contnr/templwin.hxx |    2 +-
 2 files changed, 3 insertions(+), 6 deletions(-)

New commits:
commit 5faaa80392975c899c6e561ab75a39901af15014
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Nov 13 16:48:54 2010 +0000

    remove unused _bHiContrast arg

diff --git a/svtools/source/contnr/templwin.cxx b/svtools/source/contnr/templwin.cxx
index 4c2f7b4..a1b0b6b 100644
--- a/svtools/source/contnr/templwin.cxx
+++ b/svtools/source/contnr/templwin.cxx
@@ -568,10 +568,7 @@ ULONG SvtIconWindow_Impl::GetRootPos( const String& rURL ) const
     return nPos;
 }
 
-/******
- * @param _bHiContrast: unused and noop. FIXME: remove me
- */
-void SvtIconWindow_Impl::UpdateIcons( sal_Bool _bHiContrast )
+void SvtIconWindow_Impl::UpdateIcons()
 {
     aIconCtrl.GetEntry( ICON_POS_NEWDOC )->SetImage(
         Image( SvtResId( IMG_SVT_NEWDOC ) ) );
@@ -1364,7 +1361,7 @@ void SvtTemplateWindow::InitToolBoxImages()
 
 void SvtTemplateWindow::UpdateIcons()
 {
-    pIconWin->UpdateIcons( aFileViewTB.GetSettings().GetStyleSettings().GetHighContrastMode() );
+    pIconWin->UpdateIcons();
 }
 
 // ------------------------------------------------------------------------
diff --git a/svtools/source/contnr/templwin.hxx b/svtools/source/contnr/templwin.hxx
index 17c5c1e..3163c5e 100644
--- a/svtools/source/contnr/templwin.hxx
+++ b/svtools/source/contnr/templwin.hxx
@@ -102,7 +102,7 @@ public:
     long 				CalcHeight() const;
     sal_Bool			IsRootURL( const String& rURL ) const;
     ULONG				GetRootPos( const String& rURL ) const;
-    void				UpdateIcons( sal_Bool _bHiContrast );
+    void				UpdateIcons();
 
     inline sal_Bool			ProcessKeyEvent( const KeyEvent& rKEvt );
 


More information about the Libreoffice-commits mailing list