summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-26 14:24:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-27 08:20:14 +0200
commit1cf751c787f135597b4151c5a7d9c4afe69ede9c (patch)
tree0e6d96f8262daef5e1a2527f4e268bbaab725634 /include
parentcca4d9ab39499562614f0f778a2fffe5a40fde88 (diff)
make WB_LINESPACING a bool field on Toolbox
Change-Id: If9332993a4917b00c230d2a3693daf8c5d3f5559 Reviewed-on: https://gerrit.libreoffice.org/53521 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/tools/wintypes.hxx1
-rw-r--r--include/vcl/toolbox.hxx5
2 files changed, 4 insertions, 2 deletions
diff --git a/include/tools/wintypes.hxx b/include/tools/wintypes.hxx
index f80334966b76..b9e7d007fc55 100644
--- a/include/tools/wintypes.hxx
+++ b/include/tools/wintypes.hxx
@@ -208,7 +208,6 @@ WinBits const WB_SIMPLEMODE = 0x20000000;
WinBits const WB_SCALE = 0x08000000;
// Window-Bits for ToolBox
-WinBits const WB_LINESPACING = 0x01000000;
WinBits const WB_SCROLL = 0x02000000;
// Window-Bits for SplitWindow
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index 2018be7986d4..74db39f4af55 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -147,7 +147,8 @@ private:
mbDragging:1,
mbIsKeyEvent:1,
mbChangingHighlight:1,
- mbImagesMirrored:1;
+ mbImagesMirrored:1,
+ mbLineSpacing:1;
WindowAlign meAlign;
WindowAlign meDockAlign;
ButtonType meButtonType;
@@ -518,6 +519,8 @@ public:
void statusChanged(const css::frame::FeatureStateEvent& rEvent);
void SetToolBoxTextPosition( ToolBoxTextPosition ePosition );
+
+ void SetLineSpacing(bool b) { mbLineSpacing = b; }
};
inline void ToolBox::CheckItem( sal_uInt16 nItemId, bool bCheck )