From 6a2c4efbd1d6086ef0f1162e0e20eb0540ded2ba Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Thu, 25 Jun 2015 23:21:19 +0200 Subject: Related tdf#92262: PIVOTTABLE: crash when clicking on the autofilter arrow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Deena Francis Tested-by: Julien Nabet Reviewed-by: Julien Nabet (cherry picked from commit 594ef250f824772c467c0f3cc8001568d1e553a9) Reviewed-on: https://gerrit.libreoffice.org/16576 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sc/source/core/data/dptabsrc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx index f8c5ac79e932..1bcf4341e91e 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 ) { -- cgit v1.2.3