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>
This commit is contained in:
parent
6fd252d499
commit
f958aea556
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue