summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-03 11:08:31 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-03-04 11:34:07 +0000
commit5b04c9063cc9dd77dc55c361df081812af38cdbd (patch)
tree827cd9405e68df853362ac6a021c4619bf4a6bc3 /sw
parentbf48090e0a81c6490ee938eabaef4e791df85229 (diff)
remove unused and commented out code
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/shellio.hxx1
-rw-r--r--sw/inc/swabstdlg.hxx8
-rw-r--r--sw/source/core/draw/dflyobj.cxx5
-rw-r--r--sw/source/core/inc/dflyobj.hxx2
-rw-r--r--sw/source/core/inc/swblocks.hxx1
-rw-r--r--sw/source/core/swg/swblocks.cxx5
-rw-r--r--sw/source/filter/basflt/fltini.cxx3
7 files changed, 0 insertions, 25 deletions
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index 3341eaf7b582..5e4f4c7cf782 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -431,7 +431,6 @@ public:
virtual sal_uLong Write( SwPaM&, const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&, const String* = 0, SfxMedium* = 0 );
virtual sal_uLong Write( SwPaM&, SotStorage&, const String* = 0 );
- virtual void SetPasswd( const String& );
virtual void SetVersion( const String&, long );
virtual sal_Bool IsStgWriter() const;
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx
index 0551921b0710..51d28901ca4c 100644
--- a/sw/inc/swabstdlg.hxx
+++ b/sw/inc/swabstdlg.hxx
@@ -119,14 +119,6 @@ public:
virtual void SetText( const OUString& rStr ) = 0;
};
-class AbstractInsertGrfRulerDlg : public VclAbstractDialog //add for SwInsertGrfRulerDlg
-{
-public:
- virtual String GetGraphicName() = 0;
- virtual sal_Bool IsSimpleLine() = 0;
- virtual sal_Bool HasImages() const = 0;
-};
-
class AbstractInsTableDlg : public VclAbstractDialog //add for SwInsTableDlg
{
public:
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx
index 7564b283d3f7..cb95ff4ac5a9 100644
--- a/sw/source/core/draw/dflyobj.cxx
+++ b/sw/source/core/draw/dflyobj.cxx
@@ -142,11 +142,6 @@ sal_uInt16 SwFlyDrawObj::GetObjIdentifier() const
}
-sal_uInt16 SwFlyDrawObj::GetObjVersion() const
-{
- return SwDrawFirst;
-}
-
// SwVirtFlyDrawObj::CToren, Dtor
// AW: Need own primitive to get the FlyFrame paint working
diff --git a/sw/source/core/inc/dflyobj.hxx b/sw/source/core/inc/dflyobj.hxx
index 40226930be58..5dd9133bbaeb 100644
--- a/sw/source/core/inc/dflyobj.hxx
+++ b/sw/source/core/inc/dflyobj.hxx
@@ -31,7 +31,6 @@ const sal_uInt32 SWGInventor = sal_uInt32('S')*0x00000001 +
sal_uInt32('G')*0x00010000;
const sal_uInt16 SwFlyDrawObjIdentifier = 0x0001;
-const sal_uInt16 SwDrawFirst = 0x0001;
// DrawObjects for Flys
class SwFlyDrawObj : public SdrObject
@@ -53,7 +52,6 @@ public:
// for instantiation of this class while loading (via factory)
virtual sal_uInt32 GetObjInventor() const;
virtual sal_uInt16 GetObjIdentifier() const;
- virtual sal_uInt16 GetObjVersion() const;
};
// virtual objects for Flys
diff --git a/sw/source/core/inc/swblocks.hxx b/sw/source/core/inc/swblocks.hxx
index af1af9140287..74f7f716c79a 100644
--- a/sw/source/core/inc/swblocks.hxx
+++ b/sw/source/core/inc/swblocks.hxx
@@ -111,7 +111,6 @@ public:
virtual sal_uLong Rename( sal_uInt16, const String&, const String& ) = 0;
virtual sal_uLong CopyBlock( SwImpBlocks& rImp, String& rShort, const String& rLong) = 0;
virtual sal_uLong GetDoc( sal_uInt16 ) = 0;
- virtual sal_uLong GetDocForConversion( sal_uInt16 );
virtual sal_uLong BeginPutDoc( const String&, const String& ) = 0;
virtual sal_uLong PutDoc() = 0;
virtual sal_uLong GetText( sal_uInt16, String& ) = 0;
diff --git a/sw/source/core/swg/swblocks.cxx b/sw/source/core/swg/swblocks.cxx
index 6eed03bf4269..e122e511778f 100644
--- a/sw/source/core/swg/swblocks.cxx
+++ b/sw/source/core/swg/swblocks.cxx
@@ -113,11 +113,6 @@ void SwImpBlocks::ClearDoc()
pDoc->ClearDoc();
}
-sal_uLong SwImpBlocks::GetDocForConversion( sal_uInt16 n )
-{
- return GetDoc( n );
-}
-
// Erzeugen eines PaMs, der das ganze Dokument umfasst
SwPaM* SwImpBlocks::MakePaM()
{
diff --git a/sw/source/filter/basflt/fltini.cxx b/sw/source/filter/basflt/fltini.cxx
index 2cf90c2bfa02..51bce34ebad7 100644
--- a/sw/source/filter/basflt/fltini.cxx
+++ b/sw/source/filter/basflt/fltini.cxx
@@ -200,9 +200,6 @@ SwRead GetReader( const String& rFltName )
} // namespace SwReaderWriter
-void Writer::SetPasswd( const String& ) {}
-
-
void Writer::SetVersion( const String&, long ) {}