diff options
author | Tomáš Chvátal <tchvatal@suse.com> | 2019-03-15 15:58:40 +0100 |
---|---|---|
committer | Tomáš Chvátal <tchvatal@suse.cz> | 2019-03-15 18:33:09 +0100 |
commit | ec3aee0ef36f1ec3848581009b0de01e0ffd5e8f (patch) | |
tree | 780f7583981efb0301ea278dbc7ffe8c6074d132 /vcl/unx/gtk3_kde5 | |
parent | 3140194a85fe4a6ac69c8cddc4d3b019430cd6e8 (diff) |
Fix build with older versions of Boost
Change-Id: Ic5fa7c703821c23e704d2c58f9a04d0ac8ce8ef2
Reviewed-on: https://gerrit.libreoffice.org/69308
Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
Tested-by: Jenkins
Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz>
Diffstat (limited to 'vcl/unx/gtk3_kde5')
-rw-r--r-- | vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx b/vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx index 3bf5ddcd29bc..044a92d06c86 100644 --- a/vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx +++ b/vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx @@ -58,7 +58,7 @@ OUString applicationDirPath() const auto utf8Path = applicationSystemPath.toUtf8(); auto ret = boost::filesystem::path(utf8Path.getStr(), utf8Path.getStr() + utf8Path.getLength()); ret.remove_filename(); - return OUString::fromUtf8(OString(ret.c_str(), ret.size())); + return OUString::fromUtf8(OString(ret.c_str(), strlen(ret.c_str()))); } OUString findPickerExecutable() |