summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-09 09:10:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-09 09:10:23 +0000
commit3a6a7b876010db041fa641b6703e26027a22e511 (patch)
treeaa9896a84396cdc821add3340a15865b17562486 /sfx2
parent26c6a74395274635d4face26f8b1cb1927b94c98 (diff)
cppcheck: this method can be const
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/doctemplates.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx
index 9734ac87edd1..6ab877dfc6a9 100644
--- a/sfx2/source/doc/doctemplates.cxx
+++ b/sfx2/source/doc/doctemplates.cxx
@@ -278,7 +278,7 @@ public:
~SfxDocTplService_Impl();
sal_Bool init() { if ( !mbIsInitialized ) init_Impl(); return mbIsInitialized; }
- Content getContent() { return maRootContent; }
+ Content getContent() const { return maRootContent; }
void setLocale( const Locale & rLocale );
Locale getLocale();