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

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 24 06:46:48 UTC 2021


 sd/source/core/PageListWatcher.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 888d1e2a41d27eecf0064d4cd987a8e7ac32aacb
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Jun 23 10:50:53 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Jun 24 08:46:13 2021 +0200

    SAL_WARN -> SAL_INFO
    
    calling code is quite happy with this function returning a nullptr
    
    Change-Id: I79e6be31b6c30ee103a8dd0cba9e652ba93b744b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117698
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sd/source/core/PageListWatcher.cxx b/sd/source/core/PageListWatcher.cxx
index 322d592f2b2d..c3d8846fc77f 100644
--- a/sd/source/core/PageListWatcher.cxx
+++ b/sd/source/core/PageListWatcher.cxx
@@ -92,7 +92,7 @@ SdPage* ImpPageListWatcher::GetSdPage(PageKind ePgKind, sal_uInt32 nPgNum)
                 pRetval = maPageVectorStandard[nPgNum];
             else
             {
-                SAL_WARN( "sd.core",
+                SAL_INFO( "sd.core",
                           "ImpPageListWatcher::GetSdPage(PageKind::Standard): page number " << nPgNum << " >= " << maPageVectorStandard.size() );
             }
             break;
@@ -103,14 +103,14 @@ SdPage* ImpPageListWatcher::GetSdPage(PageKind ePgKind, sal_uInt32 nPgNum)
                 pRetval = maPageVectorNotes[nPgNum];
             else
             {
-                SAL_WARN( "sd.core",
+                SAL_INFO( "sd.core",
                           "ImpPageListWatcher::GetSdPage(PageKind::Notes): page number " << nPgNum << " >= " << maPageVectorNotes.size() );
             }
             break;
         }
         case PageKind::Handout:
         {
-//          #11420# for models used to transfer drawing shapes via clipboard it's ok to not have a handout page
+            // #11420# for models used to transfer drawing shapes via clipboard it's ok to not have a handout page
             DBG_ASSERT(nPgNum == 0, "ImpPageListWatcher::GetSdPage: access to non existing handout page (!)");
             if (nPgNum == 0)
                 pRetval = mpHandoutPage;


More information about the Libreoffice-commits mailing list