summaryrefslogtreecommitdiff
path: root/editeng/source/editeng/editdoc.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-04-02 20:16:22 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-04-03 10:20:08 -0400
commit659c008ffdbaa67c3c344a1b477f24700b224ee6 (patch)
tree3f133ef7fef457202f3b35be04963764569bd079 /editeng/source/editeng/editdoc.hxx
parentc01bb9da9fab5ae7226d519e634c914529bf1704 (diff)
One less SV_IMPL_VARARRAY.
Diffstat (limited to 'editeng/source/editeng/editdoc.hxx')
-rw-r--r--editeng/source/editeng/editdoc.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx
index e17618ee09a6..c71229a33934 100644
--- a/editeng/source/editeng/editdoc.hxx
+++ b/editeng/source/editeng/editdoc.hxx
@@ -444,15 +444,16 @@ public:
class ParaPortion;
-SV_DECL_VARARR( CharPosArray, sal_Int32, 0 )
-
// ------------------------------------------------------------------------
// class EditLine
// -------------------------------------------------------------------------
class EditLine
{
+public:
+ typedef std::vector<sal_Int32> CharPosArrayType;
+
private:
- CharPosArray aPositions;
+ CharPosArrayType aPositions;
long nTxtWidth;
sal_uInt16 nStartPosX;
sal_uInt16 nStart; // could be replaced by nStartPortion
@@ -525,7 +526,8 @@ public:
sal_Bool IsEmpty() const { return (nEnd > nStart) ? sal_False : sal_True; }
- CharPosArray& GetCharPosArray() { return aPositions; }
+ CharPosArrayType& GetCharPosArray();
+ const CharPosArrayType& GetCharPosArray() const;
EditLine* Clone() const;