summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-01 12:04:09 +0200
committerMichael Stahl <mstahl@redhat.com>2013-10-01 12:04:30 +0200
commit4e601bda1798dd9e1651e41db0e17818c62d1763 (patch)
tree4d01ae63c3ee19e60419a7e6a6e9874203262191 /extensions
parentff3203c5c567ed14a8ff2e80408c304d3cdd84e0 (diff)
extensions: fix swapped "insert" parameters
Change-Id: If9667cad9fcc0ff3b1cc8d36c0619d80d7f3e2b9
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx
index 50d409bb0f5c..61c2c0e7496f 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -657,9 +657,9 @@ namespace pcr
nVal >>= 4;
if (c<=9) c += '0';
else c += 'A' - 10;
- aStr.insert(c,0);
+ aStr.insert(0, c);
}
- while (aStr.getLength() < nLength) aStr.insert('0',0);
+ while (aStr.getLength() < nLength) aStr.insert(0, '0');
return aStr.makeStringAndClear();
}