diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-20 12:06:48 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-20 12:07:50 +0900 |
commit | 1f2fd91bf1acc4b6e0b102738c319ce074b7faf7 (patch) | |
tree | 6b066dc32fdbac18dd6dea3cadb5999860412b7b /linguistic/source/dlistimp.cxx | |
parent | add0b7de36f4b0d133906fdd9647d742c33dd63b (diff) |
catch exception by constant reference
Diffstat (limited to 'linguistic/source/dlistimp.cxx')
-rw-r--r-- | linguistic/source/dlistimp.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx index bec538d6c706..ac4f143847a7 100644 --- a/linguistic/source/dlistimp.cxx +++ b/linguistic/source/dlistimp.cxx @@ -909,10 +909,9 @@ static sal_Bool IsVers2OrNewer( const String& rFileURL, sal_uInt16& nLng, sal_Bo A2OU( "com.sun.star.ucb.SimpleFileAccess" ) ), uno::UNO_QUERY_THROW ); xStream = xAccess->openFileRead( rFileURL ); } - catch (uno::Exception & e) + catch (const uno::Exception &) { DBG_ASSERT( 0, "failed to get input stream" ); - (void) e; } DBG_ASSERT( xStream.is(), "failed to get stream for read" ); if (!xStream.is()) |