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 /vcl/inc | |
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 'vcl/inc')
-rw-r--r-- | vcl/inc/helpwin.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/impfont.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/listbox.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/printerinfomanager.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/salwtype.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/svdata.hxx | 2 |
6 files changed, 1 insertions, 14 deletions
diff --git a/vcl/inc/helpwin.hxx b/vcl/inc/helpwin.hxx index 765dac0508e5..ee14b5a4eb39 100644 --- a/vcl/inc/helpwin.hxx +++ b/vcl/inc/helpwin.hxx @@ -33,7 +33,6 @@ private: tools::Rectangle maTextRect; // For wrapped text in QuickHelp OUString maHelpText; - OUString maStatusText; Timer maShowTimer; Timer maHideTimer; @@ -62,7 +61,6 @@ public: QuickHelpFlags GetStyle() const { return mnStyle; } // only remember: - void SetStatusText( const OUString& rStatusText ) { maStatusText = rStatusText; } void SetHelpArea( const tools::Rectangle& rRect ) { maHelpArea = rRect; } void ShowHelp( sal_uInt16 nDelayMode ); @@ -72,7 +70,7 @@ public: }; void ImplShowHelpWindow( vcl::Window* pParent, sal_uInt16 nHelpWinStyle, QuickHelpFlags nStyle, - const OUString& rHelpText, const OUString& rStatusText, + const OUString& rHelpText, const Point& rScreenPos, const tools::Rectangle& rHelpArea ); VCL_DLLPUBLIC void ImplDestroyHelpWindow( bool bUpdateHideTime ); void ImplSetHelpWindowPos( vcl::Window* pHelpWindow, sal_uInt16 nHelpWinStyle, QuickHelpFlags nStyle, diff --git a/vcl/inc/impfont.hxx b/vcl/inc/impfont.hxx index b9b8fb4654e4..1405d8da0c29 100644 --- a/vcl/inc/impfont.hxx +++ b/vcl/inc/impfont.hxx @@ -77,7 +77,6 @@ public: void SetQuality( int nQuality ) { mnQuality = nQuality; } void IncreaseQualityBy( int nQualityAmount ) { mnQuality += nQualityAmount; } void DecreaseQualityBy( int nQualityAmount ) { mnQuality -= nQualityAmount; } - void SetMapNames( OUString const & aMapNames ) { maMapNames = aMapNames; } bool operator==( const ImplFont& ) const; @@ -122,7 +121,6 @@ private: Color maFillColor; // compatibility, now on output device // Device dependent variables - OUString maMapNames; bool mbWordLine:1; // TODO: metric data, should be migrated to ImplFontMetric diff --git a/vcl/inc/listbox.hxx b/vcl/inc/listbox.hxx index a13714bf1910..52a9ab98dc47 100644 --- a/vcl/inc/listbox.hxx +++ b/vcl/inc/listbox.hxx @@ -389,7 +389,6 @@ private: bool mbEdgeBlending : 1; Link<ImplListBox*,void> maScrollHdl; // because it is needed by ImplListBoxWindow itself - css::uno::Reference< css::uno::XInterface > mxDNDListenerContainer; protected: virtual void GetFocus() override; @@ -499,7 +498,6 @@ public: /// pb: #106948# explicit mirroring for calc void EnableMirroring() { maLBWindow->EnableMirroring(); } - void SetDropTraget(const css::uno::Reference< css::uno::XInterface >& i_xDNDListenerContainer){ mxDNDListenerContainer= i_xDNDListenerContainer; } }; class ImplListBoxFloatingWindow : public FloatingWindow diff --git a/vcl/inc/printerinfomanager.hxx b/vcl/inc/printerinfomanager.hxx index 2ef705a4cf05..95aebae3d1b8 100644 --- a/vcl/inc/printerinfomanager.hxx +++ b/vcl/inc/printerinfomanager.hxx @@ -92,10 +92,6 @@ protected: // details other config files that have this printer // in case of removal all have to be removed std::unordered_set< OUString > m_aAlternateFiles; - // group in m_aFile containing the printer - // this must be unique over all configuration files - // it usually should be the printer name - OString m_aGroup; // the corresponding info and job data PrinterInfo m_aInfo; }; diff --git a/vcl/inc/salwtype.hxx b/vcl/inc/salwtype.hxx index 342f18d3ec85..4fab141bbca3 100644 --- a/vcl/inc/salwtype.hxx +++ b/vcl/inc/salwtype.hxx @@ -238,7 +238,6 @@ struct SalFrameState struct SalInputContext { rtl::Reference<LogicalFontInstance> mpFont; - LanguageType meLanguage; InputContextFlags mnOptions; }; diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx index 08c1e5a66d77..cb666e718943 100644 --- a/vcl/inc/svdata.hxx +++ b/vcl/inc/svdata.hxx @@ -188,10 +188,8 @@ struct ImplSVGDIData VclPtr<OutputDevice> mpFirstPrnGraphics; // First OutputDevice with a InfoPrinter Graphics VclPtr<OutputDevice> mpLastPrnGraphics; // Last OutputDevice with a InfoPrinter Graphics VclPtr<VirtualDevice> mpFirstVirDev; // First VirtualDevice - VclPtr<VirtualDevice> mpLastVirDev; // Last VirtualDevice OpenGLContext* mpLastContext = nullptr; // Last OpenGLContext VclPtr<Printer> mpFirstPrinter; // First Printer - VclPtr<Printer> mpLastPrinter; // Last Printer std::unique_ptr<ImplPrnQueueList> mpPrinterQueueList; // List of all printer queue std::shared_ptr<PhysicalFontCollection> mxScreenFontList; // Screen-Font-List std::shared_ptr<ImplFontCache> mxScreenFontCache; // Screen-Font-Cache |