fdo#75757: remove inheritance to std::vector

by replacing it with a typedef.

Change-Id: Iaa88086e3c5195012982dd625bfd589de2e484a2
Reviewed-on: https://gerrit.libreoffice.org/11017
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
This commit is contained in:
Takeshi Abe 2014-08-19 18:24:54 +09:00 committed by David Tardon
parent ca54b6ea90
commit 44afb981a5
3 changed files with 3 additions and 8 deletions

View file

@ -42,6 +42,7 @@
#include <editeng/numitem.hxx>
#include <com/sun/star/linguistic2/XProofreadingIterator.hpp>
#include <com/sun/star/script/vba/XVBAEventProcessor.hpp>
#include <tox.hxx>
#include <boost/unordered_map.hpp>
@ -126,11 +127,7 @@ class SwSectionFmt;
class SwSectionFmts;
class SwSectionData;
class SwSelBoxes;
class SwTOXBase;
class SwTOXBaseSection;
class SwTOXMark;
class SwTOXMarks;
class SwTOXType;
class SwTOXTypes;
class SwTabCols;
class SwTable;

View file

@ -32,6 +32,7 @@
#include <fldupde.hxx>
#include <tblenum.hxx>
#include <IMark.hxx>
#include <tox.hxx>
#include <vector>
#include <set>
@ -77,9 +78,6 @@ class SwFmtFtn;
class SwSection;
class SwSectionData;
class SwSectionFmt;
class SwTOXMarks;
class SwTOXBase;
class SwTOXType;
class SwTableAutoFmt;
class SwPageDesc;
class SwTxtINetFmt;

View file

@ -40,7 +40,7 @@ class SwTOXMark;
class SwTxtTOXMark;
class SwDoc;
class SwTOXMarks : public std::vector<SwTOXMark*> {};
typedef std::vector<SwTOXMark*> SwTOXMarks;
// Entry of content index, alphabetical index or user defined index