Kaydet (Commit) 222b123b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Improved error reporting

üst f92d2256
...@@ -130,9 +130,9 @@ Reference<XTextSearch> TextSearch::getXTextSearch( const SearchOptions& rPara ) ...@@ -130,9 +130,9 @@ Reference<XTextSearch> TextSearch::getXTextSearch( const SearchOptions& rPara )
rCache.xTextSearch->setOptions( rPara ); rCache.xTextSearch->setOptions( rPara );
rCache.Options = 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; return rCache.xTextSearch;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment