summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/data/dptabsrc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx
index f24c705a5685..5a14a6f23e53 100644
--- a/sc/source/core/data/dptabsrc.cxx
+++ b/sc/source/core/data/dptabsrc.cxx
@@ -2235,7 +2235,7 @@ uno::Any SAL_CALL ScDPLevel::getPropertyValue( const OUString& aPropertyName )
uno::Any aRet;
if ( aPropertyName == SC_UNO_DP_SHOWEMPTY )
lcl_SetBoolInAny(aRet, bShowEmpty);
- if ( aPropertyName == SC_UNO_DP_REPEATITEMLABELS )
+ else if ( aPropertyName == SC_UNO_DP_REPEATITEMLABELS )
lcl_SetBoolInAny(aRet, bRepeatItemLabels);
else if ( aPropertyName == SC_UNO_DP_SUBTOTAL )
{