summaryrefslogtreecommitdiff
path: root/basctl/source
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2004-01-06 16:14:02 +0000
committerVladimir Glazounov <vg@openoffice.org>2004-01-06 16:14:02 +0000
commit54d74748cbd44680bc83fb522d313215a2e92a27 (patch)
tree7640525883560b5d9a972f8df525c898c5adda25 /basctl/source
parent2028180d3cd92fa886b20940c096cd67b7463aaa (diff)
INTEGRATION: CWS vclcleanup02 (1.6.126); FILE MERGED
2003/12/04 16:18:03 mt 1.6.126.1: #i23061# Removed/Changed old StarView stuff
Diffstat (limited to 'basctl/source')
-rw-r--r--basctl/source/basicide/tbxctl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/basctl/source/basicide/tbxctl.cxx b/basctl/source/basicide/tbxctl.cxx
index eef838ebe4f5..19954bfcf321 100644
--- a/basctl/source/basicide/tbxctl.cxx
+++ b/basctl/source/basicide/tbxctl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tbxctl.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: tbe $ $Date: 2002-04-18 12:50:02 $
+ * last change: $Author: vg $ $Date: 2004-01-06 17:14:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -89,7 +89,7 @@ IMPL_LINK( PopupWindowTbx, SelectHdl, void*, EMPTYARG )
return 0;
}
-PopupWindowTbx::PopupWindowTbx( USHORT nId, ToolBoxAlign eAlign,
+PopupWindowTbx::PopupWindowTbx( USHORT nId, WindowAlign eAlign,
ResId aRIdWin, ResId aRIdTbx,
SfxBindings& rBind ) :
SfxPopupWindow ( nId, aRIdWin, rBind ),
@@ -100,7 +100,7 @@ PopupWindowTbx::PopupWindowTbx( USHORT nId, ToolBoxAlign eAlign,
ToolBox& rBox = aTbx.GetToolBox();
rBox.SetAlign( eAlign );
- if( eAlign == BOXALIGN_LEFT )
+ if( eAlign == WINDOWALIGN_LEFT )
SetText( String() );
Size aSize = aTbx.CalcWindowSizePixel();
@@ -236,7 +236,7 @@ SfxPopupWindow* TbxControls::CreatePopupWindow()
PopupWindowTbx *pWin =
new PopupWindowTbx( GetId(),
GetToolBox().IsHorizontal() ?
- BOXALIGN_LEFT : BOXALIGN_TOP,
+ WINDOWALIGN_LEFT : WINDOWALIGN_TOP,
IDEResId( RID_TBXCONTROLS ),
IDEResId( RID_TOOLBOX ),
GetBindings() );