diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2016-11-05 12:41:32 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2016-11-05 13:54:14 +0000 |
commit | 8f79079fa97acd084d8afbcc1a4f525d276fb05f (patch) | |
tree | 8ae36cb467022d5927218196738ad10a00ff41ac /sfx2/source | |
parent | a04cda96c6b70314546a8126783e573e16c78e1d (diff) |
Replace OSL_ENSURE by SAL_WARN_IF + clean include
Change-Id: I4d3a50fda2f865a546aafc38f06096117da34711
Reviewed-on: https://gerrit.libreoffice.org/30588
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/appl/app.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index ad86ee81b671..307e21873fd6 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -35,7 +35,6 @@ #include <svl/svdde.hxx> #include <unotools/configmgr.hxx> #include <unotools/tempfile.hxx> -#include <osl/file.hxx> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/frame/XFrameActionListener.hpp> #include <com/sun/star/frame/XComponentLoader.hpp> @@ -217,7 +216,7 @@ SfxApplication::SfxApplication() SfxApplication::~SfxApplication() { - OSL_ENSURE( GetObjectShells_Impl().size() == 0, "Memory leak: some object shells were not removed!" ); + SAL_WARN_IF(GetObjectShells_Impl().size() != 0, "sfx.appl", "Memory leak: some object shells were not removed!"); Broadcast( SfxHint(SFX_HINT_DYING) ); |