[Libreoffice-commits] core.git: shell/source

Stephan Bergmann sbergman at redhat.com
Mon Jul 13 09:58:27 PDT 2015


 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(-)

New commits:
commit 18f3cefd507461784003a10ab9699f7cf5b678c0
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jul 13 18:57:35 2015 +0200

    warning C4101: unreferenced local variable
    
    Change-Id: I3d2d46c7b722557f3dbfd95eb2b8649f8078d4df

diff --git a/shell/source/win32/ooofilereader/basereader.cxx b/shell/source/win32/ooofilereader/basereader.cxx
index f4568aa..7035c8d 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 8157abb..24c420a 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 d9c08c7..b45b850 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());
     }


More information about the Libreoffice-commits mailing list