summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/HeaderFooterWin.hxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-09-13 11:32:11 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-09-13 14:11:04 +0200
commitc0251bf65d1e972be395514724a413995ef53af8 (patch)
treebe915401e23164c2754389ade67fda4255784d94 /sw/source/ui/inc/HeaderFooterWin.hxx
parentc900069dee03c5ebf631a5862b94cd2962cbaea0 (diff)
Header/Footer: shared code for the insertion/removal
Moved the ChangedHeaderOrFooter method from SwTextShell to SwWrtShell for it to be accessible from the SwHeaderFooterWin objects... and that method didn't really need to be in the root shell. That fixed a few quirks from the copied code in SwHeaderFooterWin.
Diffstat (limited to 'sw/source/ui/inc/HeaderFooterWin.hxx')
-rw-r--r--sw/source/ui/inc/HeaderFooterWin.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/ui/inc/HeaderFooterWin.hxx b/sw/source/ui/inc/HeaderFooterWin.hxx
index f805be2c53f5..50af8fd4acf4 100644
--- a/sw/source/ui/inc/HeaderFooterWin.hxx
+++ b/sw/source/ui/inc/HeaderFooterWin.hxx
@@ -31,7 +31,6 @@
#include <pagedesc.hxx>
#include <vcl/menubtn.hxx>
-#include <vcl/window.hxx>
/** Class for the header and footer separator control window.
@@ -61,7 +60,6 @@ public:
bool IsEmptyHeaderFooter( );
const SwPageFrm* GetPageFrame( ) { return m_pPageFrm; };
- void ChangeHeaderOrFooter( bool bAdd );
void ExecuteCommand(sal_uInt16 nSlot);
void SetReadonly( bool bReadonly );