summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-22 10:03:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-23 12:24:01 +0200
commit1aa37aa6bee19099b57555a6d839992b054aa405 (patch)
tree1cb89df2b195a5bbce1a4ba0bdf18068b0249dc3 /vcl
parent8b1501d80dc9d3f42c351c6e026fa737e116cae5 (diff)
loplugin:unusedmethods
Change-Id: I9dac9260af9955dc4a66b34c33265c6e36094322 Reviewed-on: https://gerrit.libreoffice.org/60911 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/field.cxx21
-rw-r--r--vcl/source/gdi/print3.cxx12
2 files changed, 0 insertions, 33 deletions
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 161ea49276e3..d287257b9436 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -1774,27 +1774,6 @@ void MetricBox::InsertValue( sal_Int64 nValue, FieldUnit eInUnit, sal_Int32 nPos
ComboBox::InsertEntry( CreateFieldText( nValue ), nPos );
}
-sal_Int64 MetricBox::GetValue( sal_Int32 nPos ) const
-{
- double nValue = 0;
- TextToValue( ComboBox::GetEntry( nPos ), nValue, mnBaseValue,
- GetDecimalDigits(), ImplGetLocaleDataWrapper(), meUnit );
-
- // convert to previously configured units
- sal_Int64 nRetValue = MetricField::ConvertValue( static_cast<sal_Int64>(nValue), mnBaseValue, GetDecimalDigits(),
- meUnit, FUNIT_NONE );
-
- return nRetValue;
-}
-
-sal_Int32 MetricBox::GetValuePos( sal_Int64 nValue, FieldUnit eInUnit ) const
-{
- // convert to previously configured units
- nValue = MetricField::ConvertValue( nValue, mnBaseValue, GetDecimalDigits(),
- eInUnit, meUnit );
- return ComboBox::GetEntryPos( CreateFieldText( nValue ) );
-}
-
static bool ImplCurrencyProcessKeyInput( const KeyEvent& rKEvt,
bool bUseThousandSep, const LocaleDataWrapper& rWrapper )
{
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index 86511e325c9f..ab7cef6d6d75 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -1598,18 +1598,6 @@ bool PrinterController::isUIChoiceEnabled( const OUString& i_rProperty, sal_Int3
return bEnabled;
}
-OUString PrinterController::getDependency( const OUString& i_rProperty ) const
-{
- OUString aDependency;
-
- vcl::ImplPrinterControllerData::ControlDependencyMap::const_iterator it =
- mpImplData->maControlDependencies.find( i_rProperty );
- if( it != mpImplData->maControlDependencies.end() )
- aDependency = it->second.maDependsOnName;
-
- return aDependency;
-}
-
OUString PrinterController::makeEnabled( const OUString& i_rProperty )
{
OUString aDependency;