summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-11-05 15:46:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-11-05 16:49:07 +0100
commit71b270fc3fb9c5f5f08cc340e83a3077cae427fd (patch)
tree5a0000e555ecdb4441ce00fc15f16ac76ec81c7c
parent324e2a5c3e6355e6b38db0add100465224841364 (diff)
fix --enable-gtk3-kde5 build
Change-Id: Ib8967575c8f94436255be3145fb74af6741cad26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124765 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx3
1 files changed, 2 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 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]);
}
}