diff options
author | Alex Ivan <alexnivan@yahoo.com> | 2013-08-28 16:09:44 +0300 |
---|---|---|
committer | Alex Ivan <alexnivan@yahoo.com> | 2013-08-28 16:09:44 +0300 |
commit | 5766905d06fbc4d280d7f5d94b5167b5d42324b2 (patch) | |
tree | f48f2ded3adb496cc30ed5074e60ec9bb9a460da | |
parent | 33d2dde3bf0f754ec07a093135fabf07ea7cac06 (diff) |
Replace String with OUString in table style undo
Change-Id: Ibc66d8ea44ac294832cf7c937d7e03fba4ad635b
-rw-r--r-- | sw/source/core/undo/untbl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx index 8181640e4585..afba0c2b4e08 100644 --- a/sw/source/core/undo/untbl.cxx +++ b/sw/source/core/undo/untbl.cxx @@ -116,7 +116,7 @@ class _SaveTable SfxItemSet aTblSet; _SaveLine* pLine; const SwTable* pSwTable; - String sSaveFmtName; + OUString sSaveFmtName; SfxItemSets aSets; SwFrmFmts aFrmFmts; sal_uInt16 nLineCount; @@ -978,7 +978,7 @@ void _SaveTable::RestoreAttr( SwTable& rTbl, bool bMdfyBox ) pLn->RestoreAttr( *rTbl.GetTabLines()[ n ], *this ); } - if( !sSaveFmtName.Len() ) + if( sSaveFmtName.isEmpty() ) SwTableFmt::RestoreTableProperties( NULL, rTbl ); else { |