summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-16 08:59:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-16 09:10:16 +0000
commit7cca2c7fb328e64f1779993b60809eff6974b970 (patch)
tree1e9463b671572a0ea0d04f443033b9eaf8933bcc /framework
parent3c73942c8c4b97ee9ede65890e1b1db3cac753c5 (diff)
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 <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/xml/imagesdocumenthandler.hxx2
-rw-r--r--framework/inc/xml/menudocumenthandler.hxx2
-rw-r--r--framework/inc/xml/statusbardocumenthandler.hxx2
-rw-r--r--framework/inc/xml/toolboxdocumenthandler.hxx2
4 files changed, 4 insertions, 4 deletions
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,