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

Miklos Vajna vmiklos at collabora.co.uk
Mon Feb 10 05:18:18 PST 2014


 sw/source/filter/ww8/docxsdrexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d06d5e32a04602591827b32fc860bb0536115ddb
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Feb 10 14:02:18 2014 +0100

    DocxSdrExport: fix style
    
    Change-Id: I541b75fc4670f77c2961cb77ae425e43b97b0e08

diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx
index 6278a29..205751b 100644
--- a/sw/source/filter/ww8/docxsdrexport.cxx
+++ b/sw/source/filter/ww8/docxsdrexport.cxx
@@ -883,7 +883,7 @@ void DocxSdrExport::writeDMLTextFrame(sw::Frame* pParentFrame, int nAnchorId)
     m_pImpl->m_pBodyPrAttrList = pFS->createAttrList();
     {
         drawing::TextVerticalAdjust eAdjust = drawing::TextVerticalAdjust_TOP;
-        if( xPropSetInfo.is() && xPropSetInfo->hasPropertyByName("TextVerticalAdjust") )
+        if (xPropSetInfo.is() && xPropSetInfo->hasPropertyByName("TextVerticalAdjust"))
             xPropertySet->getPropertyValue("TextVerticalAdjust") >>= eAdjust;
         m_pImpl->m_pBodyPrAttrList->add(XML_anchor, oox::drawingml::GetTextVerticalAdjust(eAdjust));
     }


More information about the Libreoffice-commits mailing list