From 3fa67908de71b0e463d0186754a8bc231ec1922d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 16 Oct 2012 00:46:18 +0100 Subject: ditch rather pointless REDUCEDSVXFONT Change-Id: Ie49265fbcd9d608de0017cdc599cb5054f7cced2 --- editeng/inc/editeng/svxfont.hxx | 3 --- editeng/source/items/svxfont.cxx | 9 --------- 2 files changed, 12 deletions(-) diff --git a/editeng/inc/editeng/svxfont.hxx b/editeng/inc/editeng/svxfont.hxx index 96729e9488d0..62da119b882c 100644 --- a/editeng/inc/editeng/svxfont.hxx +++ b/editeng/inc/editeng/svxfont.hxx @@ -84,8 +84,6 @@ public: // Consider Upper case, Lower case letters etc. OUString CalcCaseMap(const OUString &rTxt) const; -// The following section is not needed by anyone, so it can be excluded. -#ifndef REDUCEDSVXFONT // Handle upper case letters void DoOnCapitals( SvxDoCapitals &rDo, const sal_uInt16 nPartLen = USHRT_MAX ) const; @@ -116,7 +114,6 @@ public: const Point &rPos, const String &rTxt, const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN ) const; -#endif // !REDUCEDSVXFONT static void DrawArrow( OutputDevice &rOut, const Rectangle& rRect, const Size& rSize, const Color& rCol, sal_Bool bLeft ); SvxFont& operator=( const SvxFont& rFont ); diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index 5f8745d43ebb..33ad640646b7 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -167,12 +167,6 @@ OUString SvxFont::CalcCaseMap(const OUString &rTxt) const return aTxt; } -/************************************************************************* -* Starting form here are the methods that can not be used in Writer, -* so we put this section to be excluded by REDUCEDSVXFONT. - *************************************************************************/ -#ifndef REDUCEDSVXFONT - /************************************************************************* * class SvxDoCapitals * The virtual Method Do si called by SvxFont::DoOnCapitals alternately @@ -767,7 +761,4 @@ void SvxFont::DrawCapital( OutputDevice *pOut, DoOnCapitals( aDo ); } -#endif // !REDUCEDSVXFONT - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit