summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-13 13:30:48 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-14 08:19:54 +0200
commite19c00ed76f5d46c3b88d2721b9ac84fcaaed97c (patch)
treed0e0b24c168bb29ab5425770e9061a180bd48a60 /svtools
parentfd0d90b50233732abf15da59afe5fbf823e8341c (diff)
callcatcher: remove unused TextAttrib stuff
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/txtattr.hxx4
-rw-r--r--svtools/source/edit/txtattr.cxx21
2 files changed, 0 insertions, 25 deletions
diff --git a/svtools/inc/svtools/txtattr.hxx b/svtools/inc/svtools/txtattr.hxx
index 982e9c20be5a..2b6028965475 100644
--- a/svtools/inc/svtools/txtattr.hxx
+++ b/svtools/inc/svtools/txtattr.hxx
@@ -61,8 +61,6 @@ public:
sal_uInt16 Which() const { return mnWhich; }
- virtual void SetFont( Font& rFont ) const = 0;
- virtual TextAttrib* Clone() const = 0;
virtual int operator==( const TextAttrib& rAttr ) const = 0;
int operator!=( const TextAttrib& rAttr ) const
{ return !(*this == rAttr ); }
@@ -114,8 +112,6 @@ private:
Color maColor;
public:
- TextAttribHyperLink( const XubString& rURL );
- TextAttribHyperLink( const XubString& rURL, const XubString& rDescription );
TextAttribHyperLink( const TextAttribHyperLink& rAttr );
~TextAttribHyperLink();
diff --git a/svtools/source/edit/txtattr.cxx b/svtools/source/edit/txtattr.cxx
index 022a40ae848f..e932cbee585a 100644
--- a/svtools/source/edit/txtattr.cxx
+++ b/svtools/source/edit/txtattr.cxx
@@ -39,15 +39,6 @@ TextAttrib::~TextAttrib()
{
}
-void TextAttrib::SetFont( Font& ) const
-{
-}
-
-TextAttrib* TextAttrib::Clone() const
-{
- return NULL;
-}
-
int TextAttrib::operator==( const TextAttrib& rAttr ) const
{
return mnWhich == rAttr.mnWhich;
@@ -115,18 +106,6 @@ int TextAttribFontWeight::operator==( const TextAttrib& rAttr ) const
}
-TextAttribHyperLink::TextAttribHyperLink( const XubString& rURL )
- : TextAttrib( TEXTATTR_HYPERLINK ), maURL( rURL )
-{
- maColor = COL_BLUE;
-}
-
-TextAttribHyperLink::TextAttribHyperLink( const XubString& rURL, const XubString& rDescription )
- : TextAttrib( TEXTATTR_HYPERLINK ), maURL( rURL ), maDescription( rDescription )
-{
- maColor = COL_BLUE;
-}
-
TextAttribHyperLink::TextAttribHyperLink( const TextAttribHyperLink& rAttr )
: TextAttrib( rAttr ), maURL( rAttr.maURL ), maDescription( rAttr.maDescription )
{