summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-08-04 23:00:17 +0900
committerDavid Tardon <dtardon@redhat.com>2014-08-05 08:30:26 +0000
commita9bae49661f817236f0aa168dd2f054b6bca0b2b (patch)
treee617e53d8350ae5036fcb97de453a4bb94bb02fd
parent48d1f860716720abdd7febdad4b57b9f31a6a1dc (diff)
fdo#75757: remove inheritance to std::vector
Typedef'ing SvxXMLListStyle_Impl is enough. Change-Id: I281766822aea60794510c959581f0b821aea6642 Reviewed-on: https://gerrit.libreoffice.org/10729 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
-rw-r--r--include/xmloff/xmlnumi.hxx3
-rw-r--r--xmloff/source/style/xmlnumi.cxx2
2 files changed, 2 insertions, 3 deletions
diff --git a/include/xmloff/xmlnumi.hxx b/include/xmloff/xmlnumi.hxx
index 86b97264237f..304fadd5a71c 100644
--- a/include/xmloff/xmlnumi.hxx
+++ b/include/xmloff/xmlnumi.hxx
@@ -27,7 +27,8 @@
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
class SvI18NMap;
-class SvxXMLListStyle_Impl;
+class SvxXMLListLevelStyleContext_Impl;
+typedef std::vector<SvxXMLListLevelStyleContext_Impl *> SvxXMLListStyle_Impl;
class SvxXMLListStyleContext : public SvXMLStyleContext
{
diff --git a/xmloff/source/style/xmlnumi.cxx b/xmloff/source/style/xmlnumi.cxx
index 917b6f4312eb..41e51d8fab30 100644
--- a/xmloff/source/style/xmlnumi.cxx
+++ b/xmloff/source/style/xmlnumi.cxx
@@ -1006,8 +1006,6 @@ SvxXMLListLevelStyleLabelAlignmentAttrContext_Impl::~SvxXMLListLevelStyleLabelAl
{
}
-class SvxXMLListStyle_Impl : public std::vector<SvxXMLListLevelStyleContext_Impl *> {};
-
void SvxXMLListStyleContext::SetAttribute( sal_uInt16 nPrefixKey,
const OUString& rLocalName,
const OUString& rValue )