summaryrefslogtreecommitdiff
path: root/sw/inc/unoevtlstnr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-05-10 16:04:18 +0200
committerMichael Stahl <mstahl@redhat.com>2012-05-14 19:49:15 +0200
commitb16ce6e60ffcfea13f025b2cee0011be76f42023 (patch)
tree00876fd03e8a6c5cd118b0267a8c8032f09b42fe /sw/inc/unoevtlstnr.hxx
parentd61282d4a91b441a5859be1ae8ba2abad2aab36e (diff)
Convert SV_DECL_PTRARR(SwEvtLstnrArray) to std::vector
Change-Id: Ifd81de26432d2e7ceed1a643e3c2009e97f8a5b2
Diffstat (limited to 'sw/inc/unoevtlstnr.hxx')
-rw-r--r--sw/inc/unoevtlstnr.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/unoevtlstnr.hxx b/sw/inc/unoevtlstnr.hxx
index 8db97ebe2ec6..c52fe5ee4d51 100644
--- a/sw/inc/unoevtlstnr.hxx
+++ b/sw/inc/unoevtlstnr.hxx
@@ -30,6 +30,7 @@
#include <svl/svarray.hxx>
#include <com/sun/star/uno/Reference.h>
+#include <vector>
namespace com{namespace sun{namespace star{
namespace lang
@@ -41,7 +42,7 @@ namespace com{namespace sun{namespace star{
// Managing the EventListeners.
typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > * XEventListenerPtr;
-SV_DECL_PTRARR(SwEvtLstnrArray, XEventListenerPtr, 4)
+typedef std::vector<XEventListenerPtr> SwEvtLstnrArray;
class SwEventListenerContainer
{