diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-01-10 21:29:12 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-01-10 21:29:12 +0100 |
commit | e9624f00e1c125860fa63ef10c7148f1a0b84cbb (patch) | |
tree | 3d91dc07cc614be1b3a16ebc190f148b0a075753 /sw/source/ui/inc/navmgr.hxx | |
parent | Repository.mk: some special executable names on WNT (diff) | |
download | core-e9624f00e1c125860fa63ef10c7148f1a0b84cbb.tar.gz core-e9624f00e1c125860fa63ef10c7148f1a0b84cbb.zip |
sw: SwNavigationMgr: style cleanup
Diffstat (limited to 'sw/source/ui/inc/navmgr.hxx')
-rw-r--r-- | sw/source/ui/inc/navmgr.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/ui/inc/navmgr.hxx b/sw/source/ui/inc/navmgr.hxx index 2a86172e6c1b..423c3eb6f6a8 100644 --- a/sw/source/ui/inc/navmgr.hxx +++ b/sw/source/ui/inc/navmgr.hxx @@ -26,8 +26,8 @@ * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable * instead of those above. */ -#ifndef _NAVMGR_HXX -#define _NAVMGR_HXX +#ifndef SW_NAVMGR_HXX +#define SW_NAVMGR_HXX #include "swtypes.hxx" #include "pam.hxx" @@ -36,7 +36,7 @@ class SwWrtShell; struct SwPosition; -class SW_DLLPUBLIC SwNavigationMgr +class SwNavigationMgr { private: /* @@ -50,15 +50,15 @@ private: * (e.g. click a link, or double click an entry from the navigator). * Every use of the back/forward buttons results in moving the stack pointer within the navigation history */ - std::vector<SwPosition> _entries; - std::vector<SwPosition>::size_type _nCurrent; /* Current position within the navigation history */ - SwWrtShell* _pMyShell; /* The active shell within which the navigation occurs */ + std::vector<SwPosition> m_entries; + std::vector<SwPosition>::size_type m_nCurrent; /* Current position within the navigation history */ + SwWrtShell & m_rMyShell; /* The active shell within which the navigation occurs */ void GotoSwPosition(const SwPosition &rPos); public: /* Constructor that initializes the shell to the current shell */ - SwNavigationMgr( SwWrtShell* pShell ); + SwNavigationMgr( SwWrtShell & rShell ); /* Can we go back in the history ? */ sal_Bool backEnabled() ; /* Can we go forward in the history ? */ |