summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/wrtsh.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/wrtsh.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/wrtsh.hxx')
-rw-r--r--sw/source/ui/inc/wrtsh.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/ui/inc/wrtsh.hxx b/sw/source/ui/inc/wrtsh.hxx
index e98afbd33333..735848f73626 100644
--- a/sw/source/ui/inc/wrtsh.hxx
+++ b/sw/source/ui/inc/wrtsh.hxx
@@ -485,6 +485,8 @@ typedef sal_Bool (SwWrtShell:: *FNSimpleMove)();
sal_Bool GotoFld( const SwFmtFld& rFld );
const SwRedline* GotoRedline( sal_uInt16 nArrPos, sal_Bool bSelect = sal_False);
+ void ChangeHeaderOrFooter(const String& rStyleName, sal_Bool bHeader, sal_Bool bOn, sal_Bool bShowWarning);
+
private:
SW_DLLPRIVATE void OpenMark();