summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-09-26 12:46:41 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2019-09-27 15:03:41 +0200
commit89bb0b0dcd8dc4656d0047cd10702d1c471c0fa1 (patch)
tree890d97eaf2bbcab24cb777f8a65bd6fb47f4218d /winaccessibility
parent4b995afda324fb4e85991c723b63a2703f33669e (diff)
Deduplicate O(U)StringNumber definitions; add toAsciiUpperCase
Change-Id: I00e7ce62940907b5f4efc2b7f23f355c3e43ed6b Reviewed-on: https://gerrit.libreoffice.org/79686 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/UAccCOM/AccTextBase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/winaccessibility/source/UAccCOM/AccTextBase.cxx b/winaccessibility/source/UAccCOM/AccTextBase.cxx
index 9e5c63605df0..efe10612d0b3 100644
--- a/winaccessibility/source/UAccCOM/AccTextBase.cxx
+++ b/winaccessibility/source/UAccCOM/AccTextBase.cxx
@@ -170,7 +170,7 @@ STDMETHODIMP CAccTextBase::get_attributes(long offset, long * startOffset, long
unsigned long nColor;
pValue.Value >>= nColor;
strAttrs.append('#');
- auto const hex = OUString(OUString::number(nColor, 16)).toAsciiUpperCase();
+ OUString const hex = OUString::number(nColor, 16).toAsciiUpperCase();
for (sal_Int32 j = hex.getLength(); j < 8; ++j) {
strAttrs.append('0');
}