Kaydet (Commit) a9bae496 authored tarafından Takeshi Abe's avatar Takeshi Abe Kaydeden (comit) David Tardon

fdo#75757: remove inheritance to std::vector

Typedef'ing SvxXMLListStyle_Impl is enough.

Change-Id: I281766822aea60794510c959581f0b821aea6642
Reviewed-on: https://gerrit.libreoffice.org/10729Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst 48d1f860
...@@ -27,7 +27,8 @@ ...@@ -27,7 +27,8 @@
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } } namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
class SvI18NMap; class SvI18NMap;
class SvxXMLListStyle_Impl; class SvxXMLListLevelStyleContext_Impl;
typedef std::vector<SvxXMLListLevelStyleContext_Impl *> SvxXMLListStyle_Impl;
class SvxXMLListStyleContext : public SvXMLStyleContext class SvxXMLListStyleContext : public SvXMLStyleContext
{ {
......
...@@ -1006,8 +1006,6 @@ SvxXMLListLevelStyleLabelAlignmentAttrContext_Impl::~SvxXMLListLevelStyleLabelAl ...@@ -1006,8 +1006,6 @@ SvxXMLListLevelStyleLabelAlignmentAttrContext_Impl::~SvxXMLListLevelStyleLabelAl
{ {
} }
class SvxXMLListStyle_Impl : public std::vector<SvxXMLListLevelStyleContext_Impl *> {};
void SvxXMLListStyleContext::SetAttribute( sal_uInt16 nPrefixKey, void SvxXMLListStyleContext::SetAttribute( sal_uInt16 nPrefixKey,
const OUString& rLocalName, const OUString& rLocalName,
const OUString& rValue ) const OUString& rValue )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment