From 0e296d25e736038e76eab1f64aacff6d1aa3e7b1 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 29 May 2019 13:50:14 +0300 Subject: The iOS DataFlavorMapper::getAllSupportedPboardTypes() is unused Change-Id: Icc72fca62e189559956abc0ebbca9ce196a02073 --- vcl/ios/DataFlavorMapping.cxx | 12 ------------ vcl/ios/DataFlavorMapping.hxx | 4 ---- 2 files changed, 16 deletions(-) (limited to 'vcl/ios') 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 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. */ -- cgit