diff options
-rw-r--r-- | svx/source/gallery2/gallery1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx index 8f07ffcf08f3..c50050f6b0f6 100644 --- a/svx/source/gallery2/gallery1.cxx +++ b/svx/source/gallery2/gallery1.cxx @@ -19,7 +19,7 @@ #include <config_features.h> -#if defined(MACOSX) && defined(HAVE_FEATURE_READONLY_INSTALLSET) +#if defined(MACOSX) && HAVE_FEATURE_READONLY_INSTALLSET #define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 #include <premac.h> #include <Foundation/Foundation.h> @@ -244,7 +244,7 @@ void Gallery::ImplLoadSubDirs( const INetURLObject& rBaseURL, sal_Bool& rbDirIsR uno::Reference< sdbc::XResultSet > xResultSet( aCnt.createCursor( aProps, ::ucbhelper::INCLUDE_DOCUMENTS_ONLY ) ); -#if defined(MACOSX) && defined(HAVE_FEATURE_READONLY_INSTALLSET) +#if defined(MACOSX) && HAVE_FEATURE_READONLY_INSTALLSET if( rBaseURL.GetProtocol() == INET_PROT_FILE ) { const char *appBundle = [[[NSBundle mainBundle] bundlePath] UTF8String]; |