summaryrefslogtreecommitdiff
path: root/sw/inc/extinput.hxx
diff options
context:
space:
mode:
authorNigel Hawkins <n.hawkins@gmx.com>2011-07-13 14:22:48 +0100
committerNigel Hawkins <n.hawkins@gmx.com>2011-07-13 15:57:23 +0100
commit2643f2a06d3d71dbb5572532c29018bf66dbe7e6 (patch)
tree0bf2c03b226648111ecda91a4c217ad84ecb057d /sw/inc/extinput.hxx
parenta8bcc0d0a94d9e2c434643e35d509c700c733c77 (diff)
Replace SvUShorts with vector in extinput.hxx and cascade changes.
LGPLv3+/MPL.
Diffstat (limited to 'sw/inc/extinput.hxx')
-rw-r--r--sw/inc/extinput.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sw/inc/extinput.hxx b/sw/inc/extinput.hxx
index 9ce347e37902..317928682086 100644
--- a/sw/inc/extinput.hxx
+++ b/sw/inc/extinput.hxx
@@ -28,18 +28,15 @@
#ifndef _EXTINPUT_HXX
#define _EXTINPUT_HXX
-#ifndef _SVSTDARR_HXX
-#define _SVSTDARR_USHORTS
-#include <svl/svstdarr.hxx>
-#endif
#include <pam.hxx>
#include <i18npool/lang.h>
+#include <vector>
class CommandExtTextInputData;
class SwExtTextInput : public SwPaM
{
- SvUShorts aAttrs;
+ std::vector<sal_uInt16> aAttrs;
String sOverwriteText;
sal_Bool bInsText : 1;
sal_Bool bIsOverwriteCursor : 1;
@@ -49,7 +46,7 @@ public:
virtual ~SwExtTextInput();
void SetInputData( const CommandExtTextInputData& rData );
- const SvUShorts& GetAttrs() const { return aAttrs; }
+ const std::vector<sal_uInt16>& GetAttrs() const { return aAttrs; }
void SetInsText( sal_Bool bFlag ) { bInsText = bFlag; }
sal_Bool IsOverwriteCursor() const { return bIsOverwriteCursor; }
void SetOverwriteCursor( sal_Bool bFlag );