summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();