summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/baside2b.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/baside2b.cxx')
-rw-r--r--basctl/source/basicide/baside2b.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 99208550315b..7ddaa8a81875 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -66,7 +66,7 @@ long const nBasePad = 2;
long const nCursorPad = 5;
long nVirtToolBoxHeight; // inited in WatchWindow, used in Stackwindow
-long nHeaderBarHeight;
+static const long nHeaderBarHeight = 16;
// Returns pBase converted to SbxVariable if valid and is not an SbxMethod.
SbxVariable* IsSbxVariable (SbxBase* pBase)
@@ -1581,8 +1581,6 @@ WatchWindow::WatchWindow (Layout* pParent)
if ( nRWBtnSize > nVirtToolBoxHeight )
nVirtToolBoxHeight = nRWBtnSize;
- nHeaderBarHeight = 16;
-
aTreeListBox->SetHelpId(HID_BASICIDE_WATCHWINDOW_LIST);
aTreeListBox->EnableInplaceEditing(true);
aTreeListBox->SetSelectHdl( LINK( this, WatchWindow, TreeListHdl ) );