summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/dnd/source.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/win32/dnd/source.cxx')
-rw-r--r--dtrans/source/win32/dnd/source.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/dtrans/source/win32/dnd/source.cxx b/dtrans/source/win32/dnd/source.cxx
index 8c05d8806601..f81b37601635 100644
--- a/dtrans/source/win32/dnd/source.cxx
+++ b/dtrans/source/win32/dnd/source.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -49,7 +50,6 @@
#define __uuidof(I) IID_##I
#endif
-using namespace rtl;
using namespace cppu;
using namespace osl;
using namespace com::sun::star::datatransfer;
@@ -60,6 +60,8 @@ using namespace com::sun::star::awt::MouseButton;
using namespace com::sun::star::awt;
using namespace com::sun::star::lang;
+using ::rtl::OUString;
+
extern rtl_StandardModuleCount g_moduleCount;
//--> TRA
@@ -212,8 +214,6 @@ void SAL_CALL DragSource::startDrag(
}
else
{
- //OSL_ENSURE(false, "Overlapping Drag&Drop operation rejected!");
-
cnt = InterlockedDecrement(&m_RunningDndOperationCount);
DragSourceDropEvent dsde;
@@ -227,7 +227,7 @@ void SAL_CALL DragSource::startDrag(
}
catch(RuntimeException&)
{
- OSL_ENSURE(false, "Runtime exception during event dispatching");
+ OSL_FAIL("Runtime exception during event dispatching");
}
}
}
@@ -429,3 +429,4 @@ unsigned __stdcall DndOleSTAFunc(LPVOID pParams)
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */