[Libreoffice-commits] .: ucb/source

Tor Lillqvist tml at kemper.freedesktop.org
Tue Oct 4 08:08:45 PDT 2011


 ucb/source/cacher/cachedcontentresultset.cxx  |    2 +-
 ucb/source/cacher/contentresultsetwrapper.cxx |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 73a038df3769f5c6776dcd8f4e36d6d0165b8554
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Tue Oct 4 17:19:36 2011 +0300

    WaE: unreferenced local variable

diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx
index 6a296c4..c26eed6 100644
--- a/ucb/source/cacher/cachedcontentresultset.cxx
+++ b/ucb/source/cacher/cachedcontentresultset.cxx
@@ -792,7 +792,7 @@ sal_Bool SAL_CALL CachedContentResultSet
                 return bValid;
             }
         }
-        catch (const SQLException& rEx)
+        catch (const SQLException&)
         {
             if( !bAfterLastApplied && !bAfterLast && nRow > nLastAppliedPos && impl_isForwardOnly() )
             {
diff --git a/ucb/source/cacher/contentresultsetwrapper.cxx b/ucb/source/cacher/contentresultsetwrapper.cxx
index fbed827..326ade7 100644
--- a/ucb/source/cacher/contentresultsetwrapper.cxx
+++ b/ucb/source/cacher/contentresultsetwrapper.cxx
@@ -613,7 +613,7 @@ void SAL_CALL ContentResultSetWrapper
             m_xPropertySetOrigin->addPropertyChangeListener(
                 OUString(), static_cast< XPropertyChangeListener * >( m_pMyListenerImpl ) );
         }
-        catch( Exception& rEx )
+        catch( Exception& )
         {
             m_pPropertyChangeListeners->removeInterface( aPropertyName, xListener );
             throw;
@@ -664,7 +664,7 @@ void SAL_CALL ContentResultSetWrapper
             m_xPropertySetOrigin->addVetoableChangeListener(
                 OUString(), static_cast< XVetoableChangeListener * >( m_pMyListenerImpl ) );
         }
-        catch( Exception& rEx )
+        catch( Exception& )
         {
             m_pVetoableChangeListeners->removeInterface( rPropertyName, xListener );
             throw;


More information about the Libreoffice-commits mailing list