diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-10-08 19:08:22 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-10-08 19:09:59 +0300 |
commit | d61f8185e660a6820351b8cea3ac51d344f0ab3e (patch) | |
tree | 182764f56e8d0dd38766ec90ca70b88e43b639b6 /svx/source/gallery2 | |
parent | 96d091d43428472c2c68054ed5dca22f79adc705 (diff) |
Fix thinko. Thanks to vmiklos for noticing
Change-Id: Id4e65908cc73978205bc0858a3a809b882864b62
Diffstat (limited to 'svx/source/gallery2')
-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 e9ce8b614bcb..ba7c761d9ca3 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> @@ -245,7 +245,7 @@ void Gallery::ImplLoadSubDirs( const INetURLObject& rBaseURL, bool& rbDirIsReadO 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]; |