summaryrefslogtreecommitdiff
path: root/fpicker/source
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-05 18:01:50 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-05 18:03:55 +0300
commit877de645ffb45b8446d9195996d1a56a8a89e64b (patch)
tree0b7243f1903958ecc1ca648bde4bfc506c1408d8 /fpicker/source
parent8d6030fa420cb999572b0770fb52442e1b5b8190 (diff)
WaE: unreachable code
Diffstat (limited to 'fpicker/source')
-rw-r--r--fpicker/source/generic/fpicker.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/fpicker/source/generic/fpicker.cxx b/fpicker/source/generic/fpicker.cxx
index bb3828791331..1444fde3a194 100644
--- a/fpicker/source/generic/fpicker.cxx
+++ b/fpicker/source/generic/fpicker.cxx
@@ -67,6 +67,8 @@ static OUString FilePicker_getSystemPickerServiceName()
return OUString (RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.ui.dialogs.KDE4FilePicker"));
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"));
#endif
#ifdef WNT
if (SvtMiscOptions().TryODMADialog() && ::odma::DMSsAvailable()) {
@@ -74,7 +76,6 @@ static OUString FilePicker_getSystemPickerServiceName()
}
return OUString (RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.ui.dialogs.Win32FilePicker"));
#endif
- return OUString (RTL_CONSTASCII_USTRINGPARAM ("com.sun.star.ui.dialogs.SystemFilePicker"));
}
static Reference< css::uno::XInterface > FilePicker_createInstance (