summaryrefslogtreecommitdiff
path: root/xmloff/source/draw
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw')
-rw-r--r--xmloff/source/draw/XMLGraphicsDefaultStyle.cxx4
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx b/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx
index 697dc84cad4a..3041578f0cf9 100644
--- a/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx
+++ b/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx
@@ -153,10 +153,10 @@ void XMLGraphicsDefaultStyle::SetDefaults()
XMLPropertyByIndex(nStrokeIndex)))
{
sal_Int32 const nStroke(
- (bIsAOO4) ? RGB_COLORDATA(128, 128, 128) : COL_BLACK);
+ bIsAOO4 ? RGB_COLORDATA(128, 128, 128) : COL_BLACK);
xDefaults->setPropertyValue("LineColor", makeAny(nStroke));
}
- sal_Int32 const nFillColor( (bIsAOO4)
+ sal_Int32 const nFillColor( bIsAOO4
? RGB_COLORDATA(0xCF, 0xE7, 0xF5) : RGB_COLORDATA(153, 204, 255));
sal_Int32 const nFillIndex(
pImpPrMap->GetEntryIndex(XML_NAMESPACE_DRAW, "fill-color", 0));
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index 86370e8a118b..53a8727fc87a 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -388,7 +388,7 @@ SdXMLExport::SdXMLExport(
OUString const & implementationName,
bool bIsDraw, SvXMLExportFlags nExportFlags )
: SvXMLExport( util::MeasureUnit::CM, xContext, implementationName,
- (bIsDraw) ? XML_GRAPHICS : XML_PRESENTATION, nExportFlags ),
+ bIsDraw ? XML_GRAPHICS : XML_PRESENTATION, nExportFlags ),
mnDocMasterPageCount(0),
mnDocDrawPageCount(0),
mnObjectCount(0),