summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-07 23:05:53 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-07 23:06:03 +0100
commitdedffc5920d285b5194fff7ff9e23cce8fb5c092 (patch)
tree3611116f779d649d2cde1e4997c79add1d1027b2
parenta1360c8bc1859d59d8cc9e135019efc17115acff (diff)
Remove some dead code
-rw-r--r--dtrans/test/win32/dnd/targetlistener.cxx15
-rw-r--r--sax/source/fastparser/fastparser.cxx1
-rw-r--r--sax/source/tools/converter.cxx2
-rw-r--r--svtools/source/table/tablecontrol.cxx1
4 files changed, 0 insertions, 19 deletions
diff --git a/dtrans/test/win32/dnd/targetlistener.cxx b/dtrans/test/win32/dnd/targetlistener.cxx
index ecc70e472916..28ca305338a9 100644
--- a/dtrans/test/win32/dnd/targetlistener.cxx
+++ b/dtrans/test/win32/dnd/targetlistener.cxx
@@ -29,12 +29,10 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_dtrans.hxx"
-
#include "targetlistener.hxx"
#include <com/sun/star/datatransfer/dnd/DNDConstants.hpp>
#include <com/sun/star/datatransfer/DataFlavor.hpp>
-//using namespace com::sun::star::datatransfer::dnd;
using namespace com::sun::star::datatransfer::dnd::DNDConstants;
using namespace com::sun::star::datatransfer;
using namespace rtl;
@@ -52,21 +50,11 @@ void SAL_CALL DropTargetListener::disposing( const EventObject& Source )
}
-
-
void SAL_CALL DropTargetListener::drop( const DropTargetDropEvent& e )
throw(RuntimeException)
{
-// e.Context->dropComplete( sal_True);
-// e.Context->acceptDrop( ACTION_COPY);
e.Context->rejectDrop();
- // if the Transferable contains text, then we send it to the edit window
-// Sequence<DataFlavor> flavors= e.Transferable->getTransferDataFlavors();
-// DataFlavor aFlavor;
-// for( int i=0; i < flavors.getLength(); i++)
-// aFlavor= flavors[4];
-
DataFlavor flavor( OUString(OUString(RTL_CONSTASCII_USTRINGPARAM("text/plain;charset=windows-1252"))),
OUString(L"Text plain"), getCppuType( ( Sequence<sal_Int8>*)0 ) );
@@ -81,9 +69,6 @@ void SAL_CALL DropTargetListener::dragEnter( const DropTargetDragEnterEvent& dtd
//If one drags something that is not moveable
if( !(dtde.SourceActions & dtde.DropAction) )
dtde.Context->acceptDrag( ACTION_COPY);
-
-// dtde.Context->rejectDrag( );
-
}
void SAL_CALL DropTargetListener::dragExit( const DropTargetEvent& dte )
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 9fdd0117599e..bff58a6a5817 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -49,7 +49,6 @@ using namespace ::cppu;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::xml::sax;
-//using namespace ::com::sun::star::util;
using namespace ::com::sun::star::io;
namespace sax_fastparser {
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index 40e8f5009d10..1e46a7e091df 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -41,8 +41,6 @@ using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::uno;
using namespace com::sun::star::util;
-//using namespace com::sun::star::text;
-//using namespace com::sun::star::style;
using namespace ::com::sun::star::i18n;
namespace sax {
diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx
index f29d06189a80..1ed3894ef883 100644
--- a/svtools/source/table/tablecontrol.cxx
+++ b/svtools/source/table/tablecontrol.cxx
@@ -41,7 +41,6 @@ using ::com::sun::star::accessibility::XAccessible;
using namespace ::com::sun::star::accessibility;
using namespace ::com::sun::star::lang;
using namespace utl;
-//using namespace rtl;
//........................................................................
namespace svt { namespace table
{