summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTibor Nagy <tibor.nagy.extern@allotropia.de>2024-12-09 13:47:06 +0100
committerNagy Tibor <tibor.nagy.extern@allotropia.de>2024-12-09 15:40:22 +0100
commitf958aea556e6ea067eb8696a1dff99f3458e8c19 (patch)
treee6e8b05374f968d9916712973297a0fa689468aa
parent6fd252d499ef8b2f88ca8fdab8b989e8d80bae28 (diff)
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.extern@allotropia.de>
-rw-r--r--sd/source/core/sdpage.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index 04d0f020ebbc..9de413f77be2 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