summaryrefslogtreecommitdiff
path: root/canvas/source/factory
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-10-28 16:12:28 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-10-29 06:50:51 +0200
commit1a58461bfa3e980f3113a8a16c09cddda0606e7b (patch)
tree7be7c682771b48cc9e49ae914cbcdacf60f454de /canvas/source/factory
parentf6aef99057c08490af49aec0fd5f2601a83c4e76 (diff)
Prepare for removal of non-const operator[] from Sequence in canvas
Change-Id: Ifb96e496b0994b5fc66975b7aea0a60bcb4a3a03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124345 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'canvas/source/factory')
-rw-r--r--canvas/source/factory/cf_service.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/canvas/source/factory/cf_service.cxx b/canvas/source/factory/cf_service.cxx
index d7e612cb6ca9..6cb27699864c 100644
--- a/canvas/source/factory/cf_service.cxx
+++ b/canvas/source/factory/cf_service.cxx
@@ -185,13 +185,11 @@ CanvasFactory::CanvasFactory( Reference<XComponentContext> const & xContext ) :
{
// Ugh. Looks like configuration is borked. Fake minimal
// setup.
- Sequence<OUString> aServices { "com.sun.star.comp.rendering.Canvas.VCL" };
m_aAvailableImplementations.emplace_back(OUString("com.sun.star.rendering.Canvas"),
- aServices );
+ Sequence<OUString>{ "com.sun.star.comp.rendering.Canvas.VCL" } );
- aServices[0] = "com.sun.star.comp.rendering.SpriteCanvas.VCL";
m_aAvailableImplementations.emplace_back(OUString("com.sun.star.rendering.SpriteCanvas"),
- aServices );
+ Sequence<OUString>{ "com.sun.star.comp.rendering.SpriteCanvas.VCL" } );
}
}