diff options
Diffstat (limited to 'jvmfwk/source')
-rw-r--r-- | jvmfwk/source/fwkutil.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx index 159ac52019b1..6f964580308b 100644 --- a/jvmfwk/source/fwkutil.cxx +++ b/jvmfwk/source/fwkutil.cxx @@ -175,8 +175,8 @@ rtl::ByteSequence decodeBase16(const rtl::ByteSequence& data) OUString getDirFromFile(const OUString& usFilePath) { - sal_Int32 index= usFilePath.lastIndexOf('/'); - return OUString(usFilePath.getStr(), index); + sal_Int32 index = usFilePath.lastIndexOf('/'); + return usFilePath.copy(0, index); } OUString getLibraryLocation() |