diff options
-rw-r--r-- | sal/osl/w32/file_dirvol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/file_dirvol.cxx b/sal/osl/w32/file_dirvol.cxx index f0c03d0d0033..84ccd28de8c7 100644 --- a/sal/osl/w32/file_dirvol.cxx +++ b/sal/osl/w32/file_dirvol.cxx @@ -1300,7 +1300,7 @@ static bool path_get_parent(OUString& path) sal_Int32 i = path.lastIndexOf(BACKSLASH); if (-1 < i) { - path = OUString(path.getStr(), i); + path = path.copy(0, i); return true; } } |