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

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Thu Feb 11 06:56:41 UTC 2021


 filter/source/msfilter/svdfppt.cxx  |    2 +-
 include/filter/msfilter/svdfppt.hxx |    2 +-
 sd/source/filter/ppt/pptin.cxx      |   12 ++++++------
 3 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 75fad84f311f2c8e1228ec61932e5e26807d9a6c
Author:     Noel Grandin <noel at peralex.com>
AuthorDate: Wed Feb 10 15:19:55 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Feb 11 07:55:52 2021 +0100

    fix spelling MakeBlancPage->MakeBlankPage
    
    Change-Id: Id1f37e25473e480ba4ae219e0ed64324ce73852a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110706
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 8cfbf6ed3922..497a47c1d695 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -2678,7 +2678,7 @@ bool SdrPowerPointImport::SeekToShape( SvStream& rSt, SvxMSDffClientData* pClien
     return bRet;
 }
 
-SdrPage* SdrPowerPointImport::MakeBlancPage( bool bMaster ) const
+SdrPage* SdrPowerPointImport::MakeBlankPage( bool bMaster ) const
 {
     SdrPage* pRet = pSdrModel->AllocPage( bMaster );
     pRet->SetSize( GetPageSize() );
diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx
index 7bacc7763f92..02c60d37004e 100644
--- a/include/filter/msfilter/svdfppt.hxx
+++ b/include/filter/msfilter/svdfppt.hxx
@@ -601,7 +601,7 @@ protected:
                                 const int _nCalledByGroup
                             ) const override;
     std::unique_ptr<SvMemoryStream> ImportExOleObjStg( sal_uInt32 nPersistPtr, sal_uInt32& nOleId ) const;
-    SdrPage*                MakeBlancPage(bool bMaster) const;
+    SdrPage*                MakeBlankPage(bool bMaster) const;
     bool                    ReadFontCollection();
     PptSlidePersistList*    GetPageList(PptPageKind ePageKind) const;
     sal_uInt32              GetCurrentPageId();
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 9bead8c515c1..55e0f4bd2962 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -595,7 +595,7 @@ bool ImplSdPPTImport::Import()
         for ( sal_uInt16 nMasterNum = 0; nMasterNum < nMasterCnt; nMasterNum++ )
         {
             SetPageNum( nMasterNum, PPT_MASTERPAGE );
-            SdPage* pPage = static_cast<SdPage*>(MakeBlancPage( true ));
+            SdPage* pPage = static_cast<SdPage*>(MakeBlankPage( true ));
             if ( pPage )
             {
                 bool bNotesMaster = (*GetPageList( m_eCurrentPageKind ) )[ m_nCurrentPageNum ].bNotesMaster;
@@ -923,7 +923,7 @@ bool ImplSdPPTImport::Import()
         PptPageKind     ePageKind = m_eCurrentPageKind;
         sal_uInt16          nPageNum = m_nCurrentPageNum;
 
-        SdPage* pHandoutPage = static_cast<SdPage*>(MakeBlancPage( false ));
+        SdPage* pHandoutPage = static_cast<SdPage*>(MakeBlankPage( false ));
         pHandoutPage->SetPageKind( PageKind::Handout );
         pSdrModel->InsertPage( pHandoutPage );
 
@@ -934,7 +934,7 @@ bool ImplSdPPTImport::Import()
             {
                 mePresChange = PresChange::SemiAuto;
                 SetPageNum( nPage );
-                SdPage* pPage = static_cast<SdPage*>(MakeBlancPage( false ));
+                SdPage* pPage = static_cast<SdPage*>(MakeBlankPage( false ));
                 PptSlidePersistEntry* pMasterPersist = nullptr;
                 if ( HasMasterPage( nPage ) )     // try to get the LayoutName from the masterpage
                 {
@@ -1011,7 +1011,7 @@ bool ImplSdPPTImport::Import()
 
                 // creating the corresponding note page
                 m_eCurrentPageKind = PPT_NOTEPAGE;
-                SdPage* pNotesPage = static_cast<SdPage*>(MakeBlancPage( false ));
+                SdPage* pNotesPage = static_cast<SdPage*>(MakeBlankPage( false ));
                 sal_uInt16 nNotesMasterNum = GetMasterPageIndex( nPage ) + 1;
                 sal_uInt32 nNotesPageId = GetNotesPageId( nPage );
                 if ( nNotesPageId )
@@ -1056,7 +1056,7 @@ bool ImplSdPPTImport::Import()
         {
             // that can happen by document templates
             m_eCurrentPageKind = PPT_SLIDEPAGE;
-            SdrPage* pPage = MakeBlancPage( false );
+            SdrPage* pPage = MakeBlankPage( false );
             pSdrModel->InsertPage( pPage );
 
             // #i37397#, trying to set the title master for the first page
@@ -1084,7 +1084,7 @@ bool ImplSdPPTImport::Import()
             static_cast<SdPage*>(pPage)->SetAutoLayout( AUTOLAYOUT_TITLE, true, true );
 
             m_eCurrentPageKind = PPT_NOTEPAGE;
-            SdrPage* pNPage = MakeBlancPage( false );
+            SdrPage* pNPage = MakeBlankPage( false );
             pSdrModel->InsertPage( pNPage );
         }
         SetPageNum( nPageNum, ePageKind );


More information about the Libreoffice-commits mailing list