From 5766905d06fbc4d280d7f5d94b5167b5d42324b2 Mon Sep 17 00:00:00 2001 From: Alex Ivan Date: Wed, 28 Aug 2013 16:09:44 +0300 Subject: Replace String with OUString in table style undo Change-Id: Ibc66d8ea44ac294832cf7c937d7e03fba4ad635b --- sw/source/core/undo/untbl.cxx | 4 ++-- 1 file 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 { -- cgit v1.2.3