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

Takeshi Abe tabe at fixedpoint.jp
Wed Oct 28 02:38:04 PDT 2015


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

New commits:
commit 90cdd9eea8be5ed44d17f34b2276e5f3b7542835
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Wed Oct 28 17:35:31 2015 +0900

    vcl: This is constant
    
    Change-Id: I27a83996031b9494ad736ad82a7fff5740fbaf30

diff --git a/vcl/win/source/app/salinfo.cxx b/vcl/win/source/app/salinfo.cxx
index b175757..2e30910 100644
--- a/vcl/win/source/app/salinfo.cxx
+++ b/vcl/win/source/app/salinfo.cxx
@@ -174,7 +174,7 @@ Rectangle WinSalSystem::GetDisplayScreenPosSizePixel( unsigned int nScreen )
    The first dimension is the button combination, the second dimension
    is the button identifier.
 */
-static int DEFAULT_BTN_MAPPING_TABLE[][8] =
+static const int DEFAULT_BTN_MAPPING_TABLE[][8] =
 {
     //  Undefined        OK             CANCEL         ABORT          RETRY          IGNORE         YES             NO
     { MB_DEFBUTTON1, MB_DEFBUTTON1, MB_DEFBUTTON1, MB_DEFBUTTON1, MB_DEFBUTTON1, MB_DEFBUTTON1, MB_DEFBUTTON1, MB_DEFBUTTON1 }, //OK


More information about the Libreoffice-commits mailing list