summaryrefslogtreecommitdiff
path: root/vcl/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-05-29 13:50:14 +0300
committerTor Lillqvist <tml@collabora.com>2019-05-29 14:07:35 +0300
commit0e296d25e736038e76eab1f64aacff6d1aa3e7b1 (patch)
treeaa136dedb1abc3627374b5d8be44611271064e06 /vcl/ios
parent3f8ac50022215e53b592c1d630dd0609cab4e58e (diff)
The iOS DataFlavorMapper::getAllSupportedPboardTypes() is unused
Change-Id: Icc72fca62e189559956abc0ebbca9ce196a02073
Diffstat (limited to 'vcl/ios')
-rw-r--r--vcl/ios/DataFlavorMapping.cxx12
-rw-r--r--vcl/ios/DataFlavorMapping.hxx4
2 files changed, 0 insertions, 16 deletions
diff --git a/vcl/ios/DataFlavorMapping.cxx b/vcl/ios/DataFlavorMapping.cxx
index a330209a2d36..fab611349c8a 100644
--- a/vcl/ios/DataFlavorMapping.cxx
+++ b/vcl/ios/DataFlavorMapping.cxx
@@ -568,16 +568,4 @@ DataFlavorMapper::typesArrayToFlavorSequence(NSArray* types) const
return flavors;
}
-NSArray* DataFlavorMapper::getAllSupportedPboardTypes()
-{
- NSMutableArray* array = [[NSMutableArray alloc] initWithCapacity:SIZE_FLAVOR_MAP];
-
- for (sal_uInt32 i = 0; i < SIZE_FLAVOR_MAP; i++)
- {
- [array addObject:flavorMap[i].SystemFlavor];
- }
-
- return [array autorelease];
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/ios/DataFlavorMapping.hxx b/vcl/ios/DataFlavorMapping.hxx
index 9485e2561689..936d7fc2f48b 100644
--- a/vcl/ios/DataFlavorMapping.hxx
+++ b/vcl/ios/DataFlavorMapping.hxx
@@ -111,10 +111,6 @@ public:
css::uno::Sequence<css::datatransfer::DataFlavor>
typesArrayToFlavorSequence(NSArray* types) const;
- /* Returns an NSArray containing all pasteboard types supported by OOo
- */
- static NSArray* getAllSupportedPboardTypes();
-
private:
/* Determines if the provided Mime content type is valid.
*/