From d3a279cbd308486250e2b652aac01d41e2a52f14 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 12 Apr 2013 09:38:45 +0200 Subject: Convert usage of SfxPtrArray to std::vector Change-Id: I38664f59e4cfa7354196437901175c9ef9aa9006 Reviewed-on: https://gerrit.libreoffice.org/3356 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- sfx2/inc/sfx2/bindings.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sfx2/inc') diff --git a/sfx2/inc/sfx2/bindings.hxx b/sfx2/inc/sfx2/bindings.hxx index 73ac3dc6bc3b..9479e8f6cb31 100644 --- a/sfx2/inc/sfx2/bindings.hxx +++ b/sfx2/inc/sfx2/bindings.hxx @@ -121,6 +121,7 @@ private: const SfxFoundCache_Impl* pFound, const SfxPoolItem *pItem, SfxItemState eItemState ); + SAL_DLLPRIVATE SfxStateCache* GetStateCache( sal_uInt16 nId, sal_uInt16 *pPos); DECL_DLLPRIVATE_LINK( NextJob_Impl, Timer * ); public: @@ -149,7 +150,7 @@ public: sal_Bool IsBound( sal_uInt16 nMsgId, sal_uInt16 nStartSearchAt = 0 ); const SfxSlot* GetSlot( sal_uInt16 nMsgId ); - SfxStateCache* GetStateCache( sal_uInt16 nId, sal_uInt16 *pPos = 0 ); + SfxStateCache* GetStateCache( sal_uInt16 nId); SAL_DLLPRIVATE SfxStateCache* GetAnyStateCache_Impl( sal_uInt16 nId ); /** * @param rpState the caller has to delete the pointer -- cgit