summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-06-25 23:21:19 +0200
committerJulien Nabet <serval2412@yahoo.fr>2015-06-29 12:39:35 +0000
commit594ef250f824772c467c0f3cc8001568d1e553a9 (patch)
treef31baf0d430215d96d399f96890351fc417dcc15
parentbead58cb4042ac42dee890e2f21ab7ea81136e54 (diff)
Related tdf#92262: PIVOTTABLE: crash when clicking on the autofilter arrow
Missing "else" in front of the "if" Regression from http://cgit.freedesktop.org/libreoffice/core/commit/?id=7b355da6853af6678c4ba22710d157cf8a6d43eb Change-Id: I3c32e8f09acbea7094c4268384ec4b1c4e028fc5 Reviewed-on: https://gerrit.libreoffice.org/16497 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Deena Francis <deena.francis@gmail.com> Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-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 )
{