diff options
author | Oliver Bolte <obo@openoffice.org> | 2009-02-16 08:33:19 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2009-02-16 08:33:19 +0000 |
commit | c2969d16b8548242d6fa8774459a07e96022c90f (patch) | |
tree | 057fcb3b665031b3fa399ddd440c2a701a78d89f /fpicker | |
parent | 9ca79e4a309c35023dfad6cb755be6c93f301a8a (diff) |
CWS-TOOLING: integrate CWS macmiscfixes
2009-01-26 07:58:26 +0100 fheckl r266898 : 97394 add a small memory leak fix
2009-01-24 20:56:18 +0100 ericb r266885 : #i95688# better fix suggested by rvojta
2009-01-24 17:13:37 +0100 rakeshpandit r266882 : #i98428# Fixed a missing ';'.
2009-01-24 00:25:43 +0100 ericb r266859 : #i95688# a try to fix the send active document including when the name contains space
2009-01-24 00:23:59 +0100 ericb r266858 : #i97394# fix aliases (disabled) in save dialog. Patch provided by Robert Vojta
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/aqua/FilterHelper.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fpicker/source/aqua/FilterHelper.cxx b/fpicker/source/aqua/FilterHelper.cxx index 069395f0a442..3e7b04021f3a 100644 --- a/fpicker/source/aqua/FilterHelper.cxx +++ b/fpicker/source/aqua/FilterHelper.cxx @@ -407,6 +407,15 @@ sal_Bool FilterHelper::filenameMatchesFilter(NSString* sFilename) // OSL_TRACE(" folder"); return sal_True; } + + NSFileWrapper *wrapper = [[NSFileWrapper alloc] initWithPath:sFilename]; + MacOSBOOL bIsLink = [wrapper isSymbolicLink]; + [wrapper release]; + if (bIsLink) { +// OSL_TRACE(" symboliclink"); + return sal_True; + } + // OSL_TRACE(" file"); FilterList::iterator filter = ::std::find_if(m_pFilterList->begin(), m_pFilterList->end(), FilterTitleMatch(m_aCurrentFilter)); |