summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-07-31 10:19:33 +0200
committerNoel Grandin <noel@peralex.com>2014-07-31 11:38:48 +0200
commit7e0e581c162a8836034a47e84d28a638e9aa9744 (patch)
tree93c30692cb61c6d5f0731dd080015ffa66cef2fa /svx
parent65803ad94c8652edb84f82202717b1b206407a65 (diff)
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
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodraw/unoprov.cxx2
1 files changed, 1 insertions, 1 deletions
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 )
{