diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-05 07:50:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-05 09:48:43 +0200 |
commit | e1261e6ea6e897d38f69c0d250ec34ccf0f6d545 (patch) | |
tree | f6fea1de114f6e81d8e61014a7b366ddedc67b16 /include | |
parent | e5d943d984bb0918f971eec45f45384cc0c72b67 (diff) |
loplugin:finalclasses in vcl
Change-Id: I7de9cd6c5569217aa8d379c6d112cd1874bca8e2
Reviewed-on: https://gerrit.libreoffice.org/43151
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/graphicfilter.hxx | 3 | ||||
-rw-r--r-- | include/vcl/i18nhelp.hxx | 3 | ||||
-rw-r--r-- | include/vcl/layout.hxx | 3 | ||||
-rw-r--r-- | include/vcl/mnemonic.hxx | 2 | ||||
-rw-r--r-- | include/vcl/morebtn.hxx | 2 | ||||
-rw-r--r-- | include/vcl/texteng.hxx | 3 | ||||
-rw-r--r-- | include/vcl/textview.hxx | 2 |
7 files changed, 2 insertions, 16 deletions
diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx index 133a16486834..fd6c3db22dc3 100644 --- a/include/vcl/graphicfilter.hxx +++ b/include/vcl/graphicfilter.hxx @@ -304,11 +304,10 @@ public: ErrCode compressAsPNG(const Graphic& rGraphic, SvStream& rOutputStream); -protected: +private: OUString aFilterPath; FilterConfigCache* pConfig; -private: void ImplInit(); ErrCode ImplSetError( ErrCode nError, const SvStream* pStm = nullptr ); ErrCode ImpTestOrFindFormat( const OUString& rPath, SvStream& rStream, sal_uInt16& rFormat ); diff --git a/include/vcl/i18nhelp.hxx b/include/vcl/i18nhelp.hxx index 7e22bd9571b3..b3a14255ca06 100644 --- a/include/vcl/i18nhelp.hxx +++ b/include/vcl/i18nhelp.hxx @@ -47,7 +47,6 @@ namespace vcl class VCL_DLLPUBLIC I18nHelper { -private: ::osl::Mutex maMutex; LanguageTag maLanguageTag; css::uno::Reference< css::uno::XComponentContext > m_xContext; @@ -59,8 +58,6 @@ private: SAL_DLLPRIVATE void ImplDestroyWrappers(); -protected: - SAL_DLLPRIVATE utl::TransliterationWrapper& ImplGetTransliterationWrapper() const; SAL_DLLPRIVATE LocaleDataWrapper& ImplGetLocaleDataWrapper() const; diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index 2c0f00fe7a4b..f52b95e3a9ec 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -488,13 +488,12 @@ public: //set to true to disable the built-in scrolling callbacks to allow the user //to override it void setUserManagedScrolling(bool bUserManagedScrolling) { m_bUserManagedScrolling = bUserManagedScrolling;} -protected: +private: virtual Size calculateRequisition() const override; virtual void setAllocation(const Size &rAllocation) override; DECL_LINK(ScrollBarHdl, ScrollBar*, void); void InitScrollBars(const Size &rRequest); virtual bool EventNotify(NotifyEvent& rNEvt) override; -private: bool m_bUserManagedScrolling; VclPtr<ScrollBar> m_pVScroll; VclPtr<ScrollBar> m_pHScroll; diff --git a/include/vcl/mnemonic.hxx b/include/vcl/mnemonic.hxx index f531ab66d348..f6d1dc73b6b7 100644 --- a/include/vcl/mnemonic.hxx +++ b/include/vcl/mnemonic.hxx @@ -51,12 +51,10 @@ class VCL_DLLPUBLIC MnemonicGenerator { -private: // 0 == Mnemonic; >0 == count of characters sal_uInt8 maMnemonics[MAX_MNEMONICS]; css::uno::Reference< css::i18n::XCharacterClassification > mxCharClass; -protected: SAL_DLLPRIVATE static sal_uInt16 ImplGetMnemonicIndex( sal_Unicode c ); SAL_DLLPRIVATE static sal_Unicode ImplFindMnemonic( const OUString& rKey ); diff --git a/include/vcl/morebtn.hxx b/include/vcl/morebtn.hxx index a18e341fccd1..1ee17a348380 100644 --- a/include/vcl/morebtn.hxx +++ b/include/vcl/morebtn.hxx @@ -30,7 +30,6 @@ struct ImplMoreButtonData; class VCL_DLLPUBLIC MoreButton : public PushButton { -private: ImplMoreButtonData* mpMBData; bool mbState; @@ -38,7 +37,6 @@ private: MoreButton& operator=( const MoreButton & ) = delete; SAL_DLLPRIVATE void ShowState(); -protected: using Window::ImplInit; SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle ); diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx index 3abf26abf172..1596e0094c7b 100644 --- a/include/vcl/texteng.hxx +++ b/include/vcl/texteng.hxx @@ -93,7 +93,6 @@ class VCL_DLLPUBLIC TextEngine : public SfxBroadcaster friend class TextUndoInsertChars; friend class TextUndoRemoveChars; -private: TextDoc* mpDoc; TEParaPortions* mpTEParaPortions; VclPtr<OutputDevice> mpRefDev; @@ -137,8 +136,6 @@ private: bool mbRightToLeft : 1; bool mbHasMultiLineParas : 1; -protected: - void CursorMoved( sal_uInt32 nNode ); void TextModified(); diff --git a/include/vcl/textview.hxx b/include/vcl/textview.hxx index 9688d9544782..c0cb1de16b96 100644 --- a/include/vcl/textview.hxx +++ b/include/vcl/textview.hxx @@ -84,13 +84,11 @@ class VCL_DLLPUBLIC TextView : public vcl::unohelper::DragAndDropClient friend class TextUndoManager; friend class TextSelFunctionSet; -private: std::unique_ptr<ImpTextView> mpImpl; TextView( const TextView& ) = delete; TextView& operator=( const TextView& ) = delete; -protected: bool ImpIndentBlock( bool bRight ); void ShowSelection(); void HideSelection(); |