sbcomp.cxx (79aad27f) | sbcomp.cxx (0848378b) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 575 unchanged lines hidden (view full) --- 584 return; 585 } 586 587 int nIndent = nCallLvl * GnIndentPerCallLevel; 588 589 const TraceTextData& rTraceTextData = itInner->second; 590 const rtl::OString& rStr_STMNT = rTraceTextData.m_aTraceStr_STMNT; 591 bool bSTMT = false; | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 575 unchanged lines hidden (view full) --- 584 return; 585 } 586 587 int nIndent = nCallLvl * GnIndentPerCallLevel; 588 589 const TraceTextData& rTraceTextData = itInner->second; 590 const rtl::OString& rStr_STMNT = rTraceTextData.m_aTraceStr_STMNT; 591 bool bSTMT = false; |
592 if( rStr_STMNT.getLength() ) | 592 if( !rStr_STMNT.isEmpty() ) |
593 bSTMT = true; 594 595 char TimeBuffer[200]; 596#ifdef DBG_TRACE_PROFILING 597 if( bPrintTimeStamp ) 598 { 599 double dDiffTime = dCurTime - GdLastTime; 600 GdLastTime = dCurTime; --- 13 unchanged lines hidden (view full) --- 614 if( GbTimerOn ) 615 GpTimer->continueTimer(); 616#endif 617 return; 618 } 619 620 nIndent += GnIndentForPCode; 621 const rtl::OString& rStr_PCode = rTraceTextData.m_aTraceStr_PCode; | 593 bSTMT = true; 594 595 char TimeBuffer[200]; 596#ifdef DBG_TRACE_PROFILING 597 if( bPrintTimeStamp ) 598 { 599 double dDiffTime = dCurTime - GdLastTime; 600 GdLastTime = dCurTime; --- 13 unchanged lines hidden (view full) --- 614 if( GbTimerOn ) 615 GpTimer->continueTimer(); 616#endif 617 return; 618 } 619 620 nIndent += GnIndentForPCode; 621 const rtl::OString& rStr_PCode = rTraceTextData.m_aTraceStr_PCode; |
622 if( rStr_PCode.getLength() ) | 622 if( !rStr_PCode.isEmpty() ) |
623 { 624 lcl_lineOut( rStr_PCode.getStr(), lcl_getSpaces( nIndent ), 625 bPrintTimeStamp ? TimeBuffer : NULL ); 626 } 627 628#ifdef DBG_TRACE_PROFILING 629 if( GbTimerOn ) 630 GpTimer->continueTimer(); --- 422 unchanged lines hidden --- | 623 { 624 lcl_lineOut( rStr_PCode.getStr(), lcl_getSpaces( nIndent ), 625 bPrintTimeStamp ? TimeBuffer : NULL ); 626 } 627 628#ifdef DBG_TRACE_PROFILING 629 if( GbTimerOn ) 630 GpTimer->continueTimer(); --- 422 unchanged lines hidden --- |