diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-06-25 23:21:19 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-30 11:22:19 +0000 |
commit | 6a2c4efbd1d6086ef0f1162e0e20eb0540ded2ba (patch) | |
tree | e9a41575cce505caaee30c8795a52af354b2f8a9 | |
parent | 01bee1de5c4daf53abc01056145b1e387c517959 (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>
(cherry picked from commit 594ef250f824772c467c0f3cc8001568d1e553a9)
Reviewed-on: https://gerrit.libreoffice.org/16576
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sc/source/core/data/dptabsrc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) { |