summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-31 09:19:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-31 15:50:04 +0200
commit5b8729a741bd65c2f61ae9caba7ea15a139835e5 (patch)
treec8e11588f87115b51b932af5b89bd0c68787e0a6 /sc
parent68a6c70f25762374f7aed0d4d755345c6f37c78d (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 'sc')
-rw-r--r--sc/source/ui/unoobj/styleuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx
index 46933ed8ab97..5af2c60edfde 100644
--- a/sc/source/ui/unoobj/styleuno.cxx
+++ b/sc/source/ui/unoobj/styleuno.cxx
@@ -1114,7 +1114,7 @@ void SAL_CALL ScStyleObj::setName( const OUString& aNewName )
uno::Reference<container::XIndexReplace> ScStyleObj::CreateEmptyNumberingRules()
{
SvxNumRule aRule( SvxNumRuleFlags::NONE, 0, true ); // nothing supported
- return SvxCreateNumRule( &aRule );
+ return SvxCreateNumRule( aRule );
}
// beans::XPropertyState