From fe03a0cc68d8b1ba8b8d1e2eb539532efd240381 Mon Sep 17 00:00:00 2001 From: Joachim Trémouroux Date: Fri, 10 Dec 2010 20:32:10 +0000 Subject: cppcheck: remove warnings --- sw/source/ui/vba/vbalisthelper.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/ui/vba') diff --git a/sw/source/ui/vba/vbalisthelper.hxx b/sw/source/ui/vba/vbalisthelper.hxx index 1fd590db907d..0e862fa0dd2c 100644 --- a/sw/source/ui/vba/vbalisthelper.hxx +++ b/sw/source/ui/vba/vbalisthelper.hxx @@ -66,7 +66,7 @@ public: SwVbaListHelper( const css::uno::Reference< css::text::XTextDocument >& xTextDoc, sal_Int32 nGalleryType, sal_Int32 nTemplateType ) throw( css::uno::RuntimeException ); sal_Int32 getGalleryType() const { return mnGalleryType; } - css::uno::Reference< css::container::XIndexReplace > getNumberingRules() { return mxNumberingRules; } + css::uno::Reference< css::container::XIndexReplace > getNumberingRules() const { return mxNumberingRules; } css::uno::Any getPropertyValueWithNameAndLevel( sal_Int32 nLevel, const rtl::OUString& sName ) throw( css::uno::RuntimeException ); void setPropertyValueWithNameAndLevel( sal_Int32 nLevel, const rtl::OUString& sName, const css::uno::Any& aValue ) throw( css::uno::RuntimeException ); -- cgit