diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-09-18 10:39:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-09-18 14:41:57 +0200 |
commit | e19a21add0d1f559edc28451eddeb11335cffd21 (patch) | |
tree | aeace52937023e7a36b81f9203af8b072d88c1ca /extensions | |
parent | 738bcd238297966de197c02efc95554a08b16c9e (diff) |
loplugin:external (macOS)
Change-Id: Ib06572a844d2999e9ecd91e26abd98ecec06a0ae
Reviewed-on: https://gerrit.libreoffice.org/60665
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/macosx/spotlight/OOoSpotlightImporter.m | 2 | ||||
-rw-r--r-- | extensions/source/macosx/spotlight/main.m | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/extensions/source/macosx/spotlight/OOoSpotlightImporter.m b/extensions/source/macosx/spotlight/OOoSpotlightImporter.m index dde2c473437b..07e19332060a 100644 --- a/extensions/source/macosx/spotlight/OOoSpotlightImporter.m +++ b/extensions/source/macosx/spotlight/OOoSpotlightImporter.m @@ -284,7 +284,7 @@ static bool findDataStream(NSFileHandle *file, CentralDirectoryEntry *entry, NSS return true; } -NSData *getUncompressedData(NSFileHandle *file, NSString *name) +static NSData *getUncompressedData(NSFileHandle *file, NSString *name) { CentralDirectoryEntry entry; if (!findDataStream(file, &entry, name)) diff --git a/extensions/source/macosx/spotlight/main.m b/extensions/source/macosx/spotlight/main.m index 7bbf2c75cbe9..b1a6381a7363 100644 --- a/extensions/source/macosx/spotlight/main.m +++ b/extensions/source/macosx/spotlight/main.m @@ -64,11 +64,11 @@ typedef struct // Forward declaration for the IUnknown implementation. // -MetadataImporterPluginType *AllocMetadataImporterPluginType(CFUUIDRef inFactoryID); -void DeallocMetadataImporterPluginType(MetadataImporterPluginType *thisInstance); -HRESULT MetadataImporterQueryInterface(void *thisInstance,REFIID iid,LPVOID *ppv); -ULONG MetadataImporterPluginAddRef(void *thisInstance); -ULONG MetadataImporterPluginRelease(void *thisInstance); +static MetadataImporterPluginType *AllocMetadataImporterPluginType(CFUUIDRef inFactoryID); +static void DeallocMetadataImporterPluginType(MetadataImporterPluginType *thisInstance); +static HRESULT MetadataImporterQueryInterface(void *thisInstance,REFIID iid,LPVOID *ppv); +static ULONG MetadataImporterPluginAddRef(void *thisInstance); +static ULONG MetadataImporterPluginRelease(void *thisInstance); // testInterfaceFtbl definition // The TestInterface function table. // |