[Libreoffice-commits] core.git: sfx2/source

Takeshi Abe tabe at fixedpoint.jp
Wed Aug 20 07:08:08 PDT 2014


 sfx2/source/appl/appdde.cxx |    2 --
 sfx2/source/inc/appdata.hxx |    4 +++-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 5e531e121fae61675fb358e814d49b70cfab14cf
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Wed Aug 20 21:59:48 2014 +0900

    fdo#75757: remove inheritance to std::vector
    
    Change-Id: I621286f0b64ff464bc29310ba79e416abc5791d8
    Reviewed-on: https://gerrit.libreoffice.org/11042
    Reviewed-by: David Tardon <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx
index 9d3d634..9de5f08 100644
--- a/sfx2/source/appl/appdde.cxx
+++ b/sfx2/source/appl/appdde.cxx
@@ -229,8 +229,6 @@ public:
 };
 
 
-class SfxDdeDocTopics_Impl : public std::vector<SfxDdeDocTopic_Impl*> {};
-
 #if defined( WNT )
 
 namespace {
diff --git a/sfx2/source/inc/appdata.hxx b/sfx2/source/inc/appdata.hxx
index 19fd3ed..ead6ea5 100644
--- a/sfx2/source/inc/appdata.hxx
+++ b/sfx2/source/inc/appdata.hxx
@@ -33,7 +33,7 @@
 
 class SfxApplication;
 class SfxProgress;
-class SfxDdeDocTopics_Impl;
+class SfxDdeDocTopic_Impl;
 class DdeService;
 class SfxItemPool;
 class SfxFilterMatcher;
@@ -63,6 +63,8 @@ namespace sfx2 {
 
 typedef Link* LinkPtr;
 
+typedef std::vector<SfxDdeDocTopic_Impl*> SfxDdeDocTopics_Impl;
+
 class SfxAppData_Impl
 {
 public:


More information about the Libreoffice-commits mailing list