diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-08 10:25:58 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-10 08:21:20 +0000 |
commit | 001e694ecd21095b6fcfb5632ace63d8e0c2b7f8 (patch) | |
tree | 6a78b42161a396b3a63e55a4e5c2fa45d76311c2 /include/vcl/fixed.hxx | |
parent | f06f06d50393184f1ca2e27db6167b08edc26cb3 (diff) |
loplugin:unusedmethods vcl(part2)
Change-Id: I12356b3fdce68282a30cae2b270b02e46558860a
Reviewed-on: https://gerrit.libreoffice.org/16847
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/fixed.hxx')
-rw-r--r-- | include/vcl/fixed.hxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/vcl/fixed.hxx b/include/vcl/fixed.hxx index cfc759007663..f24a0d5432c0 100644 --- a/include/vcl/fixed.hxx +++ b/include/vcl/fixed.hxx @@ -71,17 +71,15 @@ public: virtual void StateChanged( StateChangedType nType ) SAL_OVERRIDE; virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; - void setMaxWidthChars(sal_Int32 nWidth); - sal_Int32 getMaxWidthChars() const { return m_nMaxWidthChars; } - void setMinWidthChars(sal_Int32 nWidth); - sal_Int32 getMinWidthChars() const { return m_nMinWidthChars; } + void setMaxWidthChars(sal_Int32 nWidth); + void setMinWidthChars(sal_Int32 nWidth); static Size CalcMinimumTextSize(Control const* pControl, long nMaxWidth = 0x7fffffff); static Size getTextDimensions(Control const *pControl, const OUString &rTxt, long nMaxWidth); Size CalcMinimumSize(long nMaxWidth = 0x7fffffff) const; virtual Size GetOptimalSize() const SAL_OVERRIDE; - virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE; - void set_mnemonic_widget(vcl::Window *pWindow); - vcl::Window* get_mnemonic_widget() const { return m_pMnemonicWindow; } + virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE; + void set_mnemonic_widget(vcl::Window *pWindow); + vcl::Window* get_mnemonic_widget() const { return m_pMnemonicWindow; } }; class VCL_DLLPUBLIC SelectableFixedText : public Edit @@ -154,7 +152,6 @@ public: void SetBitmap( const Bitmap& rBitmap ); using OutputDevice::GetBitmap; - const Bitmap& GetBitmap() const { return maBitmap; } }; |