diff options
author | Nigel Hawkins <n.hawkins@gmx.com> | 2011-07-13 14:22:48 +0100 |
---|---|---|
committer | Nigel Hawkins <n.hawkins@gmx.com> | 2011-07-13 15:57:23 +0100 |
commit | 2643f2a06d3d71dbb5572532c29018bf66dbe7e6 (patch) | |
tree | 0bf2c03b226648111ecda91a4c217ad84ecb057d /sw/inc/extinput.hxx | |
parent | Replace SvUShorts with vector in label.hxx and label1.cxx. (diff) | |
download | core-2643f2a06d3d71dbb5572532c29018bf66dbe7e6.tar.gz core-2643f2a06d3d71dbb5572532c29018bf66dbe7e6.zip |
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.hxx | 9 |
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 ); |