From 4337a0664f4fb73f9e1be74f2a632847871da402 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Tue, 14 Jan 2014 15:41:32 +0100 Subject: Use const& arguments parameter for ctor functions. Change-Id: I19ce8bd1a23123ac9a62a7fc95cd54fea5315221 --- svtools/source/uno/fpicker.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'svtools/source/uno') diff --git a/svtools/source/uno/fpicker.cxx b/svtools/source/uno/fpicker.cxx index 89089d382958..1eccb579c2c9 100644 --- a/svtools/source/uno/fpicker.cxx +++ b/svtools/source/uno/fpicker.cxx @@ -55,9 +55,9 @@ static OUString FilePicker_getSystemPickerServiceName() extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL com_sun_star_comp_svt_FilePicker_get_implementation( - css::uno::XComponentContext *context, uno_Sequence * arguments) + css::uno::XComponentContext *context, + css::uno::Sequence const &) { - assert(arguments != 0); (void) arguments; Reference< css::uno::XInterface > xResult; Reference< css::lang::XMultiComponentFactory > xFactory (context->getServiceManager()); if (xFactory.is() && SvtMiscOptions().UseSystemFileDialog()) @@ -115,9 +115,9 @@ static OUString FolderPicker_getSystemPickerServiceName() extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL com_sun_star_comp_svt_FolderPicker_get_implementation( - css::uno::XComponentContext *context, uno_Sequence * arguments) + css::uno::XComponentContext *context, + css::uno::Sequence const &) { - assert(arguments != 0 && arguments->nElements == 0); (void) arguments; Reference< css::uno::XInterface > xResult; Reference< css::lang::XMultiComponentFactory > xFactory (context->getServiceManager()); if (xFactory.is() && SvtMiscOptions().UseSystemFileDialog()) -- cgit