summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-06 08:57:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-06 08:57:09 +0200
commit3c4e60f142df7b3235d0058dbbb15838a19f8ecd (patch)
tree18f35531bcab163422dd4ab9108146e1d1b488df /vcl
parentf32b300c9e071c2bdee2a7b925200feb93add702 (diff)
Don't assume anything about wchar_t in portable code
Change-Id: Ic036f374604729ed7f10ae62a8b458173a5bc22c
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/edit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 06bed087a93b..a090d9f6bbac 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -460,7 +460,7 @@ OUString Edit::ImplGetText() const
if ( mcEchoChar )
cEchoChar = mcEchoChar;
else
- cEchoChar = L'\u2022';
+ cEchoChar = sal_Unicode(0x2022);
OUStringBuffer aText;
comphelper::string::padToLength(aText, maText.getLength(), cEchoChar);
return aText.makeStringAndClear();