diff options
author | Tibor Nagy <tibor.nagy.extern@allotropia.de> | 2024-12-09 13:47:06 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-12-16 15:42:52 +0100 |
commit | 1de96ea1d11b154b6aa086b7aac03cec61caa292 (patch) | |
tree | d47155bacd8dc96a5c3330585876a39e4c7f605f /sd | |
parent | 006616a30973d67a2be3cde8b5ad96befb79c19d (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>
(cherry picked from commit f958aea556e6ea067eb8696a1dff99f3458e8c19)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178560
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/sdpage.cxx | 8 |
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 |