diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-13 20:34:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-13 20:34:54 +0100 |
commit | 1f9f8f4f4074ce7ec9d2b0f2f751f5c47ce38634 (patch) | |
tree | 49cbfee75b2bbb28716685b803df1e676fdd6ba1 /tools | |
parent | a51488cb2400163e20bc4fe5e3028587c29d08d9 (diff) |
loplugin: some log, indent and unused variable warnings
fix up some indents, remove some unused OUStrings and add some log areas
Change-Id: I5c50807aff7a726b03b72522975d9b75e6685b9b
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/inet/inetmime.cxx | 8 | ||||
-rw-r--r-- | tools/source/ref/errinf.cxx | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index 4619858c8c59..ae1bdb8f0fa0 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -3591,16 +3591,14 @@ void INetMIMEEncodedWordOutputSink::finish(bool bWriteTrailer) nSize += nWrapperSize; for (; m_nExtraSpaces > 1; --m_nExtraSpaces) { - if (m_rSink.getColumn() - >= m_rSink.getLineLengthLimit()) + if (m_rSink.getColumn() >= m_rSink.getLineLengthLimit()) m_rSink << INetMIMEOutputSink::endl; m_rSink << ' '; } if (m_nExtraSpaces == 1) { - if (m_rSink.getColumn() + nSize - >= m_rSink.getLineLengthLimit()) - m_rSink << INetMIMEOutputSink::endl; + if (m_rSink.getColumn() + nSize >= m_rSink.getLineLengthLimit()) + m_rSink << INetMIMEOutputSink::endl; m_rSink << ' '; } m_rSink << "=?" << pCharsetName << "?Q?"; diff --git a/tools/source/ref/errinf.cxx b/tools/source/ref/errinf.cxx index b7867a8079b8..0038c8672c23 100644 --- a/tools/source/ref/errinf.cxx +++ b/tools/source/ref/errinf.cxx @@ -323,10 +323,10 @@ sal_uInt16 ErrorHandler::HandleError_Impl( } else { - if( nFlags != USHRT_MAX ) - nErrFlags = nFlags; + if (nFlags != USHRT_MAX) + nErrFlags = nFlags; return (*(WindowDisplayErrorFunc*)pData->pDsp)( - pParent, nErrFlags, aErr, aAction); + pParent, nErrFlags, aErr, aAction); } } } |