summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-25 10:21:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-25 10:27:53 +0000
commit8c8478ff36a79e58c29ebdb092ba36ebe5535fbb (patch)
tree7b50de39a4144d5109271ae23828739052638da4 /linguistic
parent97b31c731fe79bb5c9fcd84d31c61a3b0ae76302 (diff)
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdic.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx
index f0988a04b2ad..5285dc41ad37 100644
--- a/linguistic/source/convdic.cxx
+++ b/linguistic/source/convdic.cxx
@@ -111,8 +111,6 @@ void ReadThroughDic( const String &rMainURL, ConvDicXMLImport &rImport )
SvStreamPtr pStream = SvStreamPtr( utl::UcbStreamHelper::CreateStream( xIn ) );
- ULONG nError = sal::static_int_cast< ULONG >(-1);
-
// prepare ParserInputSource
xml::sax::InputSource aParserInput;
aParserInput.aInputStream = xIn;
@@ -145,18 +143,12 @@ void ReadThroughDic( const String &rMainURL, ConvDicXMLImport &rImport )
try
{
xParser->parseStream( aParserInput ); // implicitly calls ConvDicXMLImport::CreateContext
- if (rImport.GetSuccess())
- nError = 0;
}
catch( xml::sax::SAXParseException& )
{
-// if( bEncrypted )
-// nError = ERRCODE_SFX_WRONGPASSWORD;
}
catch( xml::sax::SAXException& )
{
-// if( bEncrypted )
-// nError = ERRCODE_SFX_WRONGPASSWORD;
}
catch( io::IOException& )
{