diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-21 15:30:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 07:38:35 +0100 |
commit | de9acc1dd0b72d1af92ac4de97840d98d4977820 (patch) | |
tree | 232f6ead4601fb3b62cd01e2c6020b37f87f4222 /include/vcl | |
parent | 5923df69b46295c5686e5c91ea2a8fc7b46d8357 (diff) |
loplugin:unusedfields in vcl
maStatusText in HelpTextWindow is dead since
commit bd3ea40ed49074c4fa4439de7b5dea4fc3161880
Date: Fri Jan 21 14:48:58 2011 +0200
Remove ShowHelpStatusText and HideHelpStatusText and associated
cruft
Change-Id: I7a74e2a1b909a479f9338bd4da5fad06ccc25283
Reviewed-on: https://gerrit.libreoffice.org/68153
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/calendar.hxx | 4 | ||||
-rw-r--r-- | include/vcl/dockwin.hxx | 2 | ||||
-rw-r--r-- | include/vcl/field.hxx | 1 | ||||
-rw-r--r-- | include/vcl/font.hxx | 1 | ||||
-rw-r--r-- | include/vcl/help.hxx | 8 | ||||
-rw-r--r-- | include/vcl/longcurr.hxx | 2 | ||||
-rw-r--r-- | include/vcl/menu.hxx | 1 | ||||
-rw-r--r-- | include/vcl/ppdparser.hxx | 1 | ||||
-rw-r--r-- | include/vcl/print.hxx | 1 | ||||
-rw-r--r-- | include/vcl/salnativewidgets.hxx | 4 | ||||
-rw-r--r-- | include/vcl/vclmedit.hxx | 3 |
11 files changed, 3 insertions, 25 deletions
diff --git a/include/vcl/calendar.hxx b/include/vcl/calendar.hxx index fe4f7ea7c0eb..338392453aec 100644 --- a/include/vcl/calendar.hxx +++ b/include/vcl/calendar.hxx @@ -138,7 +138,6 @@ class VCL_DLLPUBLIC Calendar final : public Control Date maOldFirstDate; Date maCurDate; Date maOldCurDate; - Date maAnchorDate; Color maSelColor; Color maOtherColor; sal_Int32 mnDayCount; @@ -184,8 +183,7 @@ class VCL_DLLPUBLIC Calendar final : public Control VCL_DLLPRIVATE void ImplDraw(vcl::RenderContext& rRenderContext); VCL_DLLPRIVATE void ImplUpdateDate( const Date& rDate ); VCL_DLLPRIVATE void ImplUpdateSelection( IntDateSet* pOld ); - VCL_DLLPRIVATE void ImplMouseSelect( const Date& rDate, sal_uInt16 nHitTest, - bool bMove ); + VCL_DLLPRIVATE void ImplMouseSelect( const Date& rDate, sal_uInt16 nHitTest ); VCL_DLLPRIVATE void ImplUpdate( bool bCalcNew = false ); using Window::ImplScroll; VCL_DLLPRIVATE void ImplScroll( bool bPrev ); diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx index 5d88e9de65f1..2cf7ea7324ed 100644 --- a/include/vcl/dockwin.hxx +++ b/include/vcl/dockwin.hxx @@ -85,7 +85,6 @@ private: Point maFloatPos; Point maDockPos; Point maMouseOff; - Point maMouseStart; Size maRollUpOutSize; Size maMinOutSize; Size maMaxOutSize; @@ -217,7 +216,6 @@ private: Point maFloatPos; Point maDockPos; Point maMouseOff; - Point maMouseStart; Size maRollUpOutSize; Size maMinOutSize; long mnTrackX; diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx index aeb31c85664c..75f8240520bc 100644 --- a/include/vcl/field.hxx +++ b/include/vcl/field.hxx @@ -89,7 +89,6 @@ class VCL_DLLPUBLIC PatternFormatter : public FormatterBase { private: OString m_aEditMask; - OUString maFieldString; OUString maLiteralMask; bool mbSameMask; bool mbInPattKeyInput; diff --git a/include/vcl/font.hxx b/include/vcl/font.hxx index 7c9fc436acd1..34ccf2ab5dd4 100644 --- a/include/vcl/font.hxx +++ b/include/vcl/font.hxx @@ -91,7 +91,6 @@ public: void SetQuality(int); void IncreaseQualityBy(int); void DecreaseQualityBy(int); - void SetMapNames(OUString const &); // setting the color on the font is obsolete, the only remaining // valid use is for keeping backward compatibility with old MetaFiles diff --git a/include/vcl/help.hxx b/include/vcl/help.hxx index b6cb583604d5..83b2bdbe569f 100644 --- a/include/vcl/help.hxx +++ b/include/vcl/help.hxx @@ -93,13 +93,7 @@ public: static void ShowQuickHelp( vcl::Window* pParent, const tools::Rectangle& rScreenRect, const OUString& rHelpText, - const OUString& rLongHelpText, - QuickHelpFlags nStyle ); - static void ShowQuickHelp( vcl::Window* pParent, - const tools::Rectangle& rScreenRect, - const OUString& rHelpText, - QuickHelpFlags nStyle = QuickHelpFlags::NONE ) - { Help::ShowQuickHelp( pParent, rScreenRect, rHelpText, OUString(), nStyle ); } + QuickHelpFlags nStyle = QuickHelpFlags::NONE ); static void HideBalloonAndQuickHelp(); diff --git a/include/vcl/longcurr.hxx b/include/vcl/longcurr.hxx index 3dff9278362c..11f4329c8b9b 100644 --- a/include/vcl/longcurr.hxx +++ b/include/vcl/longcurr.hxx @@ -62,8 +62,6 @@ private: friend bool ImplLongCurrencyReformat( const OUString&, BigInt const &, BigInt const &, sal_uInt16, const LocaleDataWrapper&, OUString&, LongCurrencyFormatter const & ); SAL_DLLPRIVATE void ImpInit(); - BigInt mnFieldValue; - BigInt mnCorrectedValue; OUString maCurrencySymbol; sal_uInt16 mnDecimalDigits; bool mbThousandSep; diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx index f3fb3e7c8056..a82af83f155e 100644 --- a/include/vcl/menu.hxx +++ b/include/vcl/menu.hxx @@ -453,7 +453,6 @@ public: { sal_uInt16 nId; // Id of the button bool bHighlight; // highlight on/off - VclPtr<MenuBar> pMenuBar; // menubar the button belongs to }; // add an arbitrary button to the menubar (will appear next to closer) // passed link will be call with a MenuBarButtonCallbackArg on press diff --git a/include/vcl/ppdparser.hxx b/include/vcl/ppdparser.hxx index 7ea91547232c..19ff9cd7cb76 100644 --- a/include/vcl/ppdparser.hxx +++ b/include/vcl/ppdparser.hxx @@ -67,7 +67,6 @@ class VCL_DLLPUBLIC PPDKey value_type m_aOrderedValues; const PPDValue* m_pDefaultValue; bool m_bQueryValue; - PPDValue m_aQueryValue; OUString m_aGroup; public: diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index df9602dd4cd4..be077d8017f9 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -185,7 +185,6 @@ private: OUString maPrinterName; OUString maDriver; OUString maPrintFile; - OUString maJobName; JobSetup maJobSetup; Point maPageOffset; Size maPaperSize; diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx index 0d90027e8fb6..03d9a0eee00e 100644 --- a/include/vcl/salnativewidgets.hxx +++ b/include/vcl/salnativewidgets.hxx @@ -301,15 +301,13 @@ class VCL_DLLPUBLIC ScrollbarValue : public ImplControlValue ControlState mnButton1State; ControlState mnButton2State; ControlState mnThumbState; - ControlState mnPage1State; - ControlState mnPage2State; ScrollbarValue() : ImplControlValue( ControlType::Scrollbar, 0 ) { mnMin = 0; mnMax = 0; mnCur = 0; mnVisibleSize = 0; mnButton1State = ControlState::NONE; mnButton2State = ControlState::NONE; - mnThumbState = ControlState::NONE; mnPage1State = ControlState::NONE; mnPage2State = ControlState::NONE; + mnThumbState = ControlState::NONE; }; virtual ~ScrollbarValue() override; virtual ScrollbarValue* clone() const override; diff --git a/include/vcl/vclmedit.hxx b/include/vcl/vclmedit.hxx index bcf294c87e46..1cd49adde204 100644 --- a/include/vcl/vclmedit.hxx +++ b/include/vcl/vclmedit.hxx @@ -79,7 +79,6 @@ class VCL_DLLPUBLIC VclMultiLineEdit : public Edit private: std::unique_ptr<ImpVclMEdit> pImpVclMEdit; - OUString aSaveValue; Link<Edit&,void> aModifyHdlLink; std::unique_ptr<Timer> pUpdateDataTimer; @@ -150,8 +149,6 @@ public: void SetRightToLeft( bool bRightToLeft ); - void SaveValue() { aSaveValue = GetText(); } - void SetModifyHdl( const Link<Edit&,void>& rLink ) override { aModifyHdlLink = rLink; } const Link<Edit&,void>& GetModifyHdl() const override { return aModifyHdlLink; } |