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

Michael Stahl mstahl at redhat.com
Tue Sep 9 07:58:14 PDT 2014


 oox/source/drawingml/table/tablecell.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 45582edd8dcbfba0c91c53dfd76a18ad06011721
Author: Michael Stahl <mstahl at redhat.com>
Date:   Tue Sep 9 16:53:17 2014 +0200

    oox: improve code formatting
    
    Change-Id: I16b1a80401369a8d78ea87a96daa3ee03d502e6f

diff --git a/oox/source/drawingml/table/tablecell.cxx b/oox/source/drawingml/table/tablecell.cxx
index f3810f1..dfca833 100644
--- a/oox/source/drawingml/table/tablecell.cxx
+++ b/oox/source/drawingml/table/tablecell.cxx
@@ -359,6 +359,7 @@ void TableCell::pushToXCell( const ::oox::core::XmlFilterBase& rFilterBase, ::oo
     if (rBackgroundFillPropertiesPtr.get())
         aBgColor = rBackgroundFillPropertiesPtr->getBestSolidColor();
     else if (rBackgroundFillStyle.mnThemedIdx != 0)
+    {
         if (const Theme* pTheme = rFilterBase.getCurrentTheme())
         {
             FillProperties const*const pStyle(
@@ -369,6 +370,7 @@ void TableCell::pushToXCell( const ::oox::core::XmlFilterBase& rFilterBase, ::oo
                 nPhClr = rBackgroundFillStyle.maPhClr.getColor(rFilterBase.getGraphicHelper());
             }
         }
+    }
     if (aBgColor.isUsed())
     {
         const Color& rCellColor = aFillProperties.getBestSolidColor();


More information about the Libreoffice-commits mailing list