From a1c57dd89780d73a74b1408608198da0567f0257 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 1 Apr 2014 11:44:48 +0200 Subject: add comment about hacked sal_Bool param Change-Id: I005c523765fbe530dfcb7755cef3081c24c6a734 --- include/sfx2/dispatch.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sfx2/dispatch.hxx') diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx index f9d1d3a50a95..15b26f75abeb 100644 --- a/include/sfx2/dispatch.hxx +++ b/include/sfx2/dispatch.hxx @@ -158,6 +158,7 @@ public: void Flush(); void Lock( bool bLock ); bool IsLocked( sal_uInt16 nSID = 0 ) const; + // bEnable can be sal_True,sal_False, or 2(some kind of read-only override hack) void SetSlotFilter( sal_Bool bEnable = sal_False, sal_uInt16 nCount = 0, const sal_uInt16 *pSIDs = 0 ); @@ -179,6 +180,7 @@ public: bool bOwnShellsOnly, bool bModal, bool bRealSlot=true ); SAL_DLLPRIVATE void SetReadOnly_Impl( bool bOn ); SAL_DLLPRIVATE bool GetReadOnly_Impl() const; + // bEnable can be sal_True,sal_False, or 2(some kind of read-only override hack) SAL_DLLPRIVATE sal_Bool IsSlotEnabledByFilter_Impl( sal_uInt16 nSID ) const; SAL_DLLPRIVATE void SetQuietMode_Impl( bool bOn ); SAL_DLLPRIVATE bool IsReadOnlyShell_Impl( sal_uInt16 nShell ) const; -- cgit