diff options
Diffstat (limited to 'unotools/source/ucbhelper/tempfile.cxx')
-rw-r--r-- | unotools/source/ucbhelper/tempfile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx index 0ffae6db625a..86438df125c6 100644 --- a/unotools/source/ucbhelper/tempfile.cxx +++ b/unotools/source/ucbhelper/tempfile.cxx @@ -67,7 +67,7 @@ OUString getParentName( const OUString& aFileName ) if( aParent.endsWith(":") && aParent.getLength() == 6 ) aParent += "/"; - if( 0 == aParent.compareToAscii( "file://" ) ) + if( aParent.equalsAscii( "file://" ) ) aParent = "file:///"; return aParent; |