diff options
author | sb <sb@openoffice.org> | 2009-12-10 17:46:18 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2009-12-10 17:46:18 +0100 |
commit | d9164f354a8951ad220d5ae937517228296d1922 (patch) | |
tree | 17bcc6282d3708c3331a59513fb40ccefeaaad4b /fpicker | |
parent | b069d0fabfa30848596bdc106380f75a725b686e (diff) | |
parent | 875ac20478f16e5107acb222c0b851b99d2e0f27 (diff) |
sb111: merged in DEV300_m67
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/aqua/SalAquaPicker.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fpicker/source/aqua/SalAquaPicker.cxx b/fpicker/source/aqua/SalAquaPicker.cxx index aaf311de020a..0188fc296af0 100644 --- a/fpicker/source/aqua/SalAquaPicker.cxx +++ b/fpicker/source/aqua/SalAquaPicker.cxx @@ -208,7 +208,10 @@ int SalAquaPicker::run() } if (retVal == NSFileHandlingPanelOKButton) { - implsetDisplayDirectory([[NSURL fileURLWithPath:[m_pDialog directory]] OUStringForInfo:FULLPATH]); + NSString* pDir = [m_pDialog directory]; + if (pDir) { + implsetDisplayDirectory([[NSURL fileURLWithPath:pDir] OUStringForInfo:FULLPATH]); + } } DBG_PRINT_EXIT(CLASS_NAME, __func__, retVal); |