diff options
Diffstat (limited to 'comphelper/source/container/namecontainer.cxx')
-rw-r--r-- | comphelper/source/container/namecontainer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/container/namecontainer.cxx b/comphelper/source/container/namecontainer.cxx index b04ada10cf08..6ef8143753f9 100644 --- a/comphelper/source/container/namecontainer.cxx +++ b/comphelper/source/container/namecontainer.cxx @@ -187,7 +187,7 @@ Type SAL_CALL NameContainer::getElementType() return maType; } -Reference< XNameContainer > comphelper::NameContainer_createInstance( Type aType ) +Reference< XNameContainer > comphelper::NameContainer_createInstance( const Type& aType ) { return static_cast<XNameContainer*>(new NameContainer( aType )); } |