diff options
author | sb <sb@openoffice.org> | 2010-03-04 23:05:27 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-03-04 23:05:27 +0100 |
commit | c79b576a3dbbbce2a67c6215a4180ac060131790 (patch) | |
tree | 32e1b51bf16b501fd7eea6d23f0610eee339fa5f /fpicker/source | |
parent | ff783db420cdb801613ca46ffec6dc6812d9ad0d (diff) | |
parent | 0d0b4e1cdd842808707e570b1dea125f312f2a50 (diff) |
merged in re/DEV300_next towards DEV300_m74
Diffstat (limited to 'fpicker/source')
-rw-r--r-- | fpicker/source/office/OfficeFilePicker.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index e3d4337ca402..516c62fe7580 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -981,8 +981,9 @@ void SAL_CALL SvtFilePicker::appendFilterGroup( const ::rtl::OUString& sGroupTit // check the names if ( FilterNameExists( aFilters ) ) - // TODO: a more precise exception message - throw IllegalArgumentException(); + throw IllegalArgumentException( + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("filter name exists")), + static_cast< OWeakObject * >(this), 1); // ensure that we have a filter list ::rtl::OUString sInitialCurrentFilter; |