diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 10:52:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 11:23:05 +0100 |
commit | f9556fc409cb87097aec5c46332e6eac2d9c66a2 (patch) | |
tree | 6598d59182d0e605d91324444d0e3ed425c82524 /include/svtools | |
parent | b1facbf894a9870f501049409effa937a4ff3488 (diff) |
loplugin:unusedfields in svtools
Change-Id: Ie8b34530e6113ae382500c153f204b1cf1957f27
Reviewed-on: https://gerrit.libreoffice.org/68194
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/brwbox.hxx | 6 | ||||
-rw-r--r-- | include/svtools/ctrlbox.hxx | 13 |
2 files changed, 0 insertions, 19 deletions
diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx index eecf189cca84..068fe89399c4 100644 --- a/include/svtools/brwbox.hxx +++ b/include/svtools/brwbox.hxx @@ -206,7 +206,6 @@ private: bool bHLines; // draw lines between rows bool bVLines; // draw lines between columns - Color aGridLineColor; // color for lines, default dark grey bool bBootstrapped; // child windows resized etc. long nTopRow; // no. of first visible row (0...) long nCurRow; // no. of row with cursor @@ -218,8 +217,6 @@ private: bool bRowDividerDrag; bool bHit; bool mbInteractiveRowHeight; - Point a1stPoint; - Point a2ndPoint; long nResizeX; // mouse position at start of resizing long nMinResizeX; // never drag more left @@ -429,9 +426,6 @@ public: void SetTitleFont( const vcl::Font& rNewFont ) { Control::SetFont( rNewFont ); } - // color for line painting - void SetGridLineColor(const Color& rColor) {aGridLineColor = rColor;} - // inserting, changing, removing and freezing of columns void InsertHandleColumn( sal_uLong nWidth ); void InsertDataColumn( sal_uInt16 nItemId, const OUString& rText, diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx index c8ea9320c504..f94d4462e434 100644 --- a/include/svtools/ctrlbox.hxx +++ b/include/svtools/ctrlbox.hxx @@ -366,26 +366,14 @@ private: class SVT_DLLPUBLIC FontStyleBox : public ComboBox { - OUString aLastStyle; - Size aOptimalSize; -private: - using ComboBox::SetText; public: FontStyleBox( vcl::Window* pParent, WinBits nBits ); - virtual void Select() override; - virtual void LoseFocus() override; virtual void Modify() override; virtual Size GetOptimalSize() const override; - void SetText( const OUString& rText ) override - { - aLastStyle = rText; - ComboBox::SetText( rText ); - } - private: FontStyleBox( const FontStyleBox& ) = delete; FontStyleBox& operator =( const FontStyleBox& ) = delete; @@ -415,7 +403,6 @@ private: class SVT_DLLPUBLIC FontSizeBox : public MetricBox { - FontMetric aFontMetric; bool bStdSize:1; using Window::ImplInit; |