[Libreoffice-commits] core.git: oox/source

Thomas Arnhold thomas at arnhold.org
Mon Oct 7 03:04:56 PDT 2013


 oox/source/drawingml/textcharacterpropertiescontext.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1bbfa2834ee5f6ddefc801c2a63ce3fe9a5c863e
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Mon Oct 7 12:04:25 2013 +0200

    fix build: use rAttribs :)
    
    Change-Id: I383bd331090603aa9a159e41ef26be8d8e1c5ff3

diff --git a/oox/source/drawingml/textcharacterpropertiescontext.cxx b/oox/source/drawingml/textcharacterpropertiescontext.cxx
index a937dba..d077b4d 100644
--- a/oox/source/drawingml/textcharacterpropertiescontext.cxx
+++ b/oox/source/drawingml/textcharacterpropertiescontext.cxx
@@ -52,8 +52,8 @@ TextCharacterPropertiesContext::TextCharacterPropertiesContext(
         mrTextCharacterProperties.moUnderline = rAttribs.getToken( XML_u );
     if ( rAttribs.hasAttribute( XML_strike ) )
         mrTextCharacterProperties.moStrikeout = rAttribs.getToken( XML_strike );
-    if ( aAttribs.hasAttribute( XML_baseline ) )
-        mrTextCharacterProperties.moBaseline = aAttribs.getInteger( XML_baseline );
+    if ( rAttribs.hasAttribute( XML_baseline ) )
+        mrTextCharacterProperties.moBaseline = rAttribs.getInteger( XML_baseline );
 
     if ( rAttribs.hasAttribute( XML_b ) )
         mrTextCharacterProperties.moBold = rAttribs.getBool( XML_b );


More information about the Libreoffice-commits mailing list