diff options
author | Honza Havlíček <havlicek.honza@gmail.com> | 2013-07-27 03:14:27 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-07-30 13:45:03 +0000 |
commit | d7b48d03e19d2c05ecf2143b1547ceab5ab89e5c (patch) | |
tree | 3a5b49e0f660c3e99321cd268eae1bec68b3a855 /sw/inc/unobaseclass.hxx | |
parent | 5f7860bc2735bad3cd27552867ce25096835dcbb (diff) |
fdo#43157 - Clean up OSL_ENSURE
Change-Id: I5ba15eaa82479aa68b98ce4dcd7827f31b239c98
Reviewed-on: https://gerrit.libreoffice.org/5139
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'sw/inc/unobaseclass.hxx')
-rw-r--r-- | sw/inc/unobaseclass.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/inc/unobaseclass.hxx b/sw/inc/unobaseclass.hxx index 3537cd2769cc..483bd2927530 100644 --- a/sw/inc/unobaseclass.hxx +++ b/sw/inc/unobaseclass.hxx @@ -87,7 +87,6 @@ void ClientModify(SwClient* pClient, const SfxPoolItem *pOld, const SfxPoolItem #include <boost/utility.hpp> -#include <osl/diagnose.h> #include <osl/mutex.hxx> #include <vcl/svapp.hxx> @@ -103,7 +102,7 @@ namespace sw { UnoImplPtr(T *const i_p) : m_p(i_p) { - OSL_ENSURE(i_p, "UnoImplPtr: null"); + SAL_WARN_IF(!i_p, "sw", "UnoImplPtr: null"); } ~UnoImplPtr() |