[Libreoffice-commits] core.git: svtools/source

Ulrich Gemkow lobugs at ikr.uni-stuttgart.de
Sun Dec 4 15:59:19 UTC 2016


 svtools/source/control/tabbar.cxx |    8 --------
 1 file changed, 8 deletions(-)

New commits:
commit 6555ec4f881f8e6ea9be19103ff51fb1bd6edb20
Author: Ulrich Gemkow <lobugs at ikr.uni-stuttgart.de>
Date:   Sat Dec 3 22:59:35 2016 +0100

    Remove write-only field
    
    Change-Id: I45502d73939e99cd3d72c9d8aaa17dc820e78207
    Reviewed-on: https://gerrit.libreoffice.org/31590
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index 47cecc3..26cd896 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -61,7 +61,6 @@ private:
 
     bool mbSelected:1;
     bool mbCustomColored:1;
-    bool mbSpecialTab:1;
     bool mbEnabled:1;
 
 public:
@@ -71,7 +70,6 @@ public:
         , mrStyleSettings(rRenderContext.GetSettings().GetStyleSettings())
         , mbSelected(false)
         , mbCustomColored(false)
-        , mbSpecialTab(false)
         , mbEnabled(false)
     {
     }
@@ -181,11 +179,6 @@ public:
         mbCustomColored = bCustomColored;
     }
 
-    void setSpecialTab(bool bSpecialTab)
-    {
-        mbSpecialTab = bSpecialTab;
-    }
-
     void setEnabled(bool bEnabled)
     {
         mbEnabled = bEnabled;
@@ -1212,7 +1205,6 @@ void TabBar::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rect)
             aDrawer.setRect(aRect);
             aDrawer.setSelected(bSelected);
             aDrawer.setCustomColored(bCustomBgColor);
-            aDrawer.setSpecialTab(bSpecialTab);
             aDrawer.setEnabled(true);
             aDrawer.setCustomColor(pItem->maTabBgColor);
             aDrawer.drawTab();


More information about the Libreoffice-commits mailing list