summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 05:02:45 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 05:02:45 +0000
commit3b2f14f0bbc994385428dd1b22928b8d713d7091 (patch)
treebae9470188014c7993df6ec0cd9ef7a31a84039f /dtrans
parentf788abc0326968f7f5ef2f682637cefc8fa7e43a (diff)
INTEGRATION: CWS warnings01 (1.18.4); FILE MERGED
2006/03/09 20:31:48 pl 1.18.4.1: #i55991# removed warnings for windows platform
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/win32/dnd/source.cxx22
1 files changed, 13 insertions, 9 deletions
diff --git a/dtrans/source/win32/dnd/source.cxx b/dtrans/source/win32/dnd/source.cxx
index c791b05a63e1..46e7e22fd3d4 100644
--- a/dtrans/source/win32/dnd/source.cxx
+++ b/dtrans/source/win32/dnd/source.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: source.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 18:18:03 $
+ * last change: $Author: hr $ $Date: 2006-06-20 06:02:45 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -117,8 +117,8 @@ DragSource::~DragSource()
void DragSource::StartDragImpl(
const DragGestureEvent& trigger,
sal_Int8 sourceActions,
- sal_Int32 cursor,
- sal_Int32 image,
+ sal_Int32 /*cursor*/,
+ sal_Int32 /*image*/,
const Reference<XTransferable >& trans,
const Reference<XDragSourceListener >& listener )
{
@@ -195,7 +195,7 @@ sal_Bool SAL_CALL DragSource::isDragImageSupported( )
//----------------------------------------------------
/**
*/
-sal_Int32 SAL_CALL DragSource::getDefaultCursor( sal_Int8 dragAction )
+sal_Int32 SAL_CALL DragSource::getDefaultCursor( sal_Int8 /*dragAction*/ )
throw( IllegalArgumentException, RuntimeException)
{
return 0;
@@ -308,7 +308,7 @@ HRESULT STDMETHODCALLTYPE DragSource::QueryContinueDrag(
/* [in] */ BOOL fEscapePressed,
/* [in] */ DWORD grfKeyState)
{
-#if DBG_CONSOLE_OUT
+#if defined DBG_CONSOLE_OUT
printf("\nDragSource::QueryContinueDrag");
#endif
@@ -348,9 +348,13 @@ HRESULT STDMETHODCALLTYPE DragSource::QueryContinueDrag(
/**
*/
HRESULT STDMETHODCALLTYPE DragSource::GiveFeedback(
-/* [in] */ DWORD dwEffect)
+/* [in] */ DWORD
+#if defined DBG_CONSOLE_OUT
+dwEffect
+#endif
+)
{
-#if DBG_CONSOLE_OUT
+#if defined DBG_CONSOLE_OUT
printf("\nDragSource::GiveFeedback %d", dwEffect);
#endif
@@ -439,7 +443,7 @@ unsigned __stdcall DndOleSTAFunc(LPVOID pParams)
OleUninitialize();
}
- long cnt = InterlockedDecrement(&pSource->m_RunningDndOperationCount);
+ InterlockedDecrement(&pSource->m_RunningDndOperationCount);
// the DragSource was manually acquired by
// thread starting method DelayedStartDrag