summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-03-30 22:21:02 +0200
committerMichael Stahl <mstahl@redhat.com>2015-03-31 20:08:36 +0200
commit56c003b4f3b3ed77dc6608584fd50fbda901d1b4 (patch)
tree9be4d186241425f4e658381c63831e8f4107b363
parentb9782a2b59428e1bc398b5f3a895785a072c93b6 (diff)
sw: prefix members of SwWebDocShell
Change-Id: I1400d1bc452d81e1a7596e50d8f9552f026eea08
-rw-r--r--sw/inc/wdocsh.hxx9
-rw-r--r--sw/source/uibase/web/wdocsh.cxx6
2 files changed, 7 insertions, 8 deletions
diff --git a/sw/inc/wdocsh.hxx b/sw/inc/wdocsh.hxx
index df2a8f77e616..21683ec8b89f 100644
--- a/sw/inc/wdocsh.hxx
+++ b/sw/inc/wdocsh.hxx
@@ -21,9 +21,9 @@
#include "swdllapi.h"
#include "docsh.hxx"
-class SW_DLLPUBLIC SwWebDocShell: public SwDocShell
+class SW_DLLPUBLIC SwWebDocShell : public SwDocShell
{
- sal_uInt16 nSourcePara; // Active line in source view.
+ sal_uInt16 m_nSourcePara; ///< Active line in source view.
public:
// But implement yourself.
@@ -46,9 +46,8 @@ public:
OUString * pUserName,
sal_Int32 nFileFormat,
bool bTemplate = false ) const SAL_OVERRIDE;
- sal_uInt16 GetSourcePara()const
- {return nSourcePara;}
- void SetSourcePara(sal_uInt16 nSet) {nSourcePara = nSet;}
+ sal_uInt16 GetSourcePara()const { return m_nSourcePara; }
+ void SetSourcePara(sal_uInt16 nSet) { m_nSourcePara = nSet; }
};
#endif
diff --git a/sw/source/uibase/web/wdocsh.cxx b/sw/source/uibase/web/wdocsh.cxx
index 66577679f04e..b4e7a36466b9 100644
--- a/sw/source/uibase/web/wdocsh.cxx
+++ b/sw/source/uibase/web/wdocsh.cxx
@@ -51,9 +51,9 @@ TYPEINIT1(SwWebDocShell, SwDocShell);
SFX_IMPL_OBJECTFACTORY(SwWebDocShell, SvGlobalName(SO3_SWWEB_CLASSID), SFXOBJECTSHELL_STD_NORMAL|SFXOBJECTSHELL_HASMENU, "swriter/web" )
-SwWebDocShell::SwWebDocShell(SfxObjectCreateMode eMode ) :
- SwDocShell(eMode),
- nSourcePara(0)
+SwWebDocShell::SwWebDocShell(SfxObjectCreateMode const eMode)
+ : SwDocShell(eMode)
+ , m_nSourcePara(0)
{
}