diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 15:07:31 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 15:10:35 +0200 |
commit | 64b993e046f23baaacaff1572b7d2a816588b5ef (patch) | |
tree | 237dce36a1d4787d168a0520839f6aab22500487 /svx/source/accessibility | |
parent | 75f41baab6ce75786a91fe461835ee16a23ec18e (diff) |
finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
Diffstat (limited to 'svx/source/accessibility')
-rw-r--r-- | svx/source/accessibility/AccessibleShape.cxx | 4 | ||||
-rw-r--r-- | svx/source/accessibility/ChildrenManagerImpl.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx index 49ca5cc19332..426ab51d4436 100644 --- a/svx/source/accessibility/AccessibleShape.cxx +++ b/svx/source/accessibility/AccessibleShape.cxx @@ -369,7 +369,7 @@ uno::Reference<XAccessible> SAL_CALL else throw lang::IndexOutOfBoundsException ( OUString("shape has no child with index ") - + OUString::valueOf(nIndex), + + OUString::number(nIndex), static_cast<uno::XWeak*>(this)); return xChild; @@ -1003,7 +1003,7 @@ OUString // Put a space between name and index because of Gnopernicus othewise // spells the name. - sName += " " + OUString::valueOf (nIndex); + sName += " " + OUString::number (nIndex); return sName; } diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx index 1828ebf22dde..5a20a6808c5b 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.cxx +++ b/svx/source/accessibility/ChildrenManagerImpl.cxx @@ -121,7 +121,7 @@ uno::Reference<XAccessible> // Check whether the given index is valid. if (nIndex < 0 || (unsigned long)nIndex >= maVisibleChildren.size()) throw lang::IndexOutOfBoundsException ( - "no accessible child with index " + OUString::valueOf(nIndex), + "no accessible child with index " + OUString::number(nIndex), mxParent); return GetChild (maVisibleChildren[nIndex],nIndex); |