summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorPeter Burow <pb@openoffice.org>2001-05-08 12:10:04 +0000
committerPeter Burow <pb@openoffice.org>2001-05-08 12:10:04 +0000
commitc268491a5a1915b1f9b7b96d10980100cbba1eec (patch)
tree6ee2500201d8007c6321bd24e6a5f58470c47aa4 /svtools
parent5f5a507cd9e4869be91e1abc6985c80995cf974e (diff)
fix: CommandAbortedException included
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/fileview.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 3aea63527473..7fd1b3d29b3f 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fileview.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: pb $ $Date: 2001-05-08 04:27:46 $
+ * last change: $Author: pb $ $Date: 2001-05-08 13:10:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -100,6 +100,9 @@
#ifndef _COM_SUN_STAR_CONTAINER_XCHILD_HPP_
#include <com/sun/star/container/XChild.hpp>
#endif
+#ifndef _COM_SUN_STAR_UCB_COMMANDABORTEDEXCEPTION_HPP_
+#include <com/sun/star/ucb/CommandAbortedException.hpp>
+#endif
#include <tools/urlobj.hxx>
#include <tools/datetime.hxx>
@@ -380,7 +383,7 @@ ViewTabListBox_Impl::ViewTabListBox_Impl( Window* pParent ) :
{
Size aBoxSize = pParent->GetSizePixel();
mpHeaderBar = new HeaderBar( pParent, WB_BUTTONSTYLE | WB_BOTTOMBORDER );
- mpHeaderBar->SetPosSizePixel( Point( 0, 0 ), Size( aBoxSize.Width(), 16 ) );
+ mpHeaderBar->SetPosSizePixel( Point( 0, 0 ), mpHeaderBar->CalcWindowSizePixel() );
HeaderBarItemBits nBits = ( HIB_LEFT | HIB_VCENTER );
mpHeaderBar->InsertItem( 1, String( SvtResId( STR_SVT_FILEVIEW_COLUMN_TITLE ) ), 220, nBits );