summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-16 00:46:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-17 16:06:29 +0100
commit3fa67908de71b0e463d0186754a8bc231ec1922d (patch)
tree930aab8e13518cf9463ec1bca0baeab87db26706 /editeng
parent8274df85dffad4bb3e87579e4c6e9c204ff60ebe (diff)
ditch rather pointless REDUCEDSVXFONT
Change-Id: Ie49265fbcd9d608de0017cdc599cb5054f7cced2
Diffstat (limited to 'editeng')
-rw-r--r--editeng/inc/editeng/svxfont.hxx3
-rw-r--r--editeng/source/items/svxfont.cxx9
2 files changed, 0 insertions, 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
@@ -168,12 +168,6 @@ OUString SvxFont::CalcCaseMap(const OUString &rTxt) const
}
/*************************************************************************
-* 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
* the uppercase and lowercase parts. The derivate of SvxDoCapitals fills
@@ -767,7 +761,4 @@ void SvxFont::DrawCapital( OutputDevice *pOut,
DoOnCapitals( aDo );
}
-#endif // !REDUCEDSVXFONT
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */