summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/unoobj/servuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/servuno.cxx')
-rw-r--r--sc/source/ui/unoobj/servuno.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/servuno.cxx b/sc/source/ui/unoobj/servuno.cxx
index 898ad98ce86f..e83c19437215 100644
--- a/sc/source/ui/unoobj/servuno.cxx
+++ b/sc/source/ui/unoobj/servuno.cxx
@@ -29,7 +29,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sc.hxx"
-#include <tools/debug.hxx>
#include <sal/macros.h>
#include <svtools/unoimap.hxx>
#include <svx/unofill.hxx>
@@ -393,7 +392,7 @@ sal_uInt16 ScServiceProvider::GetProviderType(const String& rServiceName)
sal_uInt16 i;
for (i=0; i<SC_SERVICE_COUNT; i++)
{
- DBG_ASSERT( aOldNames[i], "ScServiceProvider::GetProviderType: no oldname => crash");
+ OSL_ENSURE( aOldNames[i], "ScServiceProvider::GetProviderType: no oldname => crash");
if (rServiceName.EqualsAscii( aOldNames[i] ))
{
OSL_FAIL("old service name used");