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

Miklos Vajna vmiklos at collabora.co.uk
Sat Feb 8 14:54:29 PST 2014


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

New commits:
commit c96d1ddf579fdce1e0afa8b7804d081e631deb22
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Sat Feb 8 23:45:30 2014 +0100

    oox: whitespace fix in WpsContext
    
    Just make sure that these two new lines match the style of the
    rest of the file, which was so far consistent.
    
    Change-Id: I6113753157fec7fd0e0dc988885b36b477c301b2

diff --git a/oox/source/shape/WpsContext.cxx b/oox/source/shape/WpsContext.cxx
index 7d37fc1..c30992d 100644
--- a/oox/source/shape/WpsContext.cxx
+++ b/oox/source/shape/WpsContext.cxx
@@ -89,9 +89,9 @@ oox::core::ContextHandlerRef WpsContext::onCreateContext(sal_Int32 nElementToken
                     xPropertySet->setPropertyValue(aProps[i], uno::makeAny(*oInsets[i]));
 
             // Handle text vertical adjustment inside a text frame
-            if( rAttribs.hasAttribute( XML_anchor ) )
+            if (rAttribs.hasAttribute(XML_anchor))
             {
-                drawing::TextVerticalAdjust eAdjust = drawingml::GetTextVerticalAdjust( rAttribs.getToken( XML_anchor, XML_t ) );
+                drawing::TextVerticalAdjust eAdjust = drawingml::GetTextVerticalAdjust(rAttribs.getToken(XML_anchor, XML_t));
                 xPropertySet->setPropertyValue("TextVerticalAdjust", uno::makeAny(eAdjust));
             }
             return this;


More information about the Libreoffice-commits mailing list