summaryrefslogtreecommitdiff
path: root/sfx2/source/control/dispatch.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-12-12 09:24:14 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-12-12 09:24:14 +0100
commit062f24fba52d2f29efdee5f7674bdefa6d898bf3 (patch)
tree5fd145b6466ae71d470a7db1d6c848afc3d742bb /sfx2/source/control/dispatch.cxx
parent3648fb3c27f87e9b03679b42b9616785d02a3c22 (diff)
change of __READONLY_DATA define to const
Diffstat (limited to 'sfx2/source/control/dispatch.cxx')
-rw-r--r--sfx2/source/control/dispatch.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index c249cdfc84e5..66550f2ece22 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -2125,12 +2125,12 @@ void SfxDispatcher::SetSlotFilter
gezieltes disablen der Slots 1, 2 und 3:
- static sal_uInt16 __READONLY_DATA pSIDs[] = { 1, 2, 3 };
+ static sal_uInt16 const pSIDs[] = { 1, 2, 3 };
pDisp->SetSlotFilter( sal_False, sizeof(pSIDs)/sizeof(sal_uInt16), pSIDs );
nur die Slots 5, 6 und 7 zulassen:
- static sal_uInt16 __READONLY_DATA pSIDs[] = { 5, 6, 7 };
+ static sal_uInt16 const pSIDs[] = { 5, 6, 7 };
pDisp->SetSlotFilter( sal_True, sizeof(pSIDs)/sizeof(sal_uInt16), pSIDs );
Filter ausschalten: