diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2012-12-30 11:07:28 +0100 |
---|---|---|
committer | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2012-12-30 11:07:36 +0100 |
commit | 0f3ee5e0d60e9e8b8c7e18393dda46532c72d658 (patch) | |
tree | 5432474d3fd3e3fbc0ead82feb2affb68713d954 /desktop/source/deployment/dp_log.cxx | |
parent | RTL_CONSTASCII_(U)STRINGPARAM removed in desktop/source/migration (diff) | |
download | core-0f3ee5e0d60e9e8b8c7e18393dda46532c72d658.tar.gz core-0f3ee5e0d60e9e8b8c7e18393dda46532c72d658.zip |
RTL_CONSTASCII_(U)STRINGPARAM removed in desktop/source/deployment
removed OUSTR() as well and replaced equals() with ==
Change-Id: Ica293711467cd93c8b4df3d52bb72bd0710ca05a
Diffstat (limited to 'desktop/source/deployment/dp_log.cxx')
-rw-r--r-- | desktop/source/deployment/dp_log.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/desktop/source/deployment/dp_log.cxx b/desktop/source/deployment/dp_log.cxx index c9c070b2a458..461f55f81b09 100644 --- a/desktop/source/deployment/dp_log.cxx +++ b/desktop/source/deployment/dp_log.cxx @@ -106,8 +106,7 @@ ProgressLogImpl::ProgressLogImpl( // write log stamp OStringBuffer buf; - buf.append( - RTL_CONSTASCII_STRINGPARAM("###### Progress log entry ") ); + buf.append( "###### Progress log entry " ); TimeValue m_start_time, tLocal; oslDateTime date_time; if (osl_getSystemTime( &m_start_time ) && @@ -122,7 +121,7 @@ ProgressLogImpl::ProgressLogImpl( date_time.Hours, date_time.Minutes, date_time.Seconds ); buf.append( ar ); } - buf.append( RTL_CONSTASCII_STRINGPARAM("######\n") ); + buf.append( "######\n" ); log_write( buf.makeStringAndClear() ); } @@ -171,10 +170,10 @@ void ProgressLogImpl::update( Any const & Status ) buf.append( msg ); } else { - buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("ERROR: ") ); + buf.appendAscii( "ERROR: " ); buf.append( ::comphelper::anyToString(Status) ); } - buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\n") ); + buf.appendAscii( "\n" ); log_write( OUStringToOString( buf.makeStringAndClear(), osl_getThreadTextEncoding() ) ); } |