diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-29 10:24:51 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-11-01 05:26:08 +0100 |
commit | 2e29906567cef053e608588830ddfb013cb53682 (patch) | |
tree | cae4aa3aaf9f318ceb6f0a80953d6174e494a394 /vcl/osx | |
parent | 1be268f3ec7661be232b8f5dc18546d1410dfd52 (diff) |
Prepare for removal of non-const operator[] from Sequence in vcl
Change-Id: I65f411affcf0340c054d09426483d57c530edb0f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124411
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/DataFlavorMapping.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/DataFlavorMapping.cxx b/vcl/osx/DataFlavorMapping.cxx index 1145c77cfa76..274a2b4a4be7 100644 --- a/vcl/osx/DataFlavorMapping.cxx +++ b/vcl/osx/DataFlavorMapping.cxx @@ -744,7 +744,7 @@ css::uno::Sequence<css::datatransfer::DataFlavor> DataFlavorMapper::typesArrayTo if (isValidFlavor(oOOFlavor)) { flavors.realloc(flavors.getLength() + 1); - flavors[flavors.getLength() - 1] = oOOFlavor; + flavors.getArray()[flavors.getLength() - 1] = oOOFlavor; } } |