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

Takeshi Abe tabe at fixedpoint.jp
Mon Oct 19 02:18:27 PDT 2015


 vcl/win/source/app/saldata.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4902be3e1bca72733ee41e6dee460834e83e012d
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Mon Oct 19 18:16:49 2015 +0900

    vcl: Mark it as const
    
    Change-Id: Ifc1e9e64f50aa916ef0667796a54a11dec9a0ea8

diff --git a/vcl/win/source/app/saldata.cxx b/vcl/win/source/app/saldata.cxx
index 7c70bfa..18256ee 100644
--- a/vcl/win/source/app/saldata.cxx
+++ b/vcl/win/source/app/saldata.cxx
@@ -25,7 +25,7 @@
 
 rtl_TextEncoding ImplSalGetSystemEncoding()
 {
-    static UINT nOldAnsiCodePage = 0;
+    static const UINT nOldAnsiCodePage = 0;
     static rtl_TextEncoding eEncoding = RTL_TEXTENCODING_MS_1252;
 
     UINT nAnsiCodePage = GetACP();


More information about the Libreoffice-commits mailing list