summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-09-09 16:53:17 +0200
committerMichael Stahl <mstahl@redhat.com>2014-09-09 16:53:17 +0200
commit45582edd8dcbfba0c91c53dfd76a18ad06011721 (patch)
tree3d32b599399a8d23976c05bd16035b35a76d8e17 /oox
parentba1ae835fa3629deb64b0a7a359cadc5aa0a9763 (diff)
oox: improve code formatting
Change-Id: I16b1a80401369a8d78ea87a96daa3ee03d502e6f
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/table/tablecell.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/drawingml/table/tablecell.cxx b/oox/source/drawingml/table/tablecell.cxx
index f3810f1e2e85..dfca83305924 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();