[Libreoffice-commits] core.git: 2 commits - sfx2/source

Tor Lillqvist tlillqvist at suse.com
Mon May 20 04:57:28 PDT 2013


 sfx2/source/sidebar/TitleBar.cxx |    2 --
 sfx2/source/view/viewfrm.cxx     |    2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 1c05b867ef9e2b83f4f91586b889674226b6a7c3
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Mon May 20 14:45:25 2013 +0300

    WaE: 'e' : unreferenced local variable
    
    Change-Id: I4e67dece0ead3097eb945d8f67795d93b8595eb1

diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 219f5dc..e857318 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -3415,7 +3415,7 @@ bool SfxViewFrame::IsSidebarEnabled()
         xContext = ::comphelper::getProcessComponentContext();
         try {
             bEnabled = officecfg::Office::Common::Misc::ExperimentalSidebar::get( xContext );
-        } catch (const uno::Exception &e) {
+        } catch (const uno::Exception &) {
             SAL_WARN("sfx2.view", "don't have experimental sidebar option installed");
         }
 
commit 9d9878f839a86f3d01400f42ce95bef9f8a162b7
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Mon May 20 14:42:53 2013 +0300

    Fix warning C4273: 'ToolbarValue::~ToolbarValue' : inconsistent dll linkage
    
    That destructor is defined in vcl/source/gdi/outdevnative.cxx anyway.
    (As empty there, too.) What is going on here?
    
    Change-Id: Id27f07d47d819a4eaf272819a2e058f5f930b7be

diff --git a/sfx2/source/sidebar/TitleBar.cxx b/sfx2/source/sidebar/TitleBar.cxx
index 76bf7d7..2240006 100644
--- a/sfx2/source/sidebar/TitleBar.cxx
+++ b/sfx2/source/sidebar/TitleBar.cxx
@@ -23,8 +23,6 @@
 #include <vcl/gradient.hxx>
 #include <vcl/lineinfo.hxx>
 
-ToolbarValue::~ToolbarValue (void) {}
-
 namespace
 {
     const static sal_Int32 gnLeftIconSpace (3);


More information about the Libreoffice-commits mailing list