[Libreoffice-commits] core.git: sw/source unusedcode.easy

Miklos Vajna vmiklos at collabora.co.uk
Fri Sep 6 00:49:32 PDT 2013


 sw/source/core/inc/swfont.hxx     |    3 ---
 sw/source/core/txtnode/swfont.cxx |   25 -------------------------
 unusedcode.easy                   |    1 -
 3 files changed, 29 deletions(-)

New commits:
commit 7753fbef1e7805f60f7d90fa2ac5a8537d7e4bb7
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri Sep 6 09:48:10 2013 +0200

    unused SwFont ctor
    
    Change-Id: I9bb51b279fc2d61ff5e427f9257bc3669cfdb0bd

diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx
index 96840cf..be21ae7 100644
--- a/sw/source/core/inc/swfont.hxx
+++ b/sw/source/core/inc/swfont.hxx
@@ -162,9 +162,6 @@ class SwFont
     sal_Bool bGreyWave      :1;  // Fuers extended TextInput: Graue Wellenlinie
     sal_Bool bNoColReplace  :1;  // Replacement without colormanipulation
 
-protected:
-    SwFont();
-
 public:
     SwFont( const SwAttrSet* pSet, const IDocumentSettingAccess* pIDocumentSettingAccess );
     SwFont( const SwFont& rFont );
diff --git a/sw/source/core/txtnode/swfont.cxx b/sw/source/core/txtnode/swfont.cxx
index be6a52e..63023a1 100644
--- a/sw/source/core/txtnode/swfont.cxx
+++ b/sw/source/core/txtnode/swfont.cxx
@@ -705,31 +705,6 @@ void SwFont::SetDiffFnt( const SfxItemSet *pAttrSet,
 
 // SwFont
 
-SwFont::SwFont()
-    : pBackColor(0)
-    , m_nTopBorderDist(0)
-    , m_nBottomBorderDist(0)
-    , m_nRightBorderDist(0)
-    , m_nLeftBorderDist(0)
-    , m_aShadowColor(COL_TRANSPARENT)
-    , m_nShadowWidth(0)
-    , m_aShadowLocation(SVX_SHADOW_NONE)
-    , nToxCnt(0)
-    , nRefCnt(0)
-    , m_nMetaCount(0)
-    , nActual(SW_LATIN)
-    , bNoHyph(false)
-    , bBlink(false)
-    , bPaintBlank(false)
-    , bFntChg(false)
-    , bOrgChg(false)
-    , bURL(false)
-    , bPaintWrong(false)
-    , bGreyWave(false)
-    , bNoColReplace(false)
-{
-}
-
 SwFont::SwFont( const SwFont &rFont )
 {
     aSub[SW_LATIN] = rFont.aSub[SW_LATIN];
diff --git a/unusedcode.easy b/unusedcode.easy
index 5b13ff3..af0d913 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -70,7 +70,6 @@ SvtAccessibilityOptions::SetListBoxMaximumLineCount(short)
 SvtAccessibilityOptions::SetPreviewUsesCheckeredBackground(unsigned char)
 SvxNumRule::Create(SvStream&)
 SvxNumberFormat::Create(SvStream&)
-SwFont::SwFont()
 Test::test1Table1Page()
 TextEngine::GetLeftMargin() const
 ThumbnailView::DeselectItem(unsigned short)


More information about the Libreoffice-commits mailing list