summaryrefslogtreecommitdiff
path: root/sw/source/ui/table/tabledlg.cxx
diff options
context:
space:
mode:
authorJean-Noël Rouvignac <jn.rouvignac@gmail.com>2013-02-01 09:33:19 +0100
committerTor Lillqvist <tml@iki.fi>2013-02-14 13:20:14 +0000
commit77fd448d0990adc79406e13a127b2b1834984b71 (patch)
tree3b8d1b23e7029dedcb97eb1d38ba83c91dfdac51 /sw/source/ui/table/tabledlg.cxx
parent5502501a8848c771aff5a77448a02451e22398a4 (diff)
Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING
Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f Reviewed-on: https://gerrit.libreoffice.org/1954 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
Diffstat (limited to 'sw/source/ui/table/tabledlg.cxx')
-rw-r--r--sw/source/ui/table/tabledlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx
index 0251780f60b3..6ac857181a16 100644
--- a/sw/source/ui/table/tabledlg.cxx
+++ b/sw/source/ui/table/tabledlg.cxx
@@ -877,8 +877,8 @@ IMPL_LINK( SwTableColumnPage, AutoClickHdl, CheckBox *, pBox )
m_pTextArr[i]->SetText( sEntry );
//added by menghu for SODC_5143,12/12/2006
- String sColumnWidth = SW_RESSTR( STR_ACCESS_COLUMN_WIDTH);
- sColumnWidth.SearchAndReplace( DEFINE_CONST_UNICODE("%1"), sIndex );
+ OUString sColumnWidth = SW_RESSTR( STR_ACCESS_COLUMN_WIDTH);
+ sColumnWidth = sColumnWidth.replaceFirst( "%1", sIndex );
m_aFieldArr[i].SetAccessibleName( sColumnWidth );
}