diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-09 10:09:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-09 10:10:13 +0200 |
commit | 184a00b96235f6432294ded63ce4a4a318effdb5 (patch) | |
tree | e4ae0e00cb168fa43d280cfb51a50515258b5320 /unotools/source/config/securityoptions.cxx | |
parent | 534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff) |
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'unotools/source/config/securityoptions.cxx')
-rw-r--r-- | unotools/source/config/securityoptions.cxx | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/unotools/source/config/securityoptions.cxx b/unotools/source/config/securityoptions.cxx index 7906ed7cc726..d0bb4a5959c4 100644 --- a/unotools/source/config/securityoptions.cxx +++ b/unotools/source/config/securityoptions.cxx @@ -204,13 +204,14 @@ class SvtSecurityOptions_Impl : public ConfigItem bool m_bROExecutePlugins; bool m_bROBasicMode; public: - bool IsWarningEnabled() const; + bool IsWarningEnabled() const { return m_bWarning;} void SetWarningEnabled( bool bSet ); - bool IsConfirmationEnabled() const; + bool IsConfirmationEnabled() const { return m_bConfirmation;} void SetConfirmationEnabled( bool bSet ); - bool IsExecutePlugins() const; + bool IsExecutePlugins() const { return m_bExecutePlugins;} void SetExecutePlugins( bool bSet ); - EBasicSecurityMode GetBasicMode ( ) const; + // xmlsec05 deprecated + EBasicSecurityMode GetBasicMode ( ) const { return m_eBasicMode;} void SetBasicMode ( EBasicSecurityMode eMode ); }; @@ -1109,13 +1110,6 @@ Mutex& SvtSecurityOptions::GetInitMutex() return theSecurityOptionsMutex::get(); } -// xmlsec05 deprecated - -EBasicSecurityMode SvtSecurityOptions_Impl::GetBasicMode() const -{ - return m_eBasicMode; -} - void SvtSecurityOptions_Impl::SetBasicMode( EBasicSecurityMode eMode ) { DBG_ASSERT(!m_bROBasicMode, "SvtSecurityOptions_Impl::SetBasicMode()\nYou tried to write on a readonly value!\n"); @@ -1126,10 +1120,6 @@ void SvtSecurityOptions_Impl::SetBasicMode( EBasicSecurityMode eMode ) } } -bool SvtSecurityOptions_Impl::IsExecutePlugins() const -{ - return m_bExecutePlugins; -} void SvtSecurityOptions_Impl::SetExecutePlugins( bool bSet ) { @@ -1141,10 +1131,6 @@ void SvtSecurityOptions_Impl::SetExecutePlugins( bool bSet ) } } -bool SvtSecurityOptions_Impl::IsWarningEnabled() const -{ - return m_bWarning; -} void SvtSecurityOptions_Impl::SetWarningEnabled( bool bSet ) { @@ -1156,10 +1142,6 @@ void SvtSecurityOptions_Impl::SetWarningEnabled( bool bSet ) } } -bool SvtSecurityOptions_Impl::IsConfirmationEnabled() const -{ - return m_bConfirmation; -} void SvtSecurityOptions_Impl::SetConfirmationEnabled( bool bSet ) { |