summaryrefslogtreecommitdiff
path: root/tools/source/inet
diff options
context:
space:
mode:
authorKayo Hamid <kayo.hamid@gekkolinux.com.br>2011-04-22 11:34:11 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-04-22 11:34:11 +0200
commit76ffa2189837398beb09f65438d3180f7e32c6fc (patch)
treef88e218bc91056896805c8bd4d718d62446ffac9 /tools/source/inet
parent9ab9d69c7da783d0c528ce58f9c8af54990eae6c (diff)
cppcheck variableScope
Diffstat (limited to 'tools/source/inet')
-rw-r--r--tools/source/inet/inetstrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx
index 9390cdd12a9e..07d404b090ad 100644
--- a/tools/source/inet/inetstrm.cxx
+++ b/tools/source/inet/inetstrm.cxx
@@ -1686,9 +1686,9 @@ int INetMIMEMessageStream::PutMsgLine (const sal_Char *pData, sal_uIntPtr nSize)
for( pOldPos = pChar = (const sal_Char *) pMsgBuffer->GetData(); nBufSize--;
pChar++ )
{
- int status;
if( *pChar == '\r' || *pChar == '\n' )
{
+ int status;
if( aDelim.CompareTo (pOldPos, aDelim.Len())
!= COMPARE_EQUAL &&
aClose.CompareTo (pOldPos, aClose.Len())