summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/dnd/sourcecontext.cxx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-04-10 16:29:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-04-19 16:52:03 +0200
commiteeaa2ecd1e1f6e0f468854b891de0caa28c470e6 (patch)
tree8301967148dea710244b57c008b4fa18d176965a /dtrans/source/win32/dnd/sourcecontext.cxx
parentef08518fcfdab0e5fd5c61aa4fb4f7907fcb8355 (diff)
remove unused component_canUnload functions
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
Diffstat (limited to 'dtrans/source/win32/dnd/sourcecontext.cxx')
-rw-r--r--dtrans/source/win32/dnd/sourcecontext.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/dtrans/source/win32/dnd/sourcecontext.cxx b/dtrans/source/win32/dnd/sourcecontext.cxx
index 413e9471e9e7..a9f1c090dac1 100644
--- a/dtrans/source/win32/dnd/sourcecontext.cxx
+++ b/dtrans/source/win32/dnd/sourcecontext.cxx
@@ -20,11 +20,9 @@
#include <com/sun/star/datatransfer/dnd/DNDConstants.hpp>
#include "sourcecontext.hxx"
-#include <rtl/unload.h>
using namespace com::sun::star::datatransfer::dnd;
using namespace com::sun::star::datatransfer::dnd::DNDConstants;
-extern rtl_StandardModuleCount g_moduleCount;
SourceContext::SourceContext( DragSource* pSource,
const Reference<XDragSourceListener>& listener):
@@ -32,7 +30,6 @@ SourceContext::SourceContext( DragSource* pSource,
m_pDragSource( pSource),
m_dragSource( static_cast<XDragSource*>( m_pDragSource) )
{
- g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt );
#if OSL_DEBUG_LEVEL > 1
if( listener.is())
#endif
@@ -41,7 +38,6 @@ SourceContext::SourceContext( DragSource* pSource,
SourceContext::~SourceContext()
{
- g_moduleCount.modCnt.release( &g_moduleCount.modCnt );
}
void SAL_CALL SourceContext::addDragSourceListener(