From 7cca2c7fb328e64f1779993b60809eff6974b970 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 16 Nov 2016 08:59:52 +0200 Subject: new loplugin finalprotected look for final classes, and make sure they don't have protected members Change-Id: I1fa810659bba02b61a5160dbfd8e24185ec9abf4 Reviewed-on: https://gerrit.libreoffice.org/30895 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- framework/inc/xml/imagesdocumenthandler.hxx | 2 +- framework/inc/xml/menudocumenthandler.hxx | 2 +- framework/inc/xml/statusbardocumenthandler.hxx | 2 +- framework/inc/xml/toolboxdocumenthandler.hxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'framework') diff --git a/framework/inc/xml/imagesdocumenthandler.hxx b/framework/inc/xml/imagesdocumenthandler.hxx index a3002c02bdbe..7ce55021020a 100644 --- a/framework/inc/xml/imagesdocumenthandler.hxx +++ b/framework/inc/xml/imagesdocumenthandler.hxx @@ -143,7 +143,7 @@ class OWriteImagesDocumentHandler final ( css::xml::sax::SAXException, css::uno::RuntimeException ); - protected: + private: void WriteImageList( const ImageListItemDescriptor* ) throw ( css::xml::sax::SAXException, css::uno::RuntimeException ); diff --git a/framework/inc/xml/menudocumenthandler.hxx b/framework/inc/xml/menudocumenthandler.hxx index d81a00e1bdcb..1c94bc58b566 100644 --- a/framework/inc/xml/menudocumenthandler.hxx +++ b/framework/inc/xml/menudocumenthandler.hxx @@ -261,7 +261,7 @@ class FWE_DLLPUBLIC OWriteMenuDocumentHandler final void WriteMenuDocument() throw ( css::xml::sax::SAXException, css::uno::RuntimeException ); - protected: + private: void WriteMenu( const css::uno::Reference< css::container::XIndexAccess >& rSubMenuContainer ) throw ( css::xml::sax::SAXException, css::uno::RuntimeException ); diff --git a/framework/inc/xml/statusbardocumenthandler.hxx b/framework/inc/xml/statusbardocumenthandler.hxx index 9627f34adc5f..8a2945a8c2ea 100644 --- a/framework/inc/xml/statusbardocumenthandler.hxx +++ b/framework/inc/xml/statusbardocumenthandler.hxx @@ -129,7 +129,7 @@ class FWE_DLLPUBLIC OWriteStatusBarDocumentHandler final ( css::xml::sax::SAXException, css::uno::RuntimeException ); - protected: + private: void WriteStatusBarItem( const OUString& rCommandURL, const OUString& rHelpURL, diff --git a/framework/inc/xml/toolboxdocumenthandler.hxx b/framework/inc/xml/toolboxdocumenthandler.hxx index 7b7363baf0f3..bf57db4be94f 100644 --- a/framework/inc/xml/toolboxdocumenthandler.hxx +++ b/framework/inc/xml/toolboxdocumenthandler.hxx @@ -148,7 +148,7 @@ class FWE_DLLPUBLIC OWriteToolBoxDocumentHandler final ( css::xml::sax::SAXException, css::uno::RuntimeException ); - protected: + private: void WriteToolBoxItem( const OUString& aCommandURL, const OUString& aLabel, const OUString& aHelpURL, sal_Int16 nStyle, bool bVisible ) throw ( css::xml::sax::SAXException, -- cgit