diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-07-01 12:19:22 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-07-01 12:19:22 +0000 |
commit | 3bb2a413be2a92298cfd3445d646134a189685fc (patch) | |
tree | 0a5cd48f1e863b088ca61bb7ded0583840b18ec0 /registry/inc | |
parent | 034607b08e8618374695542cdfd70b3acab1c56f (diff) |
INTEGRATION: CWS memory01 (1.5.8); FILE MERGED
2005/06/15 12:42:58 sb 1.5.8.1: #i49503# Fixed memory leak when constructing rtl::OUString from rtl_uString*.
Diffstat (limited to 'registry/inc')
-rw-r--r-- | registry/inc/registry/reader.hxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/registry/inc/registry/reader.hxx b/registry/inc/registry/reader.hxx index 4bf4ddb9c818..843e3188f00b 100644 --- a/registry/inc/registry/reader.hxx +++ b/registry/inc/registry/reader.hxx @@ -2,9 +2,9 @@ * * $RCSfile: reader.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-01-31 15:47:07 $ + * last change: $Author: kz $ $Date: 2005-07-01 13:19:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -209,7 +209,7 @@ public: if (s == 0) { throw std::bad_alloc(); } - return s; + return rtl::OUString(s, SAL_NO_ACQUIRE); } /** @@ -250,7 +250,7 @@ public: if (s == 0) { throw std::bad_alloc(); } - return s; + return rtl::OUString(s, SAL_NO_ACQUIRE); } /** @@ -279,7 +279,7 @@ public: if (s == 0) { throw std::bad_alloc(); } - return s; + return rtl::OUString(s, SAL_NO_ACQUIRE); } /** @@ -307,7 +307,7 @@ public: if (s == 0) { throw std::bad_alloc(); } - return s; + return rtl::OUString(s, SAL_NO_ACQUIRE); } /** @@ -326,7 +326,7 @@ public: if (s == 0) { throw std::bad_alloc(); } - return s; + return rtl::OUString(s, SAL_NO_ACQUIRE); } /** @@ -355,7 +355,7 @@ public: if (s == 0) { throw std::bad_alloc(); } - return s; + return rtl::OUString(s, SAL_NO_ACQUIRE); } /** @@ -373,7 +373,7 @@ public: if (s == 0) { throw std::bad_alloc(); } - return s; + return rtl::OUString(s, SAL_NO_ACQUIRE); } /** @@ -420,7 +420,7 @@ public: if (s == 0) { throw std::bad_alloc(); } - return s; + return rtl::OUString(s, SAL_NO_ACQUIRE); } /** @@ -449,7 +449,7 @@ public: if (s == 0) { throw std::bad_alloc(); } - return s; + return rtl::OUString(s, SAL_NO_ACQUIRE); } /** @@ -467,7 +467,7 @@ public: if (s == 0) { throw std::bad_alloc(); } - return s; + return rtl::OUString(s, SAL_NO_ACQUIRE); } /** @@ -521,7 +521,7 @@ public: if (s == 0) { throw std::bad_alloc(); } - return s; + return rtl::OUString(s, SAL_NO_ACQUIRE); } /** @@ -546,7 +546,7 @@ public: if (s == 0) { throw std::bad_alloc(); } - return s; + return rtl::OUString(s, SAL_NO_ACQUIRE); } /** @@ -611,7 +611,7 @@ public: if (s == 0) { throw std::bad_alloc(); } - return s; + return rtl::OUString(s, SAL_NO_ACQUIRE); } /** @@ -654,7 +654,7 @@ public: if (s == 0) { throw std::bad_alloc(); } - return s; + return rtl::OUString(s, SAL_NO_ACQUIRE); } private: |