summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-03-04 23:05:27 +0100
committersb <sb@openoffice.org>2010-03-04 23:05:27 +0100
commitc79b576a3dbbbce2a67c6215a4180ac060131790 (patch)
tree32e1b51bf16b501fd7eea6d23f0610eee339fa5f /fpicker
parentff783db420cdb801613ca46ffec6dc6812d9ad0d (diff)
parent0d0b4e1cdd842808707e570b1dea125f312f2a50 (diff)
merged in re/DEV300_next towards DEV300_m74
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/OfficeFilePicker.cxx5
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;