summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/edtwin.hxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-09-07 22:22:47 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-09-08 15:42:58 +0200
commit79f53401c6801e240800fb6e1eaae8f55974f9c6 (patch)
tree4c7a57602aec1dda55a5104be4bd5a5d97064634 /sw/source/ui/inc/edtwin.hxx
parent1291efeee9ee4079e6bb38e0b06e9f73c365c7a0 (diff)
Header/Footer: just don't always drop and create SwHeaderFooterWin
This minimizes the number of creation / deletion of SwHeaderFooterWin objects and simply updates the existing ones.
Diffstat (limited to 'sw/source/ui/inc/edtwin.hxx')
-rw-r--r--sw/source/ui/inc/edtwin.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/ui/inc/edtwin.hxx b/sw/source/ui/inc/edtwin.hxx
index 1c03d77c32dc..142514c655f7 100644
--- a/sw/source/ui/inc/edtwin.hxx
+++ b/sw/source/ui/inc/edtwin.hxx
@@ -312,8 +312,9 @@ public:
void SetUseInputLanguage( sal_Bool bNew );
sal_Bool IsUseInputLanguage() const { return bUseInputLanguage; }
- void AddHeaderFooterControl( const SwPageFrm* pPageFrm, bool bHeader, Point aOffset );
- void ClearHeaderFooterControls( );
+ void SetHeaderFooterControl( const SwPageFrm* pPageFrm, bool bHeader, Point aOffset );
+ void RemoveHeaderFooterControls( const SwPageFrm* pPageFrm );
+ void HideHeaderFooterControls( );
SwEditWin(Window *pParent, SwView &);
virtual ~SwEditWin();