diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:16:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:16:44 +0200 |
commit | dd44fd294cfb5eabe4c8382acdd82d323d8e8dd1 (patch) | |
tree | 75d30fe7481d8f23e19e922746e25d695ae5ea3c /svx/source/sidebar/nbdtmg.cxx | |
parent | 713843bebb27f09b5af9190cf84c57f6076e54aa (diff) |
loplugin:stringcopy: svx
Change-Id: Ic1874b2bfe28149deab3e6903ef7d7dac77cfc4b
Diffstat (limited to 'svx/source/sidebar/nbdtmg.cxx')
-rw-r--r-- | svx/source/sidebar/nbdtmg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx index a07634897d1f..686fcf2c6510 100644 --- a/svx/source/sidebar/nbdtmg.cxx +++ b/svx/source/sidebar/nbdtmg.cxx @@ -772,7 +772,7 @@ void OutlineTypeMgr::RelplaceNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_uI OUString sChar(cChar); _pSet->sBulletChar = sChar; if ( aFmt.GetBulletFont() ) - _pSet->sBulletFont = rtl::OUString(aFmt.GetBulletFont()->GetFamilyName()); + _pSet->sBulletFont = aFmt.GetBulletFont()->GetFamilyName(); _pSet->nNumberType = eNumType; pItemArr->bIsCustomized = true; }else if ((eNumType&(~LINK_TOKEN)) == SVX_NUM_BITMAP ) { @@ -790,7 +790,7 @@ void OutlineTypeMgr::RelplaceNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_uI _pSet->sSuffix = aFmt.GetSuffix(); _pSet->nNumberType = eNumType; if ( aFmt.GetBulletFont() ) - _pSet->sBulletFont = rtl::OUString(aFmt.GetBulletFont()->GetFamilyName()); + _pSet->sBulletFont = aFmt.GetBulletFont()->GetFamilyName(); pItemArr->bIsCustomized = true; } } |