Kaydet (Commit) 3fa67908 authored tarafından Caolán McNamara's avatar Caolán McNamara

ditch rather pointless REDUCEDSVXFONT

Change-Id: Ie49265fbcd9d608de0017cdc599cb5054f7cced2
üst 8274df85
...@@ -84,8 +84,6 @@ public: ...@@ -84,8 +84,6 @@ public:
// Consider Upper case, Lower case letters etc. // Consider Upper case, Lower case letters etc.
OUString CalcCaseMap(const OUString &rTxt) const; 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 // Handle upper case letters
void DoOnCapitals( SvxDoCapitals &rDo, void DoOnCapitals( SvxDoCapitals &rDo,
const sal_uInt16 nPartLen = USHRT_MAX ) const; const sal_uInt16 nPartLen = USHRT_MAX ) const;
...@@ -116,7 +114,6 @@ public: ...@@ -116,7 +114,6 @@ public:
const Point &rPos, const String &rTxt, const Point &rPos, const String &rTxt,
const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN ) const; const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN ) const;
#endif // !REDUCEDSVXFONT
static void DrawArrow( OutputDevice &rOut, const Rectangle& rRect, static void DrawArrow( OutputDevice &rOut, const Rectangle& rRect,
const Size& rSize, const Color& rCol, sal_Bool bLeft ); const Size& rSize, const Color& rCol, sal_Bool bLeft );
SvxFont& operator=( const SvxFont& rFont ); SvxFont& operator=( const SvxFont& rFont );
......
...@@ -167,12 +167,6 @@ OUString SvxFont::CalcCaseMap(const OUString &rTxt) const ...@@ -167,12 +167,6 @@ OUString SvxFont::CalcCaseMap(const OUString &rTxt) const
return aTxt; 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 * class SvxDoCapitals
* The virtual Method Do si called by SvxFont::DoOnCapitals alternately * The virtual Method Do si called by SvxFont::DoOnCapitals alternately
...@@ -767,7 +761,4 @@ void SvxFont::DrawCapital( OutputDevice *pOut, ...@@ -767,7 +761,4 @@ void SvxFont::DrawCapital( OutputDevice *pOut,
DoOnCapitals( aDo ); DoOnCapitals( aDo );
} }
#endif // !REDUCEDSVXFONT
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment