summaryrefslogtreecommitdiff
path: root/include/toolkit
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-10-28 15:57:38 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-10-28 20:09:19 +0200
commitc131f32fcfff1208adc38536839bc5168fcb7487 (patch)
tree15281689e85827f04af03349032f91196c3e7c29 /include/toolkit
parenta93329244a7d24b8a89d8f287b6123e56d13786d (diff)
Prepare for removal of non-const operator[] from Sequence in include
Change-Id: I85ca453f3add5ac5b59dc6f1ccb2cdb55f0a463c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124333 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/toolkit')
-rw-r--r--include/toolkit/helper/macros.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/toolkit/helper/macros.hxx b/include/toolkit/helper/macros.hxx
index cd121bc0998d..a04815ebaf20 100644
--- a/include/toolkit/helper/macros.hxx
+++ b/include/toolkit/helper/macros.hxx
@@ -149,7 +149,7 @@ IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD_BODY( ClassName, InterfaceName, MethodNa
{ \
css::uno::Sequence< OUString > aNames = BaseClass::getSupportedServiceNames( ); \
aNames.realloc( aNames.getLength() + 1 ); \
- aNames[ aNames.getLength() - 1 ] = ServiceName; \
+ aNames.getArray()[ aNames.getLength() - 1 ] = ServiceName; \
return aNames; \
} \