summaryrefslogtreecommitdiff
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
commitf1eeb30e44a73e59fead9312ac666a72ba8bcc60 (patch)
tree77ca4d002a0e34d1e170aed5bbf910bb7af0c385
parentdd6ad70d2dda2e9056238f02bb669fcdb8fb899d (diff)
2 cppcheck cleaning
-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 a0a9641e7..6f0f2f634 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 9f4c16f13..7b8c9474b 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();