diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-02-28 14:27:15 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-02-28 16:30:24 +0200 |
commit | ce433069f1b1c39ba368d5d2fc8008b6e9148324 (patch) | |
tree | eafa20b7d8e4f352e903f74a4a8969fbe11b7784 /vcl/osx/DataFlavorMapping.cxx | |
parent | 69a7d9aea25240ababb298e5b8a89d2492057ca6 (diff) |
Add SAL_OVERRIDE markup for the vcl OS X and iOS code, and follow-up cleanup
Thanks to SAL_OVERRIDE, I found a couple of unused functions and
several that were virtual even if they did not override anything and
were not overridden in any derived class.
Change-Id: I5981111d2fc38f75a384c52359546a973e772393
Diffstat (limited to 'vcl/osx/DataFlavorMapping.cxx')
-rw-r--r-- | vcl/osx/DataFlavorMapping.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/vcl/osx/DataFlavorMapping.cxx b/vcl/osx/DataFlavorMapping.cxx index 25ec32e60a37..b971b05e4e7a 100644 --- a/vcl/osx/DataFlavorMapping.cxx +++ b/vcl/osx/DataFlavorMapping.cxx @@ -194,9 +194,9 @@ public: UniDataProvider(NSData* data); - virtual NSData* getSystemData(); + virtual NSData* getSystemData() SAL_OVERRIDE; - virtual Any getOOoData(); + virtual Any getOOoData() SAL_OVERRIDE; }; UniDataProvider::UniDataProvider(const Any& data) : @@ -247,9 +247,9 @@ public: ByteSequenceDataProvider(NSData* data); - virtual NSData* getSystemData(); + virtual NSData* getSystemData() SAL_OVERRIDE; - virtual Any getOOoData(); + virtual Any getOOoData() SAL_OVERRIDE; }; ByteSequenceDataProvider::ByteSequenceDataProvider(const Any& data) : @@ -301,9 +301,9 @@ public: HTMLFormatDataProvider(NSData* data); - virtual NSData* getSystemData(); + virtual NSData* getSystemData() SAL_OVERRIDE; - virtual Any getOOoData(); + virtual Any getOOoData() SAL_OVERRIDE; }; HTMLFormatDataProvider::HTMLFormatDataProvider(const Any& data) : @@ -367,9 +367,9 @@ public: PNGDataProvider( NSData*, NSBitmapImageFileType); - virtual NSData* getSystemData(); + virtual NSData* getSystemData() SAL_OVERRIDE; - virtual Any getOOoData(); + virtual Any getOOoData() SAL_OVERRIDE; }; PNGDataProvider::PNGDataProvider( const Any& data, NSBitmapImageFileType eImageType) : @@ -431,8 +431,8 @@ public: FileListDataProvider(const Any& data); FileListDataProvider(NSArray* data); - virtual NSData* getSystemData(); - virtual Any getOOoData(); + virtual NSData* getSystemData() SAL_OVERRIDE; + virtual Any getOOoData() SAL_OVERRIDE; }; FileListDataProvider::FileListDataProvider(const Any& data) : |