summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/ProgressBarHelper.cxx2
-rw-r--r--xmloff/source/style/PageMasterExportPropMapper.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/core/ProgressBarHelper.cxx b/xmloff/source/core/ProgressBarHelper.cxx
index f8a44452939d..719ab804e3ad 100644
--- a/xmloff/source/core/ProgressBarHelper.cxx
+++ b/xmloff/source/core/ProgressBarHelper.cxx
@@ -68,7 +68,7 @@ void ProgressBarHelper::SetValue(sal_Int32 nTempValue)
{
if (xStatusIndicator.is() && (nReference > 0))
{
- if ((nTempValue >= nValue) && (!bStrict || (bStrict && (nTempValue <= nReference))))
+ if ((nTempValue >= nValue) && (!bStrict || (nTempValue <= nReference)))
{
// #91317# no progress bar with values > 100%
if (nTempValue > nReference)
diff --git a/xmloff/source/style/PageMasterExportPropMapper.cxx b/xmloff/source/style/PageMasterExportPropMapper.cxx
index fa9375738ff5..8dd4b0266576 100644
--- a/xmloff/source/style/PageMasterExportPropMapper.cxx
+++ b/xmloff/source/style/PageMasterExportPropMapper.cxx
@@ -532,14 +532,14 @@ void XMLPageMasterExportPropMapper::ContextFilter(
aHeaderBuffer.ContextFilter( rPropState );
aFooterBuffer.ContextFilter( rPropState );
- if( pPMHeaderHeight && (!pPMHeaderDynamic || (pPMHeaderDynamic && getBOOL( pPMHeaderDynamic->maValue ))) )
+ if( pPMHeaderHeight && (!pPMHeaderDynamic || getBOOL( pPMHeaderDynamic->maValue )) )
lcl_RemoveState( pPMHeaderHeight );
if( pPMHeaderMinHeight && pPMHeaderDynamic && !getBOOL( pPMHeaderDynamic->maValue ) )
lcl_RemoveState( pPMHeaderMinHeight );
if( pPMHeaderDynamic )
lcl_RemoveState( pPMHeaderDynamic );
- if( pPMFooterHeight && (!pPMFooterDynamic || (pPMFooterDynamic && getBOOL( pPMFooterDynamic->maValue ))) )
+ if( pPMFooterHeight && (!pPMFooterDynamic || getBOOL( pPMFooterDynamic->maValue )) )
lcl_RemoveState( pPMFooterHeight );
if( pPMFooterMinHeight && pPMFooterDynamic && !getBOOL( pPMFooterDynamic->maValue ) )
lcl_RemoveState( pPMFooterMinHeight );