summaryrefslogtreecommitdiff
path: root/basic/source/comp/sbcomp.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-12-28 17:59:40 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-12-28 18:00:02 +0100
commitf52e8908a6924ad7786874ca45deb46f0dfe4e30 (patch)
tree7536e61e050fb835df979138607657815139adc7 /basic/source/comp/sbcomp.cxx
parent479a0be4ec6adb9cc254f597f90388d9cde8b8ec (diff)
Some cppcheck cleaning in basic
Change-Id: I01ad0d95a94ede6998850937c58495920e7a4113
Diffstat (limited to 'basic/source/comp/sbcomp.cxx')
-rw-r--r--basic/source/comp/sbcomp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/comp/sbcomp.cxx b/basic/source/comp/sbcomp.cxx
index 45c94148529c..c7f048f6c3fa 100644
--- a/basic/source/comp/sbcomp.cxx
+++ b/basic/source/comp/sbcomp.cxx
@@ -643,7 +643,6 @@ void dbg_traceStep( SbModule* pModule, sal_uInt32 nPC, sal_Int32 nCallLvl )
void dbg_traceNotifyCall( SbModule* pModule, SbMethod* pMethod, sal_Int32 nCallLvl, bool bLeave )
{
- static const char* pSeparator = "' ================================================================================";
if( !GbTraceOn )
{
@@ -763,6 +762,7 @@ void dbg_traceNotifyCall( SbModule* pModule, SbMethod* pMethod, sal_Int32 nCallL
int nIndent = nCallLvl * GnIndentPerCallLevel;
if( !bLeave && !bOwnBlockSteps )
{
+ static const char* pSeparator = "' ================================================================================";
lcl_lineOut( "" );
lcl_lineOut( pSeparator, lcl_getSpaces( nIndent ) );
}