From 7e0e581c162a8836034a47e84d28a638e9aa9744 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 31 Jul 2014 10:19:33 +0200 Subject: cleanup usage of MapUnit enum some places were using the wrong enum constant, and some places were unnnecessarily converting to sal_Int16 Change-Id: I754993533c840cd33106820d99af2dc951f26a80 --- svx/source/unodraw/unoprov.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source') diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx index 7358264c4ec9..8d0cc2b2aa03 100644 --- a/svx/source/unodraw/unoprov.cxx +++ b/svx/source/unodraw/unoprov.cxx @@ -1008,7 +1008,7 @@ sal_Bool SvxMeasureUnitToMapUnit( const short eApi, int& eVcl ) throw() /** maps the vcl MapUnit enum to a API constant MeasureUnit. Returns false if conversion is not supported. */ -bool SvxMapUnitToMeasureUnit( const short eVcl, short& eApi ) throw() +bool SvxMapUnitToMeasureUnit( const MapUnit eVcl, short& eApi ) throw() { switch( eVcl ) { -- cgit