[Libreoffice-commits] core.git: sc/source
Tor Lillqvist
tml at collabora.com
Sat Mar 5 08:13:40 UTC 2016
sc/source/core/data/dptabres.cxx | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
New commits:
commit 02734aa459ebf96b10e5da82240704e401563a4e
Author: Tor Lillqvist <tml at collabora.com>
Date: Sat Mar 5 10:12:05 2016 +0200
Actually I don't see why this would need to be inside OSL_DEBUG_LEVEL > 0
Also combine two short SAL_INFOs into one.
Change-Id: I8ae9f4ec2dc06880281787ee0e4adb6dda26a4cf
diff --git a/sc/source/core/data/dptabres.cxx b/sc/source/core/data/dptabres.cxx
index 87eff17..9afed8a 100644
--- a/sc/source/core/data/dptabres.cxx
+++ b/sc/source/core/data/dptabres.cxx
@@ -2880,11 +2880,9 @@ void ScDPResultDimension::LateInitFrom(
{
ResultMembers* pMembers = pResultData->GetDimResultMembers(nDimSource, pThisDim, pThisLevel);
bLateInitAllMembers = pMembers->IsHasHideDetailsMembers();
-#if OSL_DEBUG_LEVEL > 0
- SAL_INFO("sc.core", aDimensionName);
- if ( pMembers->IsHasHideDetailsMembers() )
- SAL_INFO("sc.core", "HasHideDetailsMembers");
-#endif
+
+ SAL_INFO("sc.core", aDimensionName << (pMembers->IsHasHideDetailsMembers() ? " HasHideDetailsMembers" : ""));
+
pMembers->SetHasHideDetailsMembers( false );
}
More information about the Libreoffice-commits
mailing list