diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-26 12:36:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-26 13:25:23 +0200 |
commit | dbd20b5c793cab388f01b7172df91429b6324418 (patch) | |
tree | a7fe846272ae0250669f8b0cd7d107cf19ecd5a3 /vcl | |
parent | e6628f7a77b4707fb6ed8bf94282eebc0221e0e3 (diff) |
loplugin:unusedmethods
Change-Id: If2e1241bbe8a3d17859e3ca076b0f55f25c48ea5
Reviewed-on: https://gerrit.libreoffice.org/36983
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/implimagetree.hxx | 5 | ||||
-rw-r--r-- | vcl/source/control/field.cxx | 8 | ||||
-rw-r--r-- | vcl/source/image/ImplImageTree.cxx | 6 |
3 files changed, 0 insertions, 19 deletions
diff --git a/vcl/inc/implimagetree.hxx b/vcl/inc/implimagetree.hxx index 1a4d4c624918..796bb22d0d30 100644 --- a/vcl/inc/implimagetree.hxx +++ b/vcl/inc/implimagetree.hxx @@ -72,11 +72,6 @@ public: BitmapEx & bitmap, bool localized, const ImageLoadFlags eFlags = ImageLoadFlags::NONE); - bool loadDefaultImage( - OUString const & style, - BitmapEx& bitmap, - const ImageLoadFlags eFlags = ImageLoadFlags::NONE); - /** a crude form of life cycle control (called from DeInitVCL; otherwise, * if the ImplImageTree singleton were destroyed during exit that would * be too late for the destructors of the bitmaps in maIconCache)*/ diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index b1543c557615..4b1a66a5cf3b 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -443,14 +443,6 @@ const LanguageTag& FormatterBase::GetLanguageTag() const return mpLocaleDataWrapper->getLanguageTag(); } -const AllSettings& FormatterBase::GetFieldSettings() const -{ - if ( mpField ) - return mpField->GetSettings(); - else - return Application::GetSettings(); -} - void FormatterBase::ImplSetText( const OUString& rText, Selection* pNewSelection ) { if ( mpField ) diff --git a/vcl/source/image/ImplImageTree.cxx b/vcl/source/image/ImplImageTree.cxx index b13fa620b528..508be2cb53f6 100644 --- a/vcl/source/image/ImplImageTree.cxx +++ b/vcl/source/image/ImplImageTree.cxx @@ -289,12 +289,6 @@ bool ImplImageTree::loadImage(OUString const & name, OUString const & style, Bit return false; } -bool ImplImageTree::loadDefaultImage(OUString const & style, BitmapEx& bitmap, const ImageLoadFlags eFlags) -{ - ImageRequestParameters aParameters("res/grafikde.png", style, bitmap, false, eFlags); - return doLoadImage(aParameters); -} - OUString createVariant(ImageRequestParameters& rParameters) { bool bConvertToDarkTheme = rParameters.convertToDarkTheme(); |