summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-04-19 14:54:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-04-19 15:13:46 +0200
commit222b123bd1b31705f236be0f37b24802adcd87a4 (patch)
treeb1a749ab9039f661a20acd382027ac1c509a57f5 /unotools
parentf92d22565d4d389b0c93d45a1995521431585694 (diff)
Improved error reporting
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/i18n/textsearch.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx
index ed6e491924b6..4e94226ed194 100644
--- a/unotools/source/i18n/textsearch.cxx
+++ b/unotools/source/i18n/textsearch.cxx
@@ -130,9 +130,9 @@ Reference<XTextSearch> TextSearch::getXTextSearch( const SearchOptions& rPara )
rCache.xTextSearch->setOptions( rPara );
rCache.Options = rPara;
}
- catch ( Exception& )
+ catch ( Exception& e )
{
- SAL_WARN( "unotools.i18n", "TextSearch ctor: Exception caught!" );
+ SAL_WARN( "unotools.i18n", "caught " << e.Message );
}
return rCache.xTextSearch;
}