diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 11:26:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 16:01:06 +0000 |
commit | 0cca9165eaf1cd4b559ad2928a46f16fac307a9f (patch) | |
tree | c1d6b0871c7206a08a536762c0993960090e1529 | |
parent | feb744e8719e911324cc10f07fb0c37acc28fe70 (diff) |
cppcheck: methods can be const
-rw-r--r-- | sfx2/source/doc/doctemplates.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx index ea9f3c9905..ffcfe78a65 100644 --- a/sfx2/source/doc/doctemplates.cxx +++ b/sfx2/source/doc/doctemplates.cxx @@ -375,8 +375,8 @@ public: void setHierarchyURL( const OUString& rURL ) { maHierarchyURL = rURL; } void setTargetURL( const OUString& rURL ) { maTargetURL = rURL; } - sal_Bool getInUse() { return mbInUse; } - sal_Bool getInHierarchy() { return mbInHierarchy; } + sal_Bool getInUse() const { return mbInUse; } + sal_Bool getInHierarchy() const { return mbInHierarchy; } const OUString& getHierarchyURL() const { return maHierarchyURL; } const OUString& getTargetURL() const { return maTargetURL; } const OUString& getTitle() const { return maTitle; } |