sd/source/core/sdpage.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit b8d40fb7466f644ab2703a51e4f4dd706838c343 Author: Tibor Nagy <tibor.nagy.ext...@allotropia.de> AuthorDate: Mon Dec 9 13:47:06 2024 +0100 Commit: Nagy Tibor <tibor.nagy.ext...@allotropia.de> CommitDate: Mon Dec 9 20:29:33 2024 +0100 tdf#164129 sd: fix resizing of the notes text content The notes text content was not resized when we changed the paper size in the print dialog. Change-Id: I2f610579e2ac84c298c4105a5c1235fbe62ad627 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178146 Tested-by: Jenkins Reviewed-by: Nagy Tibor <tibor.nagy.ext...@allotropia.de> (cherry picked from commit f958aea556e6ea067eb8696a1dff99f3458e8c19) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178157 Tested-by: allotropia jenkins <jenk...@allotropia.de> diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx index b314b3d0a917..1705e7bd4ee7 100644 --- a/sd/source/core/sdpage.cxx +++ b/sd/source/core/sdpage.cxx @@ -2013,10 +2013,10 @@ void SdPage::ScaleObjects(const Size& rNewPageSize, const ::tools::Rectangle& rN } } } - else if ( eObjKind != SdrObjKind::TitleText && - eObjKind != SdrObjKind::OutlineText && - DynCastSdrTextObj( pObj.get() ) != nullptr && - pObj->GetOutlinerParaObject() ) + else if (eObjKind != SdrObjKind::TitleText + && eObjKind != SdrObjKind::OutlineText && mePageKind != PageKind::Notes + && DynCastSdrTextObj(pObj.get()) != nullptr + && pObj->GetOutlinerParaObject()) { /****************************************************** * normal text object: adjust text height