diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx index d44055a8dd49..19596895847c 100644 --- a/sw/source/core/inc/swfont.hxx +++ b/sw/source/core/inc/swfont.hxx @@ -64,8 +64,6 @@ class SwSubFont : public SvxFont const sal_uInt16 nOldAscent ) const; void CalcEsc( SwDrawTextInfo const & rInf, Point& rPos ); - SwSubFont& operator=( const SwSubFont& ); - short CheckKerning_( ); bool ChgFnt( SwViewShell const *pSh, OutputDevice& rOut ); diff --git a/sw/source/core/txtnode/swfont.cxx b/sw/source/core/txtnode/swfont.cxx index ed23fff22623..f9c301f59bf6 100644 --- a/sw/source/core/txtnode/swfont.cxx +++ b/sw/source/core/txtnode/swfont.cxx @@ -888,8 +888,6 @@ SwFont::~SwFont() { } -SwSubFont& SwSubFont::operator=( const SwSubFont& ) = default; - SwFont& SwFont::operator=( const SwFont &rFont ) { m_aSub[SwFontScript::Latin] = rFont.m_aSub[SwFontScript::Latin];