summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/HeaderFooterWin.hxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-09-21 14:29:30 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-09-21 17:44:51 +0200
commit1ca08ac546c24f12644e387418d88dba7c1c4236 (patch)
tree1ab9a833bff58576da5e09aceda589570ee0bd93 /sw/source/ui/inc/HeaderFooterWin.hxx
parentaaa34f74a639b8cf54d27d52b292f4d0ed0f1231 (diff)
Header/Footer: Extracted a few common things to a SwFrameControl class
Diffstat (limited to 'sw/source/ui/inc/HeaderFooterWin.hxx')
-rw-r--r--sw/source/ui/inc/HeaderFooterWin.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/ui/inc/HeaderFooterWin.hxx b/sw/source/ui/inc/HeaderFooterWin.hxx
index c59211da6558..bbb93b209172 100644
--- a/sw/source/ui/inc/HeaderFooterWin.hxx
+++ b/sw/source/ui/inc/HeaderFooterWin.hxx
@@ -28,6 +28,7 @@
#ifndef _HEADERFOOTERWINDOW_HXX
#define _HEADERFOOTERWINDOW_HXX
+#include <FrameControl.hxx>
#include <pagedesc.hxx>
#include <vcl/menubtn.hxx>
@@ -37,11 +38,9 @@
This control is showing the header / footer style name and provides
a few useful actions to the user.
*/
-class SwHeaderFooterWin : public MenuButton
+class SwHeaderFooterWin : public MenuButton, public SwFrameControl
{
- SwEditWin* m_pEditWin;
rtl::OUString m_sLabel;
- const SwPageFrm* m_pPageFrm;
bool m_bIsHeader;
bool m_bReadonly;
PopupMenu* m_pPopupMenu;
@@ -61,7 +60,7 @@ public:
bool IsHeader() { return m_bIsHeader; };
bool IsEmptyHeaderFooter( );
- const SwPageFrm* GetPageFrame( ) { return m_pPageFrm; };
+ const SwPageFrm* GetPageFrame( );
void ExecuteCommand(sal_uInt16 nSlot);