diff options
Diffstat (limited to 'sfx2/source/dialog/StyleList.cxx')
-rw-r--r-- | sfx2/source/dialog/StyleList.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/dialog/StyleList.cxx b/sfx2/source/dialog/StyleList.cxx index 27481e062590..0247e01e7340 100644 --- a/sfx2/source/dialog/StyleList.cxx +++ b/sfx2/source/dialog/StyleList.cxx @@ -1341,8 +1341,7 @@ void StyleList::DeleteHdl() weld::TreeView* pTreeView = m_xTreeBox->get_visible() ? m_xTreeBox.get() : m_xFmtLb.get(); const SfxStyleFamilyItem* pItem = GetFamilyItem(); - OUStringBuffer aMsg; - aMsg.append(SfxResId(STR_DELETE_STYLE_USED) + SfxResId(STR_DELETE_STYLE)); + OUStringBuffer aMsg(SfxResId(STR_DELETE_STYLE_USED) + SfxResId(STR_DELETE_STYLE)); pTreeView->selected_foreach( [this, pTreeView, pItem, &aList, &bUsedStyle, &aMsg](weld::TreeIter& rEntry) { |