summaryrefslogtreecommitdiff
path: root/linguistic/source/convdic.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source/convdic.cxx')
-rw-r--r--linguistic/source/convdic.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx
index 4662a360776e..3febdd461f6a 100644
--- a/linguistic/source/convdic.cxx
+++ b/linguistic/source/convdic.cxx
@@ -99,10 +99,9 @@ void ReadThroughDic( const String &rMainURL, ConvDicXMLImport &rImport )
A2OU( "com.sun.star.ucb.SimpleFileAccess" ) ), uno::UNO_QUERY_THROW );
xIn = xAccess->openFileRead( rMainURL );
}
- catch (uno::Exception & e)
+ catch (const uno::Exception &)
{
DBG_ASSERT( 0, "failed to get input stream" );
- (void) e;
}
if (!xIn.is())
return;
@@ -274,10 +273,9 @@ void ConvDic::Save()
A2OU( "com.sun.star.ucb.SimpleFileAccess" ) ), uno::UNO_QUERY_THROW );
xStream = xAccess->openFileReadWrite( aMainURL );
}
- catch (uno::Exception & e)
+ catch (const uno::Exception &)
{
DBG_ASSERT( 0, "failed to get input stream" );
- (void) e;
}
if (!xStream.is())
return;