diff options
Diffstat (limited to 'svl/source/passwordcontainer/syscreds.cxx')
-rw-r--r-- | svl/source/passwordcontainer/syscreds.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/passwordcontainer/syscreds.cxx b/svl/source/passwordcontainer/syscreds.cxx index 5bd60dcf8537..b727cc4cfd19 100644 --- a/svl/source/passwordcontainer/syscreds.cxx +++ b/svl/source/passwordcontainer/syscreds.cxx @@ -104,11 +104,11 @@ namespace // TODO: This code is actually copied from svl/source/passwordcontainer.cxx bool removeLastSegment( OUString & aURL ) { - sal_Int32 aInd = aURL.lastIndexOf( sal_Unicode( '/' ) ); + sal_Int32 aInd = aURL.lastIndexOf( '/' ); if( aInd > 0 ) { - sal_Int32 aPrevInd = aURL.lastIndexOf( sal_Unicode( '/' ), aInd ); + sal_Int32 aPrevInd = aURL.lastIndexOf( '/', aInd ); if ( aURL.indexOf( "://" ) != aPrevInd - 2 || aInd != aURL.getLength() - 1 ) { |