summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/draw/XMLGraphicsDefaultStyle.cxx4
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx2
-rw-r--r--xmloff/source/text/txtimp.cxx2
3 files changed, 4 insertions, 4 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),
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index fe75012bd407..7ff3bec70784 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -1527,7 +1527,7 @@ OUString XMLTextImportHelper::SetStyleAndAttrs(
{
sStyleName = rImport.GetStyleDisplayName( nFamily, sStyleName );
const OUString rPropName = bPara ? OUString("ParaStyleName") : OUString("CharStyleName");
- const Reference < XNameContainer > & rStyles = (bPara)
+ const Reference < XNameContainer > & rStyles = bPara
? m_xImpl->m_xParaStyles
: m_xImpl->m_xTextStyles;
if( rStyles.is() &&