summaryrefslogtreecommitdiffstats
path: root/stoc/source/defaultregistry
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 /stoc/source/defaultregistry
parentInitialize constructor based implementations in one place. (diff)
downloadcore-4337a0664f4fb73f9e1be74f2a632847871da402.tar.gz
core-4337a0664f4fb73f9e1be74f2a632847871da402.zip
Use const& arguments parameter for ctor functions.
Change-Id: I19ce8bd1a23123ac9a62a7fc95cd54fea5315221
Diffstat (limited to 'stoc/source/defaultregistry')
-rw-r--r--stoc/source/defaultregistry/defaultregistry.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/stoc/source/defaultregistry/defaultregistry.cxx b/stoc/source/defaultregistry/defaultregistry.cxx
index 285e379d114e..977a7978b0bc 100644
--- a/stoc/source/defaultregistry/defaultregistry.cxx
+++ b/stoc/source/defaultregistry/defaultregistry.cxx
@@ -1352,9 +1352,8 @@ void SAL_CALL NestedRegistryImpl::mergeKey( const OUString& aKeyName, const OUSt
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
com_sun_star_comp_stoc_NestedRegistry(
SAL_UNUSED_PARAMETER css::uno::XComponentContext *,
- uno_Sequence * arguments)
+ css::uno::Sequence<css::uno::Any> const &)
{
- assert(arguments != 0 && arguments->nElements == 0); (void) arguments;
css::uno::Reference<css::uno::XInterface> x(
static_cast<cppu::OWeakObject *>(new NestedRegistryImpl));
x->acquire();