diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-10-02 15:20:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-10-02 15:20:26 +0200 |
commit | 04740cb7e23cc293e1143d6dc7a4444202331abb (patch) | |
tree | b853585a15596cf1ee58be2e5f41383d2da8c94b /cli_ure/source/uno_bridge/cli_uno.cxx | |
parent | 7c3f7016f1bcbc6b7c46de3420c4410700dae5cd (diff) |
cli_ure (Windows): std::auto_ptr -> std::unique_ptr
Change-Id: Ibe794daffa347d194ff8c66a44c7eec4bcc9b83d
Diffstat (limited to 'cli_ure/source/uno_bridge/cli_uno.cxx')
-rw-r--r-- | cli_ure/source/uno_bridge/cli_uno.cxx | 2 |
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(); |