diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-08 17:45:08 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-08 17:45:08 +0200 |
commit | 9222f5d065bb2aafcfef93e77c58a82672a9ad22 (patch) | |
tree | 0dfad9f13099a73ecf3893e9cbdd5020b55cd7b3 /package | |
parent | c4dca26eafd60dc4c4f19e0be0b8e086108b3048 (diff) |
A UNO Any can't contain an Any
...and css::uno::makeAny<css::uno::Any>() was never meant to be used. Introduce
css::uno::toAny for the (template-code) cases that shall return an Any for both
Any and non-Any inputs.
Change-Id: Ifa977d73f1da71b2fedde7e8140b19497c4a0257
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zippackage/ZipPackage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx index 15d5f9469a67..ca47523d560d 100644 --- a/package/source/zippackage/ZipPackage.cxx +++ b/package/source/zippackage/ZipPackage.cxx @@ -950,7 +950,7 @@ sal_Bool SAL_CALL ZipPackage::hasByHierarchicalName( const OUString& aName ) uno::Any e(::cppu::getCaughtException()); throw lang::WrappedTargetRuntimeException( OUString("ZipPackage::hasByHierarchicalName"), - 0, uno::makeAny(e)); + 0, e); } return sal_False; } |