summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2010-10-13 13:14:57 +0100
committerNoel Power <noel.power@novell.com>2010-10-13 13:14:57 +0100
commit44b6cad4026d7c48325a43c970d05493c4113e1b (patch)
tree30a4b54e129ee7686913d567ae39e843d6d58c68 /svtools
parent8c6ba71655f67845e11c5a7566a45118151f55c9 (diff)
parente10b5bef6746338777cb350a87cf7aa5890c4809 (diff)
Merge commit 'origin/master'
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/tabbar.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index a902b02f6028..8219cec6a836 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -410,7 +410,6 @@ void TabBar::ImplInit( WinBits nWinStyle )
mbSelColor = FALSE;
mbSelTextColor = FALSE;
mbMirrored = FALSE;
- mbHasInsertTab = (nWinStyle & WB_INSERTTAB);
if ( nWinStyle & WB_3DTAB )
mnOffY++;
@@ -723,6 +722,8 @@ void TabBar::ImplInitControls()
DELETEZ( mpFirstBtn );
DELETEZ( mpLastBtn );
}
+
+ mbHasInsertTab = (mnWinStyle & WB_INSERTTAB);
}
// -----------------------------------------------------------------------