diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-29 12:25:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-02 08:47:48 +0200 |
commit | d98f1e4e0373782ad71b945dcc92c1c3d6dcf6c8 (patch) | |
tree | a39deddf841d478d7baa5e96829891447383a597 /include/svx | |
parent | 683fa7b68673c8c6563ee493b8b5682bb6fd1b8a (diff) |
loplugin:unusedfields improve checking for write-only fields
we trade off a little accuracy for finding more possible write-only
fields.
Change-Id: I9f7edba99481fe4ded0a9d8e45e911b0ee99d269
Reviewed-on: https://gerrit.libreoffice.org/56715
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/colorbox.hxx | 2 | ||||
-rw-r--r-- | include/svx/fntctrl.hxx | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/include/svx/colorbox.hxx b/include/svx/colorbox.hxx index cb7c5e820128..6915f851e0a5 100644 --- a/include/svx/colorbox.hxx +++ b/include/svx/colorbox.hxx @@ -102,8 +102,6 @@ private: Color m_aAutoDisplayColor; Color m_aSaveColor; NamedColor m_aSelectedColor; - sal_uInt16 m_nSlotId; - bool m_bShowNoneButton; std::shared_ptr<PaletteManager> m_xPaletteManager; BorderColorStatus m_aBorderColorStatus; diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx index 52db1503ba3e..e3c6b47276f5 100644 --- a/include/svx/fntctrl.hxx +++ b/include/svx/fntctrl.hxx @@ -90,7 +90,6 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC FontPrevWindow : public weld::CustomWidgetCo { private: std::unique_ptr<FontPrevWin_Impl> pImpl; - OUString maText; bool mbResetForeground : 1; bool mbResetBackground : 1; @@ -112,7 +111,6 @@ public: SvxFont& GetCJKFont(); SvxFont& GetCTLFont(); void SetBackColor( const Color& rColor ); - const OUString& GetText() const { return maText; } void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& ) override; bool IsTwoLines() const; |