summaryrefslogtreecommitdiff
path: root/store/source/lockbyte.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'store/source/lockbyte.cxx')
-rw-r--r--store/source/lockbyte.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/source/lockbyte.cxx b/store/source/lockbyte.cxx
index 42c50ed65c2c..9a05e94c57ef 100644
--- a/store/source/lockbyte.cxx
+++ b/store/source/lockbyte.cxx
@@ -227,7 +227,7 @@ struct FileHandle
// Not system path. Assume file url.
rtl_uString_assign (&(aFileUrl.pData), pFilename);
}
- if (aFileUrl.compareToAscii("file://", 7) != 0)
+ if (!aFileUrl.startsWith("file://"))
{
// Not file url. Assume relative path.
rtl::OUString aCwdUrl;