summaryrefslogtreecommitdiff
path: root/sal/Library_sal.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-08-23 09:51:48 +0300
committerTor Lillqvist <tml@iki.fi>2013-08-23 21:33:41 +0300
commitd22c94dbf16d18bce39f060aa21f3083169426ca (patch)
tree881dc658f3109135100b010e38b48442c7dcf655 /sal/Library_sal.mk
parent523df6efab74549f1e0d061d48160978ce038f37 (diff)
Make our File>Recent Documents work better when sandboxed
Store security scope bookmarks for files selected in the file picker in the user data. (I looked into storing it in the LO "registry" in the Histories/PickList thingies, but that was horribly complex.) When opening a file, if we have stored a security scope bookmark for it, use that while opening the file. Change-Id: I347ae2dd815299441c17467d9b66a226061d0ed2
Diffstat (limited to 'sal/Library_sal.mk')
-rw-r--r--sal/Library_sal.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk
index 37e01a6bcba9..093546fc9e0d 100644
--- a/sal/Library_sal.mk
+++ b/sal/Library_sal.mk
@@ -75,6 +75,7 @@ ifeq ($(OS),MACOSX)
$(eval $(call gb_Library_use_system_darwin_frameworks,sal,\
Carbon \
CoreFoundation \
+ Foundation \
))
endif
@@ -122,7 +123,7 @@ $(eval $(call gb_Library_add_cobjects,sal,\
sal/osl/all/filepath \
))
-ifeq ($(OS),IOS)
+ifneq (,$(filter IOS MACOSX,$(OS)))
$(eval $(call gb_Library_add_cxxflags,sal,\
$(gb_OBJCXXFLAGS) \
))