summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-15 12:03:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-19 08:29:01 +0000
commitf573de2a956d91f67c384dbb54c980c117219032 (patch)
tree05c58829e18e4099b56c3edaf2c6477b065a1a5b /basic
parent6fd7c0c7714a90a6b99003b67a47b28b800cfdff (diff)
no need to wrap calls to SAL_INFO in #ifdef DBG_UTIL
Change-Id: Ic373a8f145f3f78c3f109e36a9c1dd9156f0dd75 Reviewed-on: https://gerrit.libreoffice.org/32034 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/runtime.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 23d3f82d5955..38d9a1eb4c77 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -975,10 +975,7 @@ SbxVariableRef SbiRuntime::PopVar()
}
#endif
SbxVariableRef xVar = refExprStk->Get( --nExprLvl );
-#ifdef DBG_UTIL
- if ( xVar->GetName() == "Cells" )
- SAL_INFO("basic", "PopVar: Name equals 'Cells'" );
-#endif
+ SAL_INFO_IF( xVar->GetName() == "Cells", "basic", "PopVar: Name equals 'Cells'" );
// methods hold themselves in parameter 0
if( dynamic_cast<const SbxMethod *>(xVar.get()) != nullptr )
{