summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-06-23 10:50:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-06-24 08:46:13 +0200
commit888d1e2a41d27eecf0064d4cd987a8e7ac32aacb (patch)
treeed2746c8f15896a96cbe7d3a342d72752c47e742 /sd
parentb8727666969156534c05b54a1addb54046969a50 (diff)
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@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/PageListWatcher.cxx6
1 files changed, 3 insertions, 3 deletions
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;