summaryrefslogtreecommitdiff
path: root/fpicker/source/generic/fpicker.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-07-11 10:01:20 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-07-11 10:01:20 +0000
commite2abcd0b0ffec098e235acb2b8858a394462b5ab (patch)
tree48a71360cf812c773c08c88a2ded765dd376d3ee /fpicker/source/generic/fpicker.cxx
parent799bbc84ddf66c749b5ce6cf4f86fce56846cbe9 (diff)
INTEGRATION: CWS aquafilepicker01 (1.4.6); FILE MERGED
2007/06/16 11:34:19 pjanik 1.4.6.3: #i74798#: Revert back all whitespace changes, add back precompiled include. 2007/06/15 21:25:50 fheckl 1.4.6.2: cleanup changes 2006/10/06 21:18:34 fheckl 1.4.6.1: Initial version of MacOSX native file picker
Diffstat (limited to 'fpicker/source/generic/fpicker.cxx')
-rw-r--r--fpicker/source/generic/fpicker.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/fpicker/source/generic/fpicker.cxx b/fpicker/source/generic/fpicker.cxx
index adcc416e9d97..c6833d40cbee 100644
--- a/fpicker/source/generic/fpicker.cxx
+++ b/fpicker/source/generic/fpicker.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: fpicker.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 17:49:17 $
+ * last change: $Author: ihi $ $Date: 2007-07-11 11:01:20 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -80,6 +80,8 @@ static OUString FilePicker_getSystemPickerServiceName()
return OUString (RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.ui.dialogs.GtkFilePicker"));
else if (aDesktopEnvironment.equalsIgnoreAsciiCaseAscii ("kde"))
return OUString (RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.ui.dialogs.KDEFilePicker"));
+ else if (aDesktopEnvironment.equalsIgnoreAsciiCaseAscii ("macosx"))
+ return OUString (RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.ui.dialogs.AquaFilePicker"));
else
return OUString (RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.ui.dialogs.SystemFilePicker"));
}
@@ -146,6 +148,8 @@ static OUString FolderPicker_getSystemPickerServiceName()
return OUString (RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.ui.dialogs.GtkFolderPicker"));
else if (aDesktopEnvironment.equalsIgnoreAsciiCaseAscii ("kde"))
return OUString (RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.ui.dialogs.KDEFolderPicker"));
+ else if (aDesktopEnvironment.equalsIgnoreAsciiCaseAscii ("macosx"))
+ return OUString (RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.ui.dialogs.AquaFolderPicker"));
else
return OUString (RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.ui.dialogs.SystemFolderPicker"));
}