diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-02 16:02:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-03 21:24:35 +0100 |
commit | bccf34c19ae022b67565e212fa4ec0d5213947de (patch) | |
tree | 73c2d2e29ad8d15999cbfb2ff554efa1e502a35e /sw/inc/format.hxx | |
parent | useless aMgrName string (diff) | |
download | core-bccf34c19ae022b67565e212fa4ec0d5213947de.tar.gz core-bccf34c19ae022b67565e212fa4ec0d5213947de.zip |
ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
Diffstat (limited to 'sw/inc/format.hxx')
-rw-r--r-- | sw/inc/format.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx index 28b4facb981e..415cb3055b60 100644 --- a/sw/inc/format.hxx +++ b/sw/inc/format.hxx @@ -329,8 +329,7 @@ inline const SfxPoolItem& SwFmt::GetFmtAttr( sal_uInt16 nWhich, inline void SwFmt::SetName( const sal_Char* pNewName, sal_Bool bBroadcast ) { - String aTmp( String::CreateFromAscii( pNewName ) ); - SetName( aTmp, bBroadcast ); + SetName(rtl::OUString::createFromAscii(pNewName), bBroadcast); } inline SfxItemState SwFmt::GetItemState( sal_uInt16 nWhich, sal_Bool bSrchInParent, |