[Libreoffice-commits] .: 2 commits - framework/source

Tor Lillqvist tml at kemper.freedesktop.org
Wed Oct 5 23:03:40 PDT 2011


 framework/source/loadenv/targethelper.cxx        |    2 --
 framework/source/uielement/newmenucontroller.cxx |    2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

New commits:
commit f4e93410603044f5796019e4a9f7845ec83d2b95
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Thu Oct 6 08:54:30 2011 +0300

    WaE: unreferenced local variable

diff --git a/framework/source/uielement/newmenucontroller.cxx b/framework/source/uielement/newmenucontroller.cxx
index 668bcf2..4e796b2 100644
--- a/framework/source/uielement/newmenucontroller.cxx
+++ b/framework/source/uielement/newmenucontroller.cxx
@@ -529,7 +529,7 @@ void NewMenuController::impl_setPopupMenu()
                 }
             }
         }
-        catch ( RuntimeException& e )
+        catch ( RuntimeException& )
         {
             throw;
         }
commit 76ee8b27cc616e76e58a2dd473a3767bb1bf7389
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Thu Oct 6 08:52:43 2011 +0300

    WaE: unreachable code

diff --git a/framework/source/loadenv/targethelper.cxx b/framework/source/loadenv/targethelper.cxx
index d761556..83fd802 100644
--- a/framework/source/loadenv/targethelper.cxx
+++ b/framework/source/loadenv/targethelper.cxx
@@ -82,8 +82,6 @@ sal_Bool TargetHelper::matchSpecialTarget(const ::rtl::OUString& sCheckTarget  ,
         default:
             return sal_False;
     }
-
-    return sal_False;
 }
 
 /*-----------------------------------------------


More information about the Libreoffice-commits mailing list