summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stoc/source/inspect/introspection.cxx1
-rw-r--r--svtools/source/dialogs/ServerDetailsControls.cxx4
2 files changed, 1 insertions, 4 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index 595608859003..ea62d4d3efb0 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 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 )
{