Kaydet (Commit) 7160b953 authored tarafından Noel Grandin's avatar Noel Grandin

convert sw/inc/undobj.hxx from String to OUString

Change-Id: Ife9f401e7e3d06ba1c4507d6f654bb720f61a407
üst a72cc8b1
......@@ -54,7 +54,7 @@ class SwUndo
protected:
bool bCacheComment;
mutable String * pComment;
mutable OUString * pComment;
void RemoveIdxFromSection( SwDoc&, sal_uLong nSttIdx, sal_uLong* pEndIdx = 0 );
void RemoveIdxFromRange( SwPaM& rPam, sal_Bool bMoveNext );
......
......@@ -275,7 +275,7 @@ OUString SwUndo::GetComment() const
{
if (! pComment)
{
pComment = new String(SW_RES(UNDO_BASE + GetId()));
pComment = new OUString(SW_RES(UNDO_BASE + GetId()));
SwRewriter aRewriter = GetRewriter();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment