diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-31 09:19:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-31 15:50:04 +0200 |
commit | 5b8729a741bd65c2f61ae9caba7ea15a139835e5 (patch) | |
tree | c8e11588f87115b51b932af5b89bd0c68787e0a6 /sd/qa/unit/tiledrendering | |
parent | 68a6c70f25762374f7aed0d4d755345c6f37c78d (diff) |
no need to allocate SvxNumRule separately in SvxNumBulletItem
Change-Id: I7903565a468fc0fbec603c88b92cca6560a86728
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116424
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/qa/unit/tiledrendering')
-rw-r--r-- | sd/qa/unit/tiledrendering/tiledrendering.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx index 0814abb2515d..de5e8d9133d9 100644 --- a/sd/qa/unit/tiledrendering/tiledrendering.cxx +++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx @@ -1534,7 +1534,7 @@ void SdTiledRenderingTest::testTdf103083() pOutliner->GetStyleSheet(2)->GetName()); const EditTextObject& aEdit = pTextObject->GetOutlinerParaObject()->GetTextObject(); const SvxNumBulletItem* pNumFmt = aEdit.GetParaAttribs(2).GetItem(EE_PARA_NUMBULLET); - SvxNumberFormat aNumFmt(pNumFmt->GetNumRule()->GetLevel(2)); + SvxNumberFormat aNumFmt(pNumFmt->GetNumRule().GetLevel(2)); // cut contents of bullet item comphelper::dispatchCommand(".uno:Cut", uno::Sequence<beans::PropertyValue>()); @@ -1563,7 +1563,7 @@ void SdTiledRenderingTest::testTdf103083() const EditTextObject& aEdit2 = pTextObject->GetOutlinerParaObject()->GetTextObject(); const SvxNumBulletItem* pNumFmt2 = aEdit2.GetParaAttribs(2).GetItem(EE_PARA_NUMBULLET); - SvxNumberFormat aNumFmt2(pNumFmt2->GetNumRule()->GetLevel(2)); + SvxNumberFormat aNumFmt2(pNumFmt2->GetNumRule().GetLevel(2)); bool bEqual(aNumFmt2 == aNumFmt); CPPUNIT_ASSERT_MESSAGE("Bullet properties changed after paste", bEqual); |