summaryrefslogtreecommitdiff
path: root/oox/source/helper/graphichelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/helper/graphichelper.cxx')
-rw-r--r--oox/source/helper/graphichelper.cxx26
1 files changed, 0 insertions, 26 deletions
diff --git a/oox/source/helper/graphichelper.cxx b/oox/source/helper/graphichelper.cxx
index aa7e6f08e7ad..e331ff9ee060 100644
--- a/oox/source/helper/graphichelper.cxx
+++ b/oox/source/helper/graphichelper.cxx
@@ -216,32 +216,6 @@ Size GraphicHelper::convertHmmToScreenPixel( const Size& rHmm ) const
static_cast< sal_Int32 >( convertHmmToScreenPixelY( rHmm.Height ) + 0.5 ) );
}
-Point GraphicHelper::convertAppFontToHmm( const Point& rAppFont ) const
-{
- if( mxUnitConversion.is() ) try
- {
- Point aPixel = mxUnitConversion->convertPointToPixel( rAppFont, ::com::sun::star::util::MeasureUnit::APPFONT );
- return convertScreenPixelToHmm( aPixel );
- }
- catch( Exception& )
- {
- }
- return Point( 0, 0 );
-}
-
-Size GraphicHelper::convertAppFontToHmm( const Size& rAppFont ) const
-{
- if( mxUnitConversion.is() ) try
- {
- Size aPixel = mxUnitConversion->convertSizeToPixel( rAppFont, ::com::sun::star::util::MeasureUnit::APPFONT );
- return convertScreenPixelToHmm( aPixel );
- }
- catch( Exception& )
- {
- }
- return Size( 0, 0 );
-}
-
Point GraphicHelper::convertHmmToAppFont( const Point& rHmm ) const
{
if( mxUnitConversion.is() ) try