summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-20 13:39:38 +0200
committerTomaž Vajngerl <quikee@gmail.com>2018-04-21 04:12:04 +0200
commit94acabe8d0cb555e76635c4bceeb48a14bd16a2b (patch)
tree5342dac802e5ae009c12734bb2d23e482a6166f1 /vcl
parent9374352f242d2dcfd39a3a6f0504efbaf1abb2dc (diff)
loplugin:unusedmethods
Change-Id: I9dc6e81149eae3ba2284fa7fe608dd9252503dce Reviewed-on: https://gerrit.libreoffice.org/53197 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/BitmapFastScaleFilter.hxx5
-rw-r--r--vcl/source/control/slider.cxx9
-rw-r--r--vcl/source/gdi/bitmapex.cxx5
3 files changed, 0 insertions, 19 deletions
diff --git a/vcl/inc/BitmapFastScaleFilter.hxx b/vcl/inc/BitmapFastScaleFilter.hxx
index c1ee11bf1a84..bc0ddfc7718f 100644
--- a/vcl/inc/BitmapFastScaleFilter.hxx
+++ b/vcl/inc/BitmapFastScaleFilter.hxx
@@ -23,11 +23,6 @@ public:
{
}
- explicit BitmapFastScaleFilter(Size aSize)
- : maSize(aSize)
- {
- }
-
virtual BitmapEx execute(BitmapEx const& rBitmapEx) override;
private:
diff --git a/vcl/source/control/slider.cxx b/vcl/source/control/slider.cxx
index 6682ceb99d66..ae98f27cec0b 100644
--- a/vcl/source/control/slider.cxx
+++ b/vcl/source/control/slider.cxx
@@ -812,15 +812,6 @@ void Slider::Resize()
Invalidate(InvalidateFlags::NoChildren | InvalidateFlags::NoErase);
}
-void Slider::SetLinkedField(VclPtr<NumericField> const & pField)
-{
- if (mpLinkedField)
- mpLinkedField->SetModifyHdl(Link<Edit&,void>());
- mpLinkedField = pField;
- if (mpLinkedField)
- mpLinkedField->SetModifyHdl(LINK(this, Slider, LinkedFieldModifyHdl));
-}
-
IMPL_LINK_NOARG(Slider, LinkedFieldModifyHdl, Edit&, void)
{
if (mpLinkedField)
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index 2f6f9bfb5870..35ae111aa955 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -583,11 +583,6 @@ bool BitmapEx::Erase( const Color& rFillColor )
return bRet;
}
-bool BitmapEx::Dither()
-{
- return !!maBitmap && maBitmap.Dither();
-}
-
void BitmapEx::Replace( const Color& rSearchColor, const Color& rReplaceColor )
{
if (!!maBitmap)