summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-26 09:39:48 +0200
committerNoel Grandin <noel@peralex.com>2015-06-29 10:05:35 +0200
commit329350919e7407bdc217c64a5d6a0486f2b41811 (patch)
tree4e1cf711d6f4508b796b00a4c59a8d03e67edac4
parent7153fcb7c4a76d30d9ccc3303c1498dff79649b9 (diff)
remove custom RTTI from SvDataCopyStream
nothing is using it, except perhaps for XFillExchangeData, which was using it incorrectly :-( Change-Id: Ib9246a20bc97ad91d3e3e97fa642217686fc8c46
-rw-r--r--include/sot/filelist.hxx2
-rw-r--r--include/svtools/grfmgr.hxx3
-rw-r--r--include/tools/stream.hxx1
-rw-r--r--include/vcl/graph.hxx3
-rw-r--r--sot/source/base/filelist.cxx2
-rw-r--r--svtools/source/graphic/grfmgr.cxx2
-rw-r--r--svx/source/xoutdev/xexch.cxx2
-rw-r--r--tools/source/stream/stream.cxx2
-rw-r--r--vcl/source/gdi/graph.cxx2
9 files changed, 1 insertions, 18 deletions
diff --git a/include/sot/filelist.hxx b/include/sot/filelist.hxx
index 1734c12bb79f..7c77fe94ce6e 100644
--- a/include/sot/filelist.hxx
+++ b/include/sot/filelist.hxx
@@ -42,8 +42,6 @@ protected:
void ClearAll();
public:
-
- TYPEINFO_OVERRIDE();
FileList() {};
virtual ~FileList();
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 089b69d08ba9..9b43de5628b8 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -334,9 +334,6 @@ protected:
virtual void Assign( const SvDataCopyStream& ) SAL_OVERRIDE;
public:
-
- TYPEINFO_OVERRIDE();
-
GraphicObject( const GraphicManager* pMgr = NULL );
GraphicObject( const Graphic& rGraphic, const GraphicManager* pMgr = NULL );
GraphicObject( const GraphicObject& rCacheObj, const GraphicManager* pMgr = NULL );
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx
index 75d7445c5411..544a5fed8d8e 100644
--- a/include/tools/stream.hxx
+++ b/include/tools/stream.hxx
@@ -756,7 +756,6 @@ class TOOLS_DLLPUBLIC SvDataCopyStream
{
public:
// repeated execution of Load or Assign is allowed
- TYPEINFO();
virtual ~SvDataCopyStream(){}
virtual void Load( SvStream & ) = 0;
virtual void Save( SvStream & ) = 0;
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index 778c6719c4c7..373629807563 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -89,9 +89,6 @@ public:
SAL_DLLPRIVATE ImpGraphic* ImplGetImpGraphic() const { return mpImpGraphic; }
public:
-
- TYPEINFO_OVERRIDE();
-
Graphic();
Graphic( const Graphic& rGraphic );
Graphic( const Bitmap& rBmp );
diff --git a/sot/source/base/filelist.cxx b/sot/source/base/filelist.cxx
index 95fdf83822eb..8d182c598001 100644
--- a/sot/source/base/filelist.cxx
+++ b/sot/source/base/filelist.cxx
@@ -25,8 +25,6 @@
#include <osl/diagnose.h>
#include <osl/thread.h>
-TYPEINIT1_AUTOFACTORY( FileList, SvDataCopyStream );
-
/*************************************************************************
|*
|* FileList - Ctor/Dtor
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx
index 5dc71286839b..63e2af509d40 100644
--- a/svtools/source/graphic/grfmgr.cxx
+++ b/svtools/source/graphic/grfmgr.cxx
@@ -56,8 +56,6 @@ struct GrfSimpleCacheObj
maGraphic( rGraphic ), maAttr( rAttr ) {}
};
-TYPEINIT1_AUTOFACTORY( GraphicObject, SvDataCopyStream );
-
// unique increasing ID for being able to detect the GraphicObject with the
// oldest last data changes
static sal_uLong aIncrementingTimeOfLastDataChange = 1;
diff --git a/svx/source/xoutdev/xexch.cxx b/svx/source/xoutdev/xexch.cxx
index 5fae82cdacdf..f3eb2fa1c5df 100644
--- a/svx/source/xoutdev/xexch.cxx
+++ b/svx/source/xoutdev/xexch.cxx
@@ -29,7 +29,7 @@
#include <boost/scoped_ptr.hpp>
-TYPEINIT1_AUTOFACTORY( XFillExchangeData, SvDataCopyStream );
+TYPEINIT0_AUTOFACTORY( XFillExchangeData );
/// default CTOR, for Assign()
XFillExchangeData::XFillExchangeData() :
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 529f7e27e91e..39b3d085e4b8 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -2028,8 +2028,6 @@ bool SvScriptStream::good() const
return mpHandle != NULL;
}
-TYPEINIT0 ( SvDataCopyStream )
-
void SvDataCopyStream::Assign( const SvDataCopyStream& )
{
}
diff --git a/vcl/source/gdi/graph.cxx b/vcl/source/gdi/graph.cxx
index 40bd87c8ffca..393a8d63ca60 100644
--- a/vcl/source/gdi/graph.cxx
+++ b/vcl/source/gdi/graph.cxx
@@ -178,8 +178,6 @@ static void ImplDrawDefault( OutputDevice* pOutDev, const OUString* pText,
pOutDev->Pop();
}
-TYPEINIT1_AUTOFACTORY( Graphic, SvDataCopyStream );
-
Graphic::Graphic()
{
mpImpGraphic = new ImpGraphic;