diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-09-20 10:18:12 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-09-21 09:28:39 +0200 |
commit | be6a8677a6ddb6387272a78406ec2149c4319f3d (patch) | |
tree | 0e6be3608de08f831f596a5c2dc5a3590d4a62c6 /extensions/source | |
parent | 6058133765a1f874d6bf9fb9f4d0811db32adc10 (diff) |
OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;
- removed trailing whitespaces and (multiple) newlines
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/update/check/updateprotocol.cxx | 2 | ||||
-rw-r--r-- | extensions/source/update/feed/updatefeed.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/update/check/updateprotocol.cxx b/extensions/source/update/check/updateprotocol.cxx index e5e1087e2be3..a304ee3bcb7a 100644 --- a/extensions/source/update/check/updateprotocol.cxx +++ b/extensions/source/update/check/updateprotocol.cxx @@ -96,7 +96,7 @@ checkForUpdates( uno::Reference< task::XInteractionHandler > const & rxInteractionHandler, const uno::Reference< deployment::XUpdateInformationProvider >& rUpdateInfoProvider) { - OSL_TRACE("checking for updates ..\n"); + OSL_TRACE("checking for updates .."); ::rtl::OUString myArch; ::rtl::OUString myOS; diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx index f69f5daaf149..6f6ce112fea7 100644 --- a/extensions/source/update/feed/updatefeed.cxx +++ b/extensions/source/update/feed/updatefeed.cxx @@ -95,7 +95,7 @@ public: { sal_Int32 n = m_xStream->readBytes(aData, nBytesToRead); if ( n ) - OSL_TRACE( "Read [%d] bytes: %s\n", n, aData.get()->elements ); + OSL_TRACE( "Read [%d] bytes: %s", n, aData.get()->elements ); return n; }; virtual sal_Int32 SAL_CALL readSomeBytes(uno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead) @@ -103,7 +103,7 @@ public: { sal_Int32 n = m_xStream->readSomeBytes(aData, nMaxBytesToRead); if ( n ) - OSL_TRACE( "Read [%d] bytes: %s\n", n, aData.get()->elements ); + OSL_TRACE( "Read [%d] bytes: %s", n, aData.get()->elements ); return n; }; virtual void SAL_CALL skipBytes( sal_Int32 nBytesToSkip ) |