diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-09 10:22:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-09 10:22:42 +0100 |
commit | e80486eb27163033eae39cffbcaeeff52902d61d (patch) | |
tree | 0e9367f3c60eab08555760582e1f597ceefaf38f /sd/source/ui/app | |
parent | 4a09d16972dafb48293a14c3070da610d0c238d1 (diff) |
Resolves: fdo#34723 unused variables and arguments
Diffstat (limited to 'sd/source/ui/app')
-rw-r--r-- | sd/source/ui/app/sdmod2.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sd/source/ui/app/sdmod2.cxx b/sd/source/ui/app/sdmod2.cxx index f86e15ac622b..12396b115852 100644 --- a/sd/source/ui/app/sdmod2.cxx +++ b/sd/source/ui/app/sdmod2.cxx @@ -554,7 +554,6 @@ void SdModule::ApplyItemSet( sal_uInt16 nSlot, const SfxItemSet& rSet ) sal_Bool bNewPrintOptions = sal_False; sal_Bool bMiscOptions = sal_False; - ::sd::FrameView* pFrameView = NULL; ::sd::DrawDocShell* pDocSh = PTR_CAST(::sd::DrawDocShell, SfxObjectShell::Current() ); SdDrawDocument* pDoc = NULL; // Hier wird der DocType vom Optionsdialog gesetzt (nicht Dokument!) @@ -568,11 +567,6 @@ void SdModule::ApplyItemSet( sal_uInt16 nSlot, const SfxItemSet& rSet ) { pDoc = pDocSh->GetDoc(); - // Wenn der Optionsdialog zum Dokumenttyp identisch ist, - // kann auch die FrameView mit uebergeben werden: - if( pDoc && eDocType == pDoc->GetDocumentType() ) - pFrameView = pDocSh->GetFrameView(); - pViewShell = pDocSh->GetViewShell(); if (pViewShell != NULL) pViewShell->WriteFrameViewData(); |