[Libreoffice-commits] core.git: vcl/source

Stephan Bergmann sbergman at redhat.com
Thu Oct 6 06:59:37 UTC 2016


 vcl/source/control/edit.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3c4e60f142df7b3235d0058dbbb15838a19f8ecd
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Oct 6 08:57:09 2016 +0200

    Don't assume anything about wchar_t in portable code
    
    Change-Id: Ic036f374604729ed7f10ae62a8b458173a5bc22c

diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 06bed08..a090d9f 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();


More information about the Libreoffice-commits mailing list