From 3a6a7b876010db041fa641b6703e26027a22e511 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 9 Mar 2011 09:10:23 +0000 Subject: cppcheck: this method can be const --- sfx2/source/doc/doctemplates.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2') 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(); -- cgit