summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2017-05-08 00:17:45 +0200
committerMichael Stahl <mstahl@redhat.com>2017-05-11 16:33:36 +0200
commit06fb2eb7a0a6b73b29e0ca6bb670a8105301198c (patch)
treea68c83802b00fb0a3459005035e6a001dfa5362e /svx
parente6b7caa702917bd7cf13248cc9b394518106446d (diff)
Delete code commented out since 2006
See commit 8b77e2790c206439762cdde3343f64e87bfe0d16 Change-Id: I5f9d4a566377f8e7a59f12b138cc612e710efbdf Reviewed-on: https://gerrit.libreoffice.org/37356 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodraw/unoprov.cxx29
1 files changed, 0 insertions, 29 deletions
diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx
index 24ba390d0309..f1ef61726f50 100644
--- a/svx/source/unodraw/unoprov.cxx
+++ b/svx/source/unodraw/unoprov.cxx
@@ -961,35 +961,6 @@ const SvxItemPropertySet* SvxUnoPropertyMapProvider::GetPropertySet(sal_uInt16 n
return aSetArr[nPropertyId];
}
-
-/** maps the API constant MeasureUnit to a vcl MapUnit enum.
- Returns false if conversion is not supported.
-
- @cl: for warnings01 I found out that this method never worked so I thin
- it is not used at all
-sal_Bool SvxMeasureUnitToMapUnit( const short eApi, int& eVcl ) throw()
-{
- switch( eVcl )
- {
- case util::MeasureUnit::MM_100TH: eVcl = MapUnit::Map100thMM; break;
- case util::MeasureUnit::MM_10TH: eVcl = MapUnit::Map10thMM; break;
- case util::MeasureUnit::MM: eVcl = MapUnit::MapMM; break;
- case util::MeasureUnit::CM: eVcl = MapUnit::MapCM; break;
- case util::MeasureUnit::INCH_1000TH: eVcl = MapUnit::Map1000thInch; break;
- case util::MeasureUnit::INCH_100TH: eVcl = MapUnit::Map100thInch; break;
- case util::MeasureUnit::INCH_10TH: eVcl = MapUnit::Map10thInch; break;
- case util::MeasureUnit::INCH: eVcl = MapUnit::MapInch; break;
- case util::MeasureUnit::POINT: eVcl = MapUnit::MapPoint; break;
- case util::MeasureUnit::TWIP: eVcl = MapUnit::MapTwip; break;
- case util::MeasureUnit::PERCENT: eVcl = MapUnit::MapRelative; break;
- default:
- return false;
- }
-
- return true;
-}
-*/
-
/** maps the vcl MapUnit enum to a API constant MeasureUnit.
Returns false if conversion is not supported.
*/