[Libreoffice-commits] .: stoc/source svtools/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Jan 20 12:53:23 PST 2013
stoc/source/inspect/introspection.cxx | 1 -
svtools/source/dialogs/ServerDetailsControls.cxx | 4 +---
2 files changed, 1 insertion(+), 4 deletions(-)
New commits:
commit 6172a95bb077fd43595e02084b5394516738844b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Jan 20 21:51:16 2013 +0100
Some cppcheck cleaning
Change-Id: Ie975903daa84ddafb2ba7d58e18b8ef20b331596
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index 5956088..ea62d4d 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -313,7 +313,6 @@ sal_Int32 IntrospectionAccessStatic_Impl::getMethodIndex( const ::rtl::OUString&
else
{
sal_Int32 nSearchFrom = aMethodName.getLength();
- nSearchFrom = aMethodName.getLength();
while( true )
{
// Strategy: Search back until the first '_' is found
diff --git a/svtools/source/dialogs/ServerDetailsControls.cxx b/svtools/source/dialogs/ServerDetailsControls.cxx
index 8b10c10..3bdae1b 100644
--- a/svtools/source/dialogs/ServerDetailsControls.cxx
+++ b/svtools/source/dialogs/ServerDetailsControls.cxx
@@ -134,9 +134,7 @@ INetURLObject HostDetailsContainer::getUrl( )
bool HostDetailsContainer::setUrl( const INetURLObject& rUrl )
{
- bool bSuccess = false;
-
- bSuccess = verifyScheme( INetURLObject::GetScheme( rUrl.GetProtocol( ) ) );
+ bool bSuccess = verifyScheme( INetURLObject::GetScheme( rUrl.GetProtocol( ) ) );
if ( bSuccess )
{
More information about the Libreoffice-commits
mailing list