extensions/source/macosx/spotlight/GetMetadataForFile.m | 7 +++++++ extensions/source/macosx/spotlight/OOoContentDataParser.m | 7 +++++++ extensions/source/macosx/spotlight/OOoMetaDataParser.m | 7 +++++++ extensions/source/macosx/spotlight/OOoSpotlightImporter.m | 7 +++++++ 4 files changed, 28 insertions(+)
New commits: commit 9d1dc25f564dada022e1b62fec834d183a1fd258 Author: Tor Lillqvist <t...@iki.fi> Date: Wed Oct 26 17:44:12 2011 +0300 Copy-pasted workaround for building against MacOSX 10.6 SDK but with 10.4 as the highest used API Yeah, should really factor out this snippet into some header file. It is already in premac.h, but I think premac.h can't be included as such in all the places where this copy-pasted snippet now is. Need to experiment. diff --git a/extensions/source/macosx/spotlight/GetMetadataForFile.m b/extensions/source/macosx/spotlight/GetMetadataForFile.m index 78a6af5..e47603d 100644 --- a/extensions/source/macosx/spotlight/GetMetadataForFile.m +++ b/extensions/source/macosx/spotlight/GetMetadataForFile.m @@ -26,6 +26,13 @@ * *************************************************************************/ +#import <Foundation/NSObjCRuntime.h> +#if defined (NSFoundationVersionNumber10_5) && MAC_OS_X_VERSION_MAX_ALLOWED < 1050 +@class CALayer; +@class NSViewController; +typedef int NSColorRenderingIntent; +#endif + #include <CoreFoundation/CoreFoundation.h> #include <CoreServices/CoreServices.h> #include <Foundation/Foundation.h> diff --git a/extensions/source/macosx/spotlight/OOoContentDataParser.m b/extensions/source/macosx/spotlight/OOoContentDataParser.m index a41a108..a35b219 100644 --- a/extensions/source/macosx/spotlight/OOoContentDataParser.m +++ b/extensions/source/macosx/spotlight/OOoContentDataParser.m @@ -26,6 +26,13 @@ * *************************************************************************/ +#import <Foundation/NSObjCRuntime.h> +#if defined (NSFoundationVersionNumber10_5) && MAC_OS_X_VERSION_MAX_ALLOWED < 1050 +@class CALayer; +@class NSViewController; +typedef int NSColorRenderingIntent; +#endif + #import "OOoContentDataParser.h" @implementation OOoContentDataParser diff --git a/extensions/source/macosx/spotlight/OOoMetaDataParser.m b/extensions/source/macosx/spotlight/OOoMetaDataParser.m index 3c8bb4c..cb26f91 100644 --- a/extensions/source/macosx/spotlight/OOoMetaDataParser.m +++ b/extensions/source/macosx/spotlight/OOoMetaDataParser.m @@ -26,6 +26,13 @@ * *************************************************************************/ +#import <Foundation/NSObjCRuntime.h> +#if defined (NSFoundationVersionNumber10_5) && MAC_OS_X_VERSION_MAX_ALLOWED < 1050 +@class CALayer; +@class NSViewController; +typedef int NSColorRenderingIntent; +#endif + #import "OOoMetaDataParser.h" static NSSet *singleValueXMLElements; diff --git a/extensions/source/macosx/spotlight/OOoSpotlightImporter.m b/extensions/source/macosx/spotlight/OOoSpotlightImporter.m index 884fb80..dcb6153 100644 --- a/extensions/source/macosx/spotlight/OOoSpotlightImporter.m +++ b/extensions/source/macosx/spotlight/OOoSpotlightImporter.m @@ -26,6 +26,13 @@ * *************************************************************************/ +#import <Foundation/NSObjCRuntime.h> +#if defined (NSFoundationVersionNumber10_5) && MAC_OS_X_VERSION_MAX_ALLOWED < 1050 +@class CALayer; +@class NSViewController; +typedef int NSColorRenderingIntent; +#endif + #import "OOoSpotlightImporter.h" #import "OOoMetaDataParser.h" #import "OOoContentDataParser.h" _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits