summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-04-12 09:38:45 +0200
committerMichael Stahl <mstahl@redhat.com>2013-04-16 18:49:39 +0000
commitd3a279cbd308486250e2b652aac01d41e2a52f14 (patch)
tree18ed8c17dc891180ba12b89abfce329faaee7671 /sfx2/inc
parenteda61605d1843a87fc67039fa73be616040b581d (diff)
Convert usage of SfxPtrArray to std::vector
Change-Id: I38664f59e4cfa7354196437901175c9ef9aa9006 Reviewed-on: https://gerrit.libreoffice.org/3356 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/sfx2/bindings.hxx3
1 files changed, 2 insertions, 1 deletions
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