[Libreoffice-commits] core.git: sd/source

Noel Grandin noel at peralex.com
Wed Nov 12 00:00:45 PST 2014


 sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8144d773f3d2259ef84c172bca9e75066524e5fd
Author: Noel Grandin <noel at peralex.com>
Date:   Wed Nov 12 09:59:22 2014 +0200

    fix build on older compilers
    
    caused by my commit 750cb51  "loplugin: cstylecast"
    
    Change-Id: I688a976d17aebc7a41119e57441076fcf5023ded

diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
index ce6392f..240c062 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);


More information about the Libreoffice-commits mailing list