Kaydet (Commit) 56c003b4 authored tarafından Michael Stahl's avatar Michael Stahl

sw: prefix members of SwWebDocShell

Change-Id: I1400d1bc452d81e1a7596e50d8f9552f026eea08
üst b9782a2b
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
#include "swdllapi.h" #include "swdllapi.h"
#include "docsh.hxx" #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: public:
// But implement yourself. // But implement yourself.
...@@ -46,9 +46,8 @@ public: ...@@ -46,9 +46,8 @@ public:
OUString * pUserName, OUString * pUserName,
sal_Int32 nFileFormat, sal_Int32 nFileFormat,
bool bTemplate = false ) const SAL_OVERRIDE; bool bTemplate = false ) const SAL_OVERRIDE;
sal_uInt16 GetSourcePara()const sal_uInt16 GetSourcePara()const { return m_nSourcePara; }
{return nSourcePara;} void SetSourcePara(sal_uInt16 nSet) { m_nSourcePara = nSet; }
void SetSourcePara(sal_uInt16 nSet) {nSourcePara = nSet;}
}; };
#endif #endif
......
...@@ -51,9 +51,9 @@ TYPEINIT1(SwWebDocShell, SwDocShell); ...@@ -51,9 +51,9 @@ TYPEINIT1(SwWebDocShell, SwDocShell);
SFX_IMPL_OBJECTFACTORY(SwWebDocShell, SvGlobalName(SO3_SWWEB_CLASSID), SFXOBJECTSHELL_STD_NORMAL|SFXOBJECTSHELL_HASMENU, "swriter/web" ) SFX_IMPL_OBJECTFACTORY(SwWebDocShell, SvGlobalName(SO3_SWWEB_CLASSID), SFXOBJECTSHELL_STD_NORMAL|SFXOBJECTSHELL_HASMENU, "swriter/web" )
SwWebDocShell::SwWebDocShell(SfxObjectCreateMode eMode ) : SwWebDocShell::SwWebDocShell(SfxObjectCreateMode const eMode)
SwDocShell(eMode), : SwDocShell(eMode)
nSourcePara(0) , m_nSourcePara(0)
{ {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment