summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/dbui.cxx
diff options
context:
space:
mode:
authorJean-Noël Rouvignac <jn.rouvignac@gmail.com>2013-02-20 00:18:07 +0100
committerMichael Stahl <mstahl@redhat.com>2013-02-22 17:32:12 +0000
commit08603e66f9a994418d4e2a2badee3f5a6b3f7168 (patch)
tree1351699f802c447c2485aa32f427b035c70c2b07 /sw/source/ui/dbui/dbui.cxx
parente904749eb8e1109f9a884b309fad6de5f78ad623 (diff)
fdo#38838 search replace for String::CreateFromInt32().
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ Change-Id: Ic500593e3a0b593522c9469b18da0145285007da Reviewed-on: https://gerrit.libreoffice.org/2280 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/source/ui/dbui/dbui.cxx')
-rw-r--r--sw/source/ui/dbui/dbui.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/dbui.cxx b/sw/source/ui/dbui/dbui.cxx
index 0a3c5eaae619..b8e27e6f7c68 100644
--- a/sw/source/ui/dbui/dbui.cxx
+++ b/sw/source/ui/dbui/dbui.cxx
@@ -105,8 +105,8 @@ CreateMonitor::CreateMonitor( Window *pParent )
void CreateMonitor::UpdateCountingText()
{
String sText(m_sCountingPattern);
- sText.SearchAndReplaceAll( m_sVariable_Total, String::CreateFromInt32( m_nTotalCount ) );
- sText.SearchAndReplaceAll( m_sVariable_Position, String::CreateFromInt32( m_nCurrentPosition ) );
+ sText.SearchAndReplaceAll( m_sVariable_Total, OUString::number( m_nTotalCount ) );
+ sText.SearchAndReplaceAll( m_sVariable_Position, OUString::number( m_nCurrentPosition ) );
m_aCounting.SetText(sText);
}