summaryrefslogtreecommitdiff
path: root/cppuhelper/source/component_context.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-24 10:24:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-24 09:17:34 +0000
commit48e83f7be240cd0af5b9f1ee5b87c4d9376c102e (patch)
tree15ccd05d11aca0461309670987ae71316a6232ca /cppuhelper/source/component_context.cxx
parent3422dfc1b61c15d7d3a6b0e1ee16c50457946cc0 (diff)
makeAny->Any in cppuhelper..cui
Change-Id: Ia54e6e9b71df68bd04c304a0bb02da8ebac74420 Reviewed-on: https://gerrit.libreoffice.org/34603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper/source/component_context.cxx')
-rw-r--r--cppuhelper/source/component_context.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index 3311770281e6..08e2e7ad4737 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -378,7 +378,7 @@ Any ComponentContext::getValueByName( OUString const & rName )
if (m_xDelegate.is())
return m_xDelegate->getValueByName( rName );
else
- return makeAny( Reference<XComponentContext>(this) );
+ return Any( Reference<XComponentContext>(this) );
}
Any ret( lookupMap( rName ) );
@@ -538,7 +538,7 @@ ComponentContext::ComponentContext(
if (xProps.is())
{
Reference< XComponentContext > xThis( this );
- xProps->setPropertyValue( "DefaultContext", makeAny( xThis ) );
+ xProps->setPropertyValue( "DefaultContext", Any( xThis ) );
}
}
catch (...)