vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 71b270fc3fb9c5f5f08cc340e83a3077cae427fd Author: Caolán McNamara <[email protected]> AuthorDate: Fri Nov 5 15:46:14 2021 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Fri Nov 5 16:49:07 2021 +0100 fix --enable-gtk3-kde5 build Change-Id: Ib8967575c8f94436255be3145fb74af6741cad26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124765 Tested-by: Caolán McNamara <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> diff --git a/vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx b/vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx index c1491208977e..f9fd85e94b80 100644 --- a/vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx +++ b/vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx @@ -85,9 +85,10 @@ void readIpcArg(std::istream& stream, css::uno::Sequence<OUString>& seq) stream >> numFiles; stream.ignore(); // skip space; seq.realloc(numFiles); + OUString* pSeq = seq.getArray(); for (size_t i = 0; i < numFiles; ++i) { - readIpcArg(stream, seq[i]); + readIpcArg(stream, pSeq[i]); } }
