diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-06-13 22:07:41 +0200 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-06-18 08:11:58 +0000 |
commit | 8956854d8e7294b41e65d5aacbc43e11d1795711 (patch) | |
tree | d9d87ffd48d048ddc46fbb34181c3c2c50243981 /starmath/source/document.cxx | |
parent | 66a0713dc9c676182fcd7aa1e21f8dc25c05be5e (diff) |
String to OUString (SfxStringItem and related)
Change-Id: I390413e9ff3efee720a6423fb8695b4c655d7efa
Reviewed-on: https://gerrit.libreoffice.org/4280
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'starmath/source/document.cxx')
-rw-r--r-- | starmath/source/document.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index 52e6319e13a6..e0504c264974 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -1302,10 +1302,9 @@ void SmDocShell::GetState(SfxItemSet &rSet) } if( nCount ) { - String sList; + OUString sList; for( sal_uInt16 n = 0; n < nCount; ++n ) - ( sList += (pTmpUndoMgr->*fnGetComment)( n, ::svl::IUndoManager::TopLevel ) ) - += '\n'; + sList += (pTmpUndoMgr->*fnGetComment)( n, ::svl::IUndoManager::TopLevel ) + "\n"; SfxStringListItem aItem( nWh ); aItem.SetString( sList ); |