summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/HeaderFooterWin.hxx
diff options
context:
space:
mode:
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);