diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-12-12 10:15:19 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-12-12 10:15:19 +0100 |
commit | b343ca0dfbae0731ac0ce89d14bc9c8fc667825d (patch) | |
tree | 88c26f50d5f2258b4b172a48e0c18f8fda1c3c6d /starmath/source/dialog.cxx | |
parent | 29f5b4f7f009491b6d9780f831455397e77aa626 (diff) |
change of __READONLY_DATA define to const
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r-- | starmath/source/dialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index ddddc7fb1664..ee691ab948c4 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -795,7 +795,7 @@ void SmDistanceDialog::SetCategory(USHORT nCategory) #if OSL_DEBUG_LEVEL > 1 OSL_ENSURE(NOCATEGORIES == 10, "Sm : array doesn't fit into the number of categories"); #endif - ULONG __READONLY_DATA aCatMf2Hid[10][4] = + ULONG const aCatMf2Hid[10][4] = { { HID_SMA_DEFAULT_DIST, HID_SMA_LINE_DIST, HID_SMA_ROOT_DIST, 0 }, { HID_SMA_SUP_DIST, HID_SMA_SUB_DIST , 0, 0 }, @@ -810,7 +810,7 @@ void SmDistanceDialog::SetCategory(USHORT nCategory) }; // array to help iterate over the controls - Window * __READONLY_DATA aWin[4][2] = + Window * const aWin[4][2] = { { &aFixedText1, &aMetricField1 }, { &aFixedText2, &aMetricField2 }, |