summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-12 09:59:22 +0200
committerNoel Grandin <noel@peralex.com>2014-11-12 09:59:22 +0200
commit8144d773f3d2259ef84c172bca9e75066524e5fd (patch)
tree275b5c1688e088cc27192b3ba52840fe14083178 /sd
parent750cb51aaa02092f076c6a60732ec0f7374f2d63 (diff)
fix build on older compilers
caused by my commit 750cb51 "loplugin: cstylecast" Change-Id: I688a976d17aebc7a41119e57441076fcf5023ded
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
index ce6392f8785f..240c06213fad 100644
--- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
+++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
@@ -745,7 +745,7 @@ uno::Any SAL_CALL AccessibleDocumentViewBase::getExtendedAttributes()
OUString sValue;
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 sName = "page-name:";
// MT IA2: Not used...
@@ -802,7 +802,7 @@ uno::Any SAL_CALL AccessibleDocumentViewBase::getExtendedAttributes()
}
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();
SdDrawDocument* pDoc = pPresViewSh->GetDoc();
SdPage* pNotesPge = (SdPage*)pDoc->GetSdPage((pCurrPge->GetPageNum()-1)>>1, PK_NOTES);