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

Caolán McNamara caolanm at redhat.com
Thu Jan 22 05:36:44 PST 2015


 sax/source/fastparser/fastparser.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit c0c1b01a32b91984d61f2d0b9146719fcaed7e09
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jan 22 13:36:01 2015 +0000

    WaE: warning C4101: ´e´ : unreferenced local variable
    
    Change-Id: Ifa143e5a8f0e8254fbd324032951517d3a30c4c8

diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 82a2856..38a1d2e 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -456,7 +456,7 @@ void Entity::startElement( Event *pEvent )
         maContextStack.top().mxContext.set( static_cast<XFastContextHandler *>( xContext.get() ) );
         xContext.set( NULL, UNO_REF_NO_ACQUIRE );
     }
-    catch (const Exception& e)
+    catch (const Exception&)
     {
         saveException( ::cppu::getCaughtException() );
     }
@@ -475,7 +475,7 @@ void Entity::characters( const OUString& sChars )
     {
         xContext->characters( sChars );
     }
-    catch (const Exception& e)
+    catch (const Exception&)
     {
         saveException( ::cppu::getCaughtException() );
     }
@@ -499,7 +499,7 @@ void Entity::endElement()
         else
             xContext->endUnknownElement( aContext.maNamespace, aContext.maElementName );
     }
-    catch (const Exception& e)
+    catch (const Exception&)
     {
         saveException( ::cppu::getCaughtException() );
     }


More information about the Libreoffice-commits mailing list