Kaydet (Commit) 6172a95b authored tarafından Julien Nabet's avatar Julien Nabet

Some cppcheck cleaning

Change-Id: Ie975903daa84ddafb2ba7d58e18b8ef20b331596
üst 5bbc0068
...@@ -313,7 +313,6 @@ sal_Int32 IntrospectionAccessStatic_Impl::getMethodIndex( const ::rtl::OUString& ...@@ -313,7 +313,6 @@ sal_Int32 IntrospectionAccessStatic_Impl::getMethodIndex( const ::rtl::OUString&
else else
{ {
sal_Int32 nSearchFrom = aMethodName.getLength(); sal_Int32 nSearchFrom = aMethodName.getLength();
nSearchFrom = aMethodName.getLength();
while( true ) while( true )
{ {
// Strategy: Search back until the first '_' is found // Strategy: Search back until the first '_' is found
......
...@@ -134,9 +134,7 @@ INetURLObject HostDetailsContainer::getUrl( ) ...@@ -134,9 +134,7 @@ INetURLObject HostDetailsContainer::getUrl( )
bool HostDetailsContainer::setUrl( const INetURLObject& rUrl ) bool HostDetailsContainer::setUrl( const INetURLObject& rUrl )
{ {
bool bSuccess = false; bool bSuccess = verifyScheme( INetURLObject::GetScheme( rUrl.GetProtocol( ) ) );
bSuccess = verifyScheme( INetURLObject::GetScheme( rUrl.GetProtocol( ) ) );
if ( bSuccess ) if ( bSuccess )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment