[Libreoffice-commits] .: sd/source

Julien Nabet serval2412 at kemper.freedesktop.org
Fri Jul 1 14:10:44 PDT 2011


 sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx |    1 -
 sd/source/ui/view/drviewsc.cxx                     |    3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

New commits:
commit f1eeb30e44a73e59fead9312ac666a72ba8bcc60
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Fri Jul 1 23:10:33 2011 +0200

    2 cppcheck cleaning

diff --git a/sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx b/sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx
index a0a9641..6f0f2f6 100644
--- a/sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx
+++ b/sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx
@@ -177,7 +177,6 @@ void SlideSorterCacheDisplay::Resize (void)
                 else
                     ++nC;
             }
-            double nAspect2 = double(nC) / double(nR);
             
             mnRowCount = nR;
             mnColumnCount = nC;
diff --git a/sd/source/ui/view/drviewsc.cxx b/sd/source/ui/view/drviewsc.cxx
index 9f4c16f..7b8c947 100644
--- a/sd/source/ui/view/drviewsc.cxx
+++ b/sd/source/ui/view/drviewsc.cxx
@@ -592,14 +592,13 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
 
         case SID_IMAP:
         {
-            SvxIMapDlg* pDlg;
             sal_uInt16		nId = SvxIMapDlgChildWindow::GetChildWindowId();
 
             GetViewFrame()->ToggleChildWindow( nId );
             GetViewFrame()->GetBindings().Invalidate( SID_IMAP );
 
             if ( GetViewFrame()->HasChildWindow( nId )
-                && ( ( pDlg = ViewShell::Implementation::GetImageMapDialog() ) != NULL ) )
+                && ( ( ViewShell::Implementation::GetImageMapDialog() ) != NULL ) )
             {
                 const SdrMarkList&	rMarkList = mpDrawView->GetMarkedObjectList();
 


More information about the Libreoffice-commits mailing list