summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-13 18:57:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-13 18:57:35 +0200
commit18f3cefd507461784003a10ab9699f7cf5b678c0 (patch)
treeae257d30aea361f219734721a6eb17b43450417e /shell
parent67badfc9da5254d7c9fba2101157c6f6230611de (diff)
warning C4101: unreferenced local variable
Change-Id: I3d2d46c7b722557f3dbfd95eb2b8649f8078d4df
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/ooofilereader/basereader.cxx2
-rw-r--r--shell/source/win32/ooofilereader/contentreader.cxx4
-rw-r--r--shell/source/win32/ooofilereader/metainforeader.cxx4
3 files changed, 5 insertions, 5 deletions
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());
}