summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-04 16:28:49 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-08-05 09:39:22 +0000
commit403c13487c36f4200adf0986c5d11398f719cd7a (patch)
tree21a4acf87dce1e6c8772f5cbcff3c2a3de21f4ba /svtools
parent10560949f90e08fe4a04dd91c7d388c4998100e8 (diff)
loplugin:unusedmethods
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba Reviewed-on: https://gerrit.libreoffice.org/17506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/misc/transfer2.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/svtools/source/misc/transfer2.cxx b/svtools/source/misc/transfer2.cxx
index c3e09908153d..b74bcd50223c 100644
--- a/svtools/source/misc/transfer2.cxx
+++ b/svtools/source/misc/transfer2.cxx
@@ -340,24 +340,6 @@ bool DropTargetHelper::IsDropFormatSupported( SotClipboardFormatId nFormat )
-bool DropTargetHelper::IsDropFormatSupported( const DataFlavor& rFlavor )
-{
- DataFlavorExVector::iterator aIter( mpFormats->begin() ), aEnd( mpFormats->end() );
- bool bRet = false;
-
- while( aIter != aEnd )
- {
- if( TransferableDataHelper::IsEqual( rFlavor, *aIter++ ) )
- {
- bRet = true;
- aIter = aEnd;
- }
- }
-
- return bRet;
-}
-
-
// TransferDataContainer