[Libreoffice-commits] core.git: 3 commits - include/sal sfx2/source

Tor Lillqvist tml at iki.fi
Mon May 20 03:58:46 PDT 2013


 include/sal/log-areas.dox                        |    1 +
 sfx2/source/sidebar/ContextChangeBroadcaster.cxx |    1 -
 sfx2/source/sidebar/SidebarController.cxx        |    1 -
 3 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit e53e7934da35c793222a9f048225b893450ab01b
Author: Tor Lillqvist <tml at iki.fi>
Date:   Mon May 20 13:55:41 2013 +0300

    WaE: unused variable 'aWindowPosition'
    
    Change-Id: I6db9f3848d6d786dbf60bd5b0b250b0c9e447ad7

diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index c4ea537..188afc5 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -1036,7 +1036,6 @@ sal_Int32 SidebarController::SetChildWindowWidth (const sal_Int32 nNewWidth)
     const long nColumnWidth (pSplitWindow->GetLineSize(nColumn));
 
     Window* pWindow = mpParentWindow;
-    const Point aWindowPosition (pWindow->GetPosPixel());
     const Size aWindowSize (pWindow->GetSizePixel());
 
     pSplitWindow->MoveWindow(
commit 30cb1a737dc42321da01ed1f091eca0caef1c91a
Author: Tor Lillqvist <tml at iki.fi>
Date:   Mon May 20 13:54:52 2013 +0300

    Fix warning: unknown log area 'svtools' [loplugin]
    
    Change-Id: I7d67464fc3b2e9c4e7c7ea05bb1bbfa1267cb757

diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox
index b819684..bee62d6 100644
--- a/include/sal/log-areas.dox
+++ b/include/sal/log-areas.dox
@@ -195,6 +195,7 @@ certain functionality.
 
 @section svtools
 
+ at li @c svtools
 @li @c svtools.config
 @li @c svtools.contnr
 @li @c svtools.control
commit 77f6bb7a5d5840375ed5a0c44fd354fb6ed41cb4
Author: Tor Lillqvist <tml at iki.fi>
Date:   Mon May 20 13:53:11 2013 +0300

    Fix warning: unused variable 'sModuleName' [loplugin]
    
    Change-Id: Ifa4dc5d704e4452824445d9652e135ddb6cb61e6

diff --git a/sfx2/source/sidebar/ContextChangeBroadcaster.cxx b/sfx2/source/sidebar/ContextChangeBroadcaster.cxx
index 463d151..7d5dd3a 100644
--- a/sfx2/source/sidebar/ContextChangeBroadcaster.cxx
+++ b/sfx2/source/sidebar/ContextChangeBroadcaster.cxx
@@ -113,7 +113,6 @@ OUString ContextChangeBroadcaster::GetModuleName (const cssu::Reference<css::fra
 {
     if ( ! rxFrame.is() || ! rxFrame->getController().is())
         return OUString();
-    OUString sModuleName;
     try
     {
         const ::comphelper::ComponentContext aContext (::comphelper::getProcessServiceFactory());


More information about the Libreoffice-commits mailing list