diff options
author | skotti <skotti@wintermute> | 2009-10-27 14:57:42 +0100 |
---|---|---|
committer | skotti <skotti@wintermute> | 2009-10-27 14:57:42 +0100 |
commit | a32c335c3dcff3da622620e6f2aba8669c3692c2 (patch) | |
tree | 5f95d90a2f9066dfabb8dcc565329bd2391953e2 /fpicker/source/office/OfficeFilePicker.cxx | |
parent | e92917d1bc75f095222ec757f0006b8ef6883a9b (diff) | |
parent | b8519a1c00b47e863f7e8499c7e14bf2099b2252 (diff) |
Merge latest DEV300 and CWS sb111
Diffstat (limited to 'fpicker/source/office/OfficeFilePicker.cxx')
-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 0a8b5ca76974..7ea601e57828 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -984,8 +984,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; |