diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/table/tabledlg.cxx | 4 |
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 ); } |