summaryrefslogtreecommitdiff
path: root/cli_ure/source/uno_bridge/cli_uno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli_ure/source/uno_bridge/cli_uno.cxx')
-rw-r--r--cli_ure/source/uno_bridge/cli_uno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli_ure/source/uno_bridge/cli_uno.cxx b/cli_ure/source/uno_bridge/cli_uno.cxx
index e705de141d8d..97b0fa08645d 100644
--- a/cli_ure/source/uno_bridge/cli_uno.cxx
+++ b/cli_ure/source/uno_bridge/cli_uno.cxx
@@ -221,7 +221,7 @@ void Bridge::call_cli(
System::Exception^ exc= e->InnerException;
css::uno::TypeDescription td(mapCliType(exc->GetType()));
// memory for exception
- std::auto_ptr< rtl_mem > memExc(rtl_mem::allocate(td.get()->nSize));
+ std::unique_ptr< rtl_mem > memExc(rtl_mem::allocate(td.get()->nSize));
map_to_uno(memExc.get(), exc, td.get()->pWeakRef, false);
(*uno_exc)->pType= td.get()->pWeakRef;
(*uno_exc)->pData= memExc.release();