summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-07-01 23:10:33 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-07-01 23:10:33 +0200
commit9fe085d9a6d5246b8a1a6e78c55aca3eb9c3a541 (patch)
treef10b1a8daa8c75d14e1e834419a6426c9df8bfd7 /sd
parentfd83589f3f11b2a4576891372ba5c2f63ee80c74 (diff)
2 cppcheck cleaning
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx1
-rw-r--r--sd/source/ui/view/drviewsc.cxx3
2 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx b/sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx
index 821fa89ff0c4..f9ec936cede5 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 e9820c5ae6fe..7fad9f041ca5 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();