diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-25 10:00:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-25 20:24:38 +0100 |
commit | 3bd1b85cdc00456e35d286d3d76ffd7b36c5e03e (patch) | |
tree | 822d269dd0cb5d8fde5dc9248574d98793d2b841 /cui/source/inc | |
parent | 8a18bed665bfc081a728c017e27a925c914c97f6 (diff) |
don't just truncate the unicode chars of the path
instead convert to a systempath like we do for other uses of xmlParseFile
drop the manual memory management
Change-Id: I8c3329db4b47a2d212770297c96f066ccbe1ec77
Reviewed-on: https://gerrit.libreoffice.org/83692
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/inc')
-rw-r--r-- | cui/source/inc/CustomNotebookbarGenerator.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/inc/CustomNotebookbarGenerator.hxx b/cui/source/inc/CustomNotebookbarGenerator.hxx index 170b1a6ff0cb..879c4dba522c 100644 --- a/cui/source/inc/CustomNotebookbarGenerator.hxx +++ b/cui/source/inc/CustomNotebookbarGenerator.hxx @@ -31,7 +31,7 @@ public: CustomNotebookbarGenerator(); static OUString getCustomizedUIPath(); static OUString getOriginalUIPath(); - static char* convertToCharPointer(const OUString& sString); + static OString getSystemPath(OUString const& sURL); static Sequence<OUString> getCustomizedUIItem(OUString sNotebookbarConfigType); static void getFileNameAndAppName(OUString& sAppName, OUString& sNotebookbarUIFileName); static void modifyCustomizedUIFile(const Sequence<OUString>& sUIItemProperties); |