[Libreoffice-commits] core.git: include/xmloff xmloff/source

Takeshi Abe tabe at fixedpoint.jp
Tue Aug 5 01:30:45 PDT 2014


 include/xmloff/xmlnumi.hxx      |    3 ++-
 xmloff/source/style/xmlnumi.cxx |    2 --
 2 files changed, 2 insertions(+), 3 deletions(-)

New commits:
commit a9bae49661f817236f0aa168dd2f054b6bca0b2b
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Mon Aug 4 23:00:17 2014 +0900

    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 at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/include/xmloff/xmlnumi.hxx b/include/xmloff/xmlnumi.hxx
index 86b9726..304fadd 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 917b6f4..41e51d8 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 )


More information about the Libreoffice-commits mailing list