Kaydet (Commit) 5f235501 authored tarafından Matúš Kukan's avatar Matúš Kukan

make these variables static

üst d3c3f418
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
#define SID_FM_IMAGEBUTTON (SID_FMSLOTS_START + 12) #define SID_FM_IMAGEBUTTON (SID_FMSLOTS_START + 12)
#define SID_FM_FILECONTROL (SID_FMSLOTS_START + 13) #define SID_FM_FILECONTROL (SID_FMSLOTS_START + 13)
sal_Int16 nConvertSlots[] = static sal_Int16 nConvertSlots[] =
{ {
SID_FM_CONVERTTO_EDIT, SID_FM_CONVERTTO_EDIT,
SID_FM_CONVERTTO_BUTTON, SID_FM_CONVERTTO_BUTTON,
...@@ -139,7 +139,7 @@ sal_Int16 nConvertSlots[] = ...@@ -139,7 +139,7 @@ sal_Int16 nConvertSlots[] =
SID_FM_CONVERTTO_SPINBUTTON SID_FM_CONVERTTO_SPINBUTTON
}; };
sal_Int16 nCreateSlots[] = static sal_Int16 nCreateSlots[] =
{ {
SID_FM_EDIT, SID_FM_EDIT,
SID_FM_PUSHBUTTON, SID_FM_PUSHBUTTON,
......
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
#include <vector> #include <vector>
// wird fuer Invalidate verwendet -> mitpflegen // wird fuer Invalidate verwendet -> mitpflegen
sal_uInt16 DatabaseSlotMap[] = static sal_uInt16 DatabaseSlotMap[] =
{ {
SID_FM_RECORD_FIRST, SID_FM_RECORD_FIRST,
SID_FM_RECORD_NEXT, SID_FM_RECORD_NEXT,
...@@ -145,7 +145,7 @@ sal_uInt16 DatabaseSlotMap[] = ...@@ -145,7 +145,7 @@ sal_uInt16 DatabaseSlotMap[] =
// wird fuer Invalidate verwendet -> mitpflegen // wird fuer Invalidate verwendet -> mitpflegen
// aufsteigend sortieren !!!!!! // aufsteigend sortieren !!!!!!
sal_Int16 DlgSlotMap[] = // slots des Controllers static sal_Int16 DlgSlotMap[] = // slots des Controllers
{ {
SID_FM_CTL_PROPERTIES, SID_FM_CTL_PROPERTIES,
SID_FM_PROPERTIES, SID_FM_PROPERTIES,
...@@ -161,7 +161,7 @@ sal_Int16 DlgSlotMap[] = // slots des Controllers ...@@ -161,7 +161,7 @@ sal_Int16 DlgSlotMap[] = // slots des Controllers
0 0
}; };
sal_Int16 SelObjectSlotMap[] = // vom SelObject abhaengige Slots static sal_Int16 SelObjectSlotMap[] = // vom SelObject abhaengige Slots
{ {
SID_FM_CONVERTTO_EDIT, SID_FM_CONVERTTO_EDIT,
SID_FM_CONVERTTO_BUTTON, SID_FM_CONVERTTO_BUTTON,
...@@ -192,7 +192,7 @@ sal_Int16 SelObjectSlotMap[] = // vom SelObject abhaengige Slots ...@@ -192,7 +192,7 @@ sal_Int16 SelObjectSlotMap[] = // vom SelObject abhaengige Slots
// die folgenden Arrays muessen kosistent sein, also einander entsprechende Eintraege an der selben relativen Position // die folgenden Arrays muessen kosistent sein, also einander entsprechende Eintraege an der selben relativen Position
// innerhalb ihres jeweiligen Arrays stehen // innerhalb ihres jeweiligen Arrays stehen
sal_Int16 nConvertSlots[] = static sal_Int16 nConvertSlots[] =
{ {
SID_FM_CONVERTTO_EDIT, SID_FM_CONVERTTO_EDIT,
SID_FM_CONVERTTO_BUTTON, SID_FM_CONVERTTO_BUTTON,
...@@ -216,7 +216,7 @@ sal_Int16 nConvertSlots[] = ...@@ -216,7 +216,7 @@ sal_Int16 nConvertSlots[] =
SID_FM_CONVERTTO_NAVIGATIONBAR SID_FM_CONVERTTO_NAVIGATIONBAR
}; };
sal_Int16 nCreateSlots[] = static sal_Int16 nCreateSlots[] =
{ {
SID_FM_EDIT, SID_FM_EDIT,
SID_FM_PUSHBUTTON, SID_FM_PUSHBUTTON,
...@@ -240,7 +240,7 @@ sal_Int16 nCreateSlots[] = ...@@ -240,7 +240,7 @@ sal_Int16 nCreateSlots[] =
SID_FM_NAVIGATIONBAR SID_FM_NAVIGATIONBAR
}; };
sal_Int16 nObjectTypes[] = static sal_Int16 nObjectTypes[] =
{ {
OBJ_FM_EDIT, OBJ_FM_EDIT,
OBJ_FM_BUTTON, OBJ_FM_BUTTON,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment