path: root/sw/source/ui/inc/HeaderFooterWin.hxx
diff options
authorCédric Bosdonnat <>2011-09-07 16:02:01 +0200
committerCédric Bosdonnat <>2011-09-08 15:42:57 +0200
commit4115a81bea06eb9cb3ea7b6d8819a35a8a8de52b (patch)
tree210f029c275a9c945ce2dc49f5edfbf418d14729 /sw/source/ui/inc/HeaderFooterWin.hxx
parent2fe52eded60106062dd5736885c5537155cb03f7 (diff)
Header/Footer: Use a Window with WB_DIALOGCONTROL to fix loads of bugs
Bugs fixed by this change: * The Header/footer window is now moving with the parent window * The Window rectangle is adapted to the parent area and doesn't go over the scrollbar * The windows are shown properly in all cases
Diffstat (limited to 'sw/source/ui/inc/HeaderFooterWin.hxx')
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/inc/HeaderFooterWin.hxx b/sw/source/ui/inc/HeaderFooterWin.hxx
index e35bc9a42802..42b80a1c28ed 100644
--- a/sw/source/ui/inc/HeaderFooterWin.hxx
+++ b/sw/source/ui/inc/HeaderFooterWin.hxx
@@ -30,7 +30,7 @@
#include <pagedesc.hxx>
-#include <vcl/floatwin.hxx>
+#include <vcl/window.hxx>
class SwHeaderFooterButton;
@@ -39,7 +39,7 @@ class SwHeaderFooterButton;
This control is showing the header / footer style name and provides
a few useful actions to the user.
-class SwHeaderFooterWin : public FloatingWindow
+class SwHeaderFooterWin : public Window
SwEditWin* m_pEditWin;
rtl::OUString m_sLabel;