From 2e29906567cef053e608588830ddfb013cb53682 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Fri, 29 Oct 2021 10:24:51 +0300 Subject: 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 --- vcl/osx/DataFlavorMapping.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/osx') 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 DataFlavorMapper::typesArrayTo if (isValidFlavor(oOOFlavor)) { flavors.realloc(flavors.getLength() + 1); - flavors[flavors.getLength() - 1] = oOOFlavor; + flavors.getArray()[flavors.getLength() - 1] = oOOFlavor; } } -- cgit