summaryrefslogtreecommitdiff
path: root/vcl/source/control/edit.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-09-01 12:57:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-09-02 08:28:07 +0200
commitee438031e6c0a1765cd607486d3ec65749d1dd62 (patch)
tree5f73e68e0e8a505affb6f8d6713b8749299d13ea /vcl/source/control/edit.cxx
parentd8759f225c5246465194b71b1407c84904752cc9 (diff)
loplugin:unusedmethods
Change-Id: I523a42b721056f17a04870229834b0f2db00ff39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101836 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/control/edit.cxx')
-rw-r--r--vcl/source/control/edit.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index b14789aaf133..c8087261ebd2 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -2669,14 +2669,6 @@ Size Edit::CalcMinimumSize() const
return CalcMinimumSizeForText(GetText());
}
-Size Edit::GetMinimumEditSize()
-{
- vcl::Window* pDefWin = ImplGetDefaultWindow();
- ScopedVclPtrInstance< Edit > aEdit( pDefWin, WB_BORDER );
- Size aSize( aEdit->CalcMinimumSize() );
- return aSize;
-}
-
Size Edit::GetOptimalSize() const
{
return CalcMinimumSize();