Kaydet (Commit) 8144d773 authored tarafından Noel Grandin's avatar Noel Grandin

fix build on older compilers

caused by my commit 750cb51a  "loplugin: cstylecast"

Change-Id: I688a976d17aebc7a41119e57441076fcf5023ded
üst 750cb51a
...@@ -745,7 +745,7 @@ uno::Any SAL_CALL AccessibleDocumentViewBase::getExtendedAttributes() ...@@ -745,7 +745,7 @@ uno::Any SAL_CALL AccessibleDocumentViewBase::getExtendedAttributes()
OUString sValue; OUString sValue;
if (mpViewShell && mpViewShell->ISA(::sd::DrawViewShell)) if (mpViewShell && mpViewShell->ISA(::sd::DrawViewShell))
{ {
::sd::DrawViewShell* pDrViewSh = static_cast<::sd::DrawViewShell*>(mpViewShell); ::sd::DrawViewShell* pDrViewSh = static_cast< ::sd::DrawViewShell*>(mpViewShell);
OUString sDisplay; OUString sDisplay;
OUString sName = "page-name:"; OUString sName = "page-name:";
// MT IA2: Not used... // MT IA2: Not used...
...@@ -802,7 +802,7 @@ uno::Any SAL_CALL AccessibleDocumentViewBase::getExtendedAttributes() ...@@ -802,7 +802,7 @@ uno::Any SAL_CALL AccessibleDocumentViewBase::getExtendedAttributes()
} }
if (mpViewShell && mpViewShell->ISA(::sd::PresentationViewShell)) if (mpViewShell && mpViewShell->ISA(::sd::PresentationViewShell))
{ {
::sd::PresentationViewShell* pPresViewSh = static_cast<::sd::PresentationViewShell*>(mpViewShell); ::sd::PresentationViewShell* pPresViewSh = static_cast< ::sd::PresentationViewShell*>(mpViewShell);
SdPage* pCurrPge = pPresViewSh->getCurrentPage(); SdPage* pCurrPge = pPresViewSh->getCurrentPage();
SdDrawDocument* pDoc = pPresViewSh->GetDoc(); SdDrawDocument* pDoc = pPresViewSh->GetDoc();
SdPage* pNotesPge = (SdPage*)pDoc->GetSdPage((pCurrPge->GetPageNum()-1)>>1, PK_NOTES); SdPage* pNotesPge = (SdPage*)pDoc->GetSdPage((pCurrPge->GetPageNum()-1)>>1, PK_NOTES);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment