summaryrefslogtreecommitdiffstats
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-05 12:22:59 +0200
committerNoel Grandin <noel@peralex.com>2013-09-11 09:45:29 +0200
commit987356e22f2d969deca72da99643691e432f0e92 (patch)
treeedaaf03c3861b00517a0b4a7f1b308ffac1de32a /include/editeng
parentconvert include/editeng/svxrtf.hxx from String to OUString (diff)
downloadcore-987356e22f2d969deca72da99643691e432f0e92.tar.gz
core-987356e22f2d969deca72da99643691e432f0e92.zip
convert include/editeng/svxfont.hxx from String to OUString
Change-Id: Ibee55393373d4b8bc9e17effc2f2bdf862c17cc9
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/svxfont.hxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/include/editeng/svxfont.hxx b/include/editeng/svxfont.hxx
index 842483cf6c0b..2d848ab8d9fd 100644
--- a/include/editeng/svxfont.hxx
+++ b/include/editeng/svxfont.hxx
@@ -80,28 +80,28 @@ public:
void SetPhysFont( OutputDevice *pOut ) const;
Font ChgPhysFont( OutputDevice *pOut ) const;
- Size GetCapitalSize( const OutputDevice *pOut, const String &rTxt,
- const sal_uInt16 nIdx, const sal_uInt16 nLen) const;
- void DrawCapital( OutputDevice *pOut, const Point &rPos, const String &rTxt,
- const sal_uInt16 nIdx, const sal_uInt16 nLen ) const;
+ Size GetCapitalSize( const OutputDevice *pOut, const OUString &rTxt,
+ const sal_Int32 nIdx, const sal_Int32 nLen) const;
+ void DrawCapital( OutputDevice *pOut, const Point &rPos, const OUString &rTxt,
+ const sal_Int32 nIdx, const sal_Int32 nLen ) const;
- Size GetPhysTxtSize( const OutputDevice *pOut, const String &rTxt,
- const sal_uInt16 nIdx, const sal_uInt16 nLen ) const;
+ Size GetPhysTxtSize( const OutputDevice *pOut, const OUString &rTxt,
+ const sal_Int32 nIdx, const sal_Int32 nLen ) const;
- Size GetPhysTxtSize( const OutputDevice *pOut, const String &rTxt );
+ Size GetPhysTxtSize( const OutputDevice *pOut, const OUString &rTxt );
- Size GetTxtSize( const OutputDevice *pOut, const String &rTxt,
- const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN ) const;
+ Size GetTxtSize( const OutputDevice *pOut, const OUString &rTxt,
+ const sal_Int32 nIdx = 0, const sal_Int32 nLen = SAL_MAX_INT32 ) const;
- void QuickDrawText( OutputDevice *pOut, const Point &rPos, const String &rTxt,
- const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN, const sal_Int32* pDXArray = NULL ) const;
+ void QuickDrawText( OutputDevice *pOut, const Point &rPos, const OUString &rTxt,
+ const sal_Int32 nIdx = 0, const sal_Int32 nLen = SAL_MAX_INT32, const sal_Int32* pDXArray = NULL ) const;
- Size QuickGetTextSize( const OutputDevice *pOut, const String &rTxt,
- const sal_uInt16 nIdx, const sal_uInt16 nLen, sal_Int32* pDXArray = NULL ) const;
+ Size QuickGetTextSize( const OutputDevice *pOut, const OUString &rTxt,
+ const sal_Int32 nIdx, const sal_Int32 nLen, sal_Int32* pDXArray = NULL ) const;
void DrawPrev( OutputDevice* pOut, Printer* pPrinter,
- const Point &rPos, const String &rTxt,
- const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN ) const;
+ const Point &rPos, const OUString &rTxt,
+ const sal_Int32 nIdx = 0, const sal_Int32 nLen = SAL_MAX_INT32 ) const;
static void DrawArrow( OutputDevice &rOut, const Rectangle& rRect,
const Size& rSize, const Color& rCol, sal_Bool bLeft );