summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-18 13:37:52 +0200
committerNoel Grandin <noel@peralex.com>2013-09-19 10:54:43 +0200
commit7160b9533e54132704b7730aa8893972841ce763 (patch)
tree4fab2730080424325656bd6c86d03949e2e85e03 /sw
parenta72cc8b181b0f4614987d1b38f895c9e98970778 (diff)
convert sw/inc/undobj.hxx from String to OUString
Change-Id: Ife9f401e7e3d06ba1c4507d6f654bb720f61a407
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/undobj.hxx2
-rw-r--r--sw/source/core/undo/undobj.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/undobj.hxx b/sw/inc/undobj.hxx
index de016109fa15..3c44d5b9911a 100644
--- a/sw/inc/undobj.hxx
+++ b/sw/inc/undobj.hxx
@@ -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 );
diff --git a/sw/source/core/undo/undobj.cxx b/sw/source/core/undo/undobj.cxx
index 42fcd7b1da3b..19ddb0975478 100644
--- a/sw/source/core/undo/undobj.cxx
+++ b/sw/source/core/undo/undobj.cxx
@@ -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();