summaryrefslogtreecommitdiff
path: root/svtools/source/uno
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-01-14 15:41:32 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2014-01-15 08:51:27 +0100
commit4337a0664f4fb73f9e1be74f2a632847871da402 (patch)
treeb64c893fd88bb62d56ef2e7126923309b92d8afe /svtools/source/uno
parentbdeb57c23973f3ef79020847b2fe39f312cf3c0b (diff)
Use const& arguments parameter for ctor functions.
Change-Id: I19ce8bd1a23123ac9a62a7fc95cd54fea5315221
Diffstat (limited to 'svtools/source/uno')
-rw-r--r--svtools/source/uno/fpicker.cxx8
1 files changed, 4 insertions, 4 deletions
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<css::uno::Any> 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<css::uno::Any> 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())