summaryrefslogtreecommitdiff
path: root/vcl/source/window/toolbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/toolbox.cxx')
-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;