[Libreoffice-commits] .: xmloff/source

Tor Lillqvist tml at kemper.freedesktop.org
Tue Oct 4 05:35:06 PDT 2011


 xmloff/source/style/bordrhdl.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit ba6eedee31055a73e66c59b3ddecaa50559463c4
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Tue Oct 4 15:33:30 2011 +0300

    WaE: 'rUnitConverter' : unreferenced formal parameter

diff --git a/xmloff/source/style/bordrhdl.cxx b/xmloff/source/style/bordrhdl.cxx
index 230f108..9181827 100644
--- a/xmloff/source/style/bordrhdl.cxx
+++ b/xmloff/source/style/bordrhdl.cxx
@@ -304,7 +304,7 @@ sal_Bool XMLBorderHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue
     return sal_True;
 }
 
-sal_Bool XMLBorderHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const
+sal_Bool XMLBorderHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& /* rUnitConverter */ ) const
 {
     OUStringBuffer aOut;
 
@@ -320,7 +320,7 @@ sal_Bool XMLBorderHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue
     }
     else
     {
-        rUnitConverter.convertMeasure( aOut, nWidth,
+        SvXMLUnitConverter::convertMeasure( aOut, nWidth,
                MAP_100TH_MM, MAP_POINT );
 
         aOut.append( sal_Unicode( ' ' ) );
@@ -363,7 +363,7 @@ sal_Bool XMLBorderHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue
 
         aOut.append( sal_Unicode( ' ' ) );
 
-        rUnitConverter.convertColor( aOut, aBorderLine.Color );
+        SvXMLUnitConverter::convertColor( aOut, aBorderLine.Color );
     }
 
     rStrExpValue = aOut.makeStringAndClear();


More information about the Libreoffice-commits mailing list