From 18f3cefd507461784003a10ab9699f7cf5b678c0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 13 Jul 2015 18:57:35 +0200 Subject: warning C4101: unreferenced local variable Change-Id: I3d2d46c7b722557f3dbfd95eb2b8649f8078d4df --- shell/source/win32/ooofilereader/basereader.cxx | 2 +- shell/source/win32/ooofilereader/contentreader.cxx | 4 ++-- shell/source/win32/ooofilereader/metainforeader.cxx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'shell/source') diff --git a/shell/source/win32/ooofilereader/basereader.cxx b/shell/source/win32/ooofilereader/basereader.cxx index f4568aade05a..7035c8d714ec 100644 --- a/shell/source/win32/ooofilereader/basereader.cxx +++ b/shell/source/win32/ooofilereader/basereader.cxx @@ -74,7 +74,7 @@ void CBaseReader::Initialize( const std::string& ContentName) parser.parse(&m_ZipContent[0], m_ZipContent.size()); } } - catch(std::exception& ex) + catch(std::exception&) { // OSL_ENSURE( false, ex.what() ); } diff --git a/shell/source/win32/ooofilereader/contentreader.cxx b/shell/source/win32/ooofilereader/contentreader.cxx index 8157abb92e57..24c420a8e746 100644 --- a/shell/source/win32/ooofilereader/contentreader.cxx +++ b/shell/source/win32/ooofilereader/contentreader.cxx @@ -34,7 +34,7 @@ CBaseReader( DocumentName ) m_DefaultLocale = DocumentLocale; Initialize( DOC_CONTENT_NAME ); } - catch(xml_parser_exception& ex) + catch(xml_parser_exception&) { // OSL_ENSURE(false, ex.what()); } @@ -52,7 +52,7 @@ try m_DefaultLocale = DocumentLocale; Initialize( DOC_CONTENT_NAME ); } - catch(xml_parser_exception& ex) + catch(xml_parser_exception&) { // OSL_ENSURE(false, ex.what()); } diff --git a/shell/source/win32/ooofilereader/metainforeader.cxx b/shell/source/win32/ooofilereader/metainforeader.cxx index d9c08c77aa7d..b45b85041bad 100644 --- a/shell/source/win32/ooofilereader/metainforeader.cxx +++ b/shell/source/win32/ooofilereader/metainforeader.cxx @@ -53,7 +53,7 @@ CBaseReader( DocumentName ) Initialize( META_CONTENT_NAME ); } - catch(xml_parser_exception& ex) + catch(xml_parser_exception&) { // OSL_ENSURE(false, ex.what()); } @@ -90,7 +90,7 @@ try Initialize( META_CONTENT_NAME ); } - catch(xml_parser_exception& ex) + catch(xml_parser_exception&) { // OSL_ENSURE(false, ex.what()); } -- cgit