diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/viewopt.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/config/viewopt.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/viewopt.hxx b/sw/inc/viewopt.hxx index c1ae8daa452f..f073c185fc6d 100644 --- a/sw/inc/viewopt.hxx +++ b/sw/inc/viewopt.hxx @@ -684,7 +684,7 @@ public: void SetDefaultAnchor( const sal_Int32 aFlag ) { m_nDefaultAnchor = aFlag; } - RndStdIds GetDefaultAnchorType(); + RndStdIds GetDefaultAnchorType() const; }; inline bool SwViewOption::operator==( const SwViewOption &rOpt ) const diff --git a/sw/source/uibase/config/viewopt.cxx b/sw/source/uibase/config/viewopt.cxx index 304d5393ac0f..77e65e1f6604 100644 --- a/sw/source/uibase/config/viewopt.cxx +++ b/sw/source/uibase/config/viewopt.cxx @@ -374,7 +374,7 @@ sal_uInt16 GetHtmlMode(const SwDocShell* pShell) return nRet; } -RndStdIds SwViewOption::GetDefaultAnchorType() +RndStdIds SwViewOption::GetDefaultAnchorType() const { switch ( m_nDefaultAnchor ) { |