diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-01-14 15:41:32 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-01-15 08:51:27 +0100 |
commit | 4337a0664f4fb73f9e1be74f2a632847871da402 (patch) | |
tree | b64c893fd88bb62d56ef2e7126923309b92d8afe /svx/source/xml | |
parent | bdeb57c23973f3ef79020847b2fe39f312cf3c0b (diff) |
Use const& arguments parameter for ctor functions.
Change-Id: I19ce8bd1a23123ac9a62a7fc95cd54fea5315221
Diffstat (limited to 'svx/source/xml')
-rw-r--r-- | svx/source/xml/xmlgrhlp.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx index 4c705977e68e..75bd29eab334 100644 --- a/svx/source/xml/xmlgrhlp.cxx +++ b/svx/source/xml/xmlgrhlp.cxx @@ -1053,9 +1053,8 @@ Sequence< OUString > SAL_CALL SvXMLGraphicImportExportHelper::getSupportedServic extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL com_sun_star_comp_Svx_GraphicImportHelper_implementation_getFactory( SAL_UNUSED_PARAMETER css::uno::XComponentContext *, - uno_Sequence * arguments) + css::uno::Sequence<css::uno::Any> const &) { - assert(arguments != 0); (void) arguments; css::uno::Reference<css::uno::XInterface> x( static_cast<cppu::OWeakObject *>(new SvXMLGraphicImportExportHelper( GRAPHICHELPER_MODE_READ))); @@ -1078,9 +1077,8 @@ com_sun_star_comp_Svx_GraphicImportHelper_implementation_getFactory( extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL com_sun_star_comp_Svx_GraphicExportHelper_implementation_getFactory( SAL_UNUSED_PARAMETER css::uno::XComponentContext *, - uno_Sequence * arguments) + css::uno::Sequence<css::uno::Any> const &) { - assert(arguments != 0); (void) arguments; css::uno::Reference<css::uno::XInterface> x( static_cast<cppu::OWeakObject *>(new SvXMLGraphicImportExportHelper( GRAPHICHELPER_MODE_WRITE ))); |