summaryrefslogtreecommitdiff
path: root/sfx2/source/control/dispatch.cxx
diff options
context:
space:
mode:
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: