[Libreoffice-commits] core.git: include/vcl vcl/source

Stephan Bergmann sbergman at redhat.com
Sun Mar 12 10:20:23 UTC 2017


 include/vcl/toolbox.hxx       |    1 -
 vcl/source/window/toolbox.cxx |    1 -
 2 files changed, 2 deletions(-)

New commits:
commit 6bf42c1cf0a4597fd2ef8034d6a5a4c5e1dd2ce8
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun Mar 12 11:19:38 2017 +0100

    ToolBox::mnFocusPos is unused
    
    ...ever since b8f7708176f56d6093405faf6f112004db359be9 "#96972# improved key and
    focus handling"
    
    Change-Id: I236143997f6e90eaa8cc28e10c17ff5a647da48c

diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index 52c3bc5..d9583e8 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -114,7 +114,6 @@ private:
     long                mnActivateCount;
     long                mnImagesRotationAngle;
     sal_uInt16          mnLastFocusItemId;
-    sal_uInt16          mnFocusPos;
     sal_uInt16          mnOutStyle;
     sal_uInt16          mnHighItemId;
     sal_uInt16          mnCurItemId;
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index af83d66..f398969 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -1361,7 +1361,6 @@ void ToolBox::ImplInitToolBoxData()
     mnCurItemId       = 0;
     mnDownItemId      = 0;
     mnCurPos          = TOOLBOX_ITEM_NOTFOUND;
-    mnFocusPos        = TOOLBOX_ITEM_NOTFOUND;    // current position during keyboard access
     mnLines           = 1;
     mnCurLine         = 1;
     mnCurLines        = 1;


More information about the Libreoffice-commits mailing list