[Libreoffice-commits] core.git: ucb/source
Stephan Bergmann
sbergman at redhat.com
Wed Jul 5 13:35:05 UTC 2017
ucb/source/ucp/tdoc/tdoc_uri.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 98a223246a91ac54991efdaa953cf6694f03c897
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jul 5 15:34:33 2017 +0200
loplugin:unnecessaryparen
Change-Id: I4660d233e5197efc3cfe8d6d0e3abdd82523ab90
diff --git a/ucb/source/ucp/tdoc/tdoc_uri.cxx b/ucb/source/ucp/tdoc/tdoc_uri.cxx
index 5ae5a5cec9f9..e582367b19ee 100644
--- a/ucb/source/ucp/tdoc/tdoc_uri.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_uri.cxx
@@ -43,7 +43,7 @@ void Uri::init() const
m_eState = INVALID;
// Check for proper length: must be at least length of <sheme>:/
- if ( ( m_aUri.getLength() < TDOC_URL_SCHEME_LENGTH + 2 ) )
+ if ( m_aUri.getLength() < TDOC_URL_SCHEME_LENGTH + 2 )
{
// Invalid length (to short).
return;
More information about the Libreoffice-commits
mailing list