summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-05-09 12:40:23 +0400
committerMichael Meeks <michael.meeks@suse.com>2012-05-09 11:09:44 +0100
commitf17ceb9b6d6dc16a2b276a6e81aa674d87d137e1 (patch)
treef3f8fa56d9307061cf00d18a3e735de01745f2ea
parent4a2a500391734f02f9e27c06b5971e670411bdff (diff)
fdo#39106: properly draw separators in vertical toolbars
Change-Id: If99fdb01a472e488ab6d84b09f1d1db04ba5c000 Signed-off-by: Michael Meeks <michael.meeks@suse.com>
-rw-r--r--vcl/source/window/toolbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 0ae1ccb5a765..9da3a7adb588 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -3239,7 +3239,7 @@ void ToolBox::ImplDrawSeparator( sal_uInt16 nPos, Rectangle rRect )
bool bNativeOk = false;
ImplToolItem* pItem = &mpData->m_aItems[nPos];
- if( IsNativeControlSupported( CTRL_TOOLBAR, PART_SEPARATOR ) )
+ if( IsHorizontal() && IsNativeControlSupported( CTRL_TOOLBAR, PART_SEPARATOR ) )
{
ImplControlValue aControlValue;
ControlState nState = 0;