summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2009-12-01 13:31:23 +0100
committersb <sb@openoffice.org>2009-12-01 13:31:23 +0100
commita472204849c6aed1e745381fdf99f222a08cb78d (patch)
treef9ef6e77c2e1d7910b54f6a578c5b637f7c17d2e /fpicker
parentef1ec7001a06a6ba0fdbed702bcd7a6fec58eaf9 (diff)
parenta5ac728f76dd10e5623f2b14a451fe7291d1368d (diff)
sb111: merged in to-the-side QA fixes
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 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;