summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style')
-rw-r--r--xmloff/source/style/XMLPercentOrMeasurePropertyHandler.cxx2
-rw-r--r--xmloff/source/style/xmlexppr.cxx4
-rw-r--r--xmloff/source/style/xmlnumfi.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/XMLPercentOrMeasurePropertyHandler.cxx b/xmloff/source/style/XMLPercentOrMeasurePropertyHandler.cxx
index a232d4a8f709..721aafa2bc1e 100644
--- a/xmloff/source/style/XMLPercentOrMeasurePropertyHandler.cxx
+++ b/xmloff/source/style/XMLPercentOrMeasurePropertyHandler.cxx
@@ -45,7 +45,7 @@ bool XMLPercentOrMeasurePropertyHandler::importXML(
Any& rValue,
const SvXMLUnitConverter& rUnitConverter ) const
{
- if( (rStrImpValue.indexOf( '%' ) != -1))
+ if( rStrImpValue.indexOf( '%' ) != -1 )
return false;
sal_Int32 nValue;
diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx
index 034eb3e64294..3e9571195719 100644
--- a/xmloff/source/style/xmlexppr.cxx
+++ b/xmloff/source/style/xmlexppr.cxx
@@ -365,7 +365,7 @@ void FilterPropertiesInfo_Impl::FillPropertyStateArray(
for( i = 0; i < nCount; ++i, ++pStates )
{
- if( (*pStates == PropertyState_DIRECT_VALUE)/* || (bDefault && (*pStates == PropertyState_DEFAULT_VALUE))*/ )
+ if( *pStates == PropertyState_DIRECT_VALUE )
nValueCount++;
}
@@ -385,7 +385,7 @@ void FilterPropertiesInfo_Impl::FillPropertyStateArray(
i = 0;
while( i < nValueCount )
{
- if( (*pStates == PropertyState_DIRECT_VALUE)/* || (bDefault && (*pStates == PropertyState_DEFAULT_VALUE))*/ )
+ if( *pStates == PropertyState_DIRECT_VALUE )
{
*pAPINames++ = aItr->GetApiName();
aPropIters.push_back( aItr );
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index f64525f48070..b8727681a3da 100644
--- a/xmloff/source/style/xmlnumfi.cxx
+++ b/xmloff/source/style/xmlnumfi.cxx
@@ -1662,7 +1662,7 @@ sal_Int32 SvXMLNumFormatContext::CreateAndInsert(SvNumberFormatter* pFormatter)
XML_STYLE_FAMILY_DATA_STYLE, aMyConditions[i].sMapName)));
if (pStyle)
{
- if ((pStyle->PrivateGetKey() > -1)) // don't reset pStyle's bRemoveAfterUse flag
+ if (pStyle->PrivateGetKey() > -1) // don't reset pStyle's bRemoveAfterUse flag
AddCondition(i);
}
}