diff options
Diffstat (limited to 'editeng/source/items/svxfont.cxx')
-rw-r--r-- | editeng/source/items/svxfont.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index 2f9119a0f143..58cc0ddab5da 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -571,6 +571,8 @@ SvxFont& SvxFont::operator=( const SvxFont& rFont ) return *this; } +namespace { + class SvxDoGetCapitalSize : public SvxDoCapitals { protected: @@ -592,6 +594,8 @@ public: const Size &GetSize() const { return aTxtSize; }; }; +} + void SvxDoGetCapitalSize::Do( const OUString &_rTxt, const sal_Int32 _nIdx, const sal_Int32 _nLen, const bool bUpper ) { @@ -633,6 +637,8 @@ Size SvxFont::GetCapitalSize( const OutputDevice *pOut, const OUString &rTxt, return aTxtSize; } +namespace { + class SvxDoDrawCapital : public SvxDoCapitals { protected: @@ -656,6 +662,8 @@ public: const sal_Int32 nLen, const bool bUpper ) override; }; +} + void SvxDoDrawCapital::DoSpace( const bool bDraw ) { if ( bDraw || pFont->IsWordLineMode() ) |