diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-01-20 21:51:16 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-01-20 21:51:35 +0100 |
commit | 6172a95bb077fd43595e02084b5394516738844b (patch) | |
tree | 97b99b2a86f5961e8fceef29bcf6730cf7287d07 /svtools/source/dialogs | |
parent | 5bbc006823a8eba8dbcf06943f76c8fcb30ec7ba (diff) |
Some cppcheck cleaning
Change-Id: Ie975903daa84ddafb2ba7d58e18b8ef20b331596
Diffstat (limited to 'svtools/source/dialogs')
-rw-r--r-- | svtools/source/dialogs/ServerDetailsControls.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svtools/source/dialogs/ServerDetailsControls.cxx b/svtools/source/dialogs/ServerDetailsControls.cxx index 8b10c1038b23..3bdae1bdc8c0 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 ) { |