diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 11:24:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 11:24:39 +0000 |
commit | 41a0d24763953c06d4859cac2109bc4dee77e55e (patch) | |
tree | c492b55805f05ed5e357bc58b1a37215ee0b3193 /package | |
parent | aa771abe7e8dc62258cbee5e8de65072b2198dce (diff) |
cppcheck: methods can be const
Diffstat (limited to 'package')
-rw-r--r-- | package/source/xstor/owriteablestream.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/package/source/xstor/owriteablestream.hxx b/package/source/xstor/owriteablestream.hxx index d3c15f00d44c..6bc90f7f3a3e 100644 --- a/package/source/xstor/owriteablestream.hxx +++ b/package/source/xstor/owriteablestream.hxx @@ -187,11 +187,11 @@ public: void AddLog( const ::rtl::OUString& aMessage ); - sal_Bool UsesCommonPass_Impl() { return m_bUseCommonPass; } - sal_Bool HasTempFile_Impl() { return ( m_aTempURL.getLength() != 0 ); } + sal_Bool UsesCommonPass_Impl() const { return m_bUseCommonPass; } + sal_Bool HasTempFile_Impl() const { return ( m_aTempURL.getLength() != 0 ); } sal_Bool IsTransacted(); - sal_Bool HasWriteOwner_Impl() { return ( m_pAntiImpl != NULL ); } + sal_Bool HasWriteOwner_Impl() const { return ( m_pAntiImpl != NULL ); } void InsertIntoPackageFolder( const ::rtl::OUString& aName, @@ -199,9 +199,9 @@ public: void SetToBeCommited() { m_bFlushed = sal_True; } - sal_Bool HasCachedPassword() { return m_bHasCachedPassword; } - ::rtl::OUString GetCachedPassword() { return m_aPass; } - sal_Bool IsModified() { return m_bHasDataToFlush || m_bFlushed; } + sal_Bool HasCachedPassword() const { return m_bHasCachedPassword; } + ::rtl::OUString GetCachedPassword() const { return m_aPass; } + sal_Bool IsModified() const { return m_bHasDataToFlush || m_bFlushed; } sal_Bool IsEncrypted(); void SetDecrypted(); |