From 77fd448d0990adc79406e13a127b2b1834984b71 Mon Sep 17 00:00:00 2001 From: Jean-Noël Rouvignac Date: Fri, 1 Feb 2013 09:33:19 +0100 Subject: 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 Tested-by: Tor Lillqvist --- sw/source/ui/table/tabledlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/ui/table/tabledlg.cxx') 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 ); } -- cgit