diff options
author | Noel Grandin <noel@peralex.com> | 2014-01-14 13:52:54 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-01-16 16:08:34 +0100 |
commit | c648d0872058941ed18499a8bf1993037d9b5532 (patch) | |
tree | 47121b3eff267e34480335130106ca1c33be6fd9 /sw | |
parent | 70f360f34a9f6605864644feee3c9b9b6ffb79a1 (diff) |
convert SvStream::operator<< overloads to more explicit methods
This is in preparation for more conversion of SvStream::operator<< calls
to use more explicit method names.
This converts the subclasses that have their own convenience overloads
of operator<< to use normal methods.
Change-Id: I5efd5d9a24c264cb86d2471303dd5849bf91ba80
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/text/inftxt.hxx | 10 | ||||
-rw-r--r-- | sw/source/core/text/porlin.hxx | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx index 3cd30dd3ad7f..b6e40b75ed4d 100644 --- a/sw/source/core/text/inftxt.hxx +++ b/sw/source/core/text/inftxt.hxx @@ -119,7 +119,7 @@ public: return nListTabStopPosition; } - friend SvStream &operator<<( SvStream &rOS, const SwLineInfo &rInf ); + friend SvStream & WriteSwLineInfo( SvStream &rOS, const SwLineInfo &rInf ); }; /************************************************************************* @@ -143,7 +143,7 @@ public: const SwParaPortion *GetParaPortion() const { return pPara; } sal_Int32 GetTxtStart() const { return nTxtStart; } - friend SvStream &operator<<( SvStream &rOS, const SwTxtInfo &rInf ); + friend SvStream & WriteSwTxtInfo( SvStream &rOS, const SwTxtInfo &rInf ); }; /************************************************************************* @@ -305,7 +305,7 @@ public: inline void SetLen( const sal_Int32 nNew ) { m_nLen = nNew; } inline void SetTxt( const OUString &rNew ){ m_pTxt = &rNew; } - friend SvStream &operator<<( SvStream &rOS, const SwTxtSizeInfo &rInf ); + friend SvStream & WriteSwTxtSizeInfo( SvStream &rOS, const SwTxtSizeInfo &rInf ); // No Bullets for the symbol font! inline sal_Bool IsNoSymbol() const @@ -474,7 +474,7 @@ public: inline const SwRect &GetPaintRect() const { return aPaintRect; } inline void SetPaintRect( const SwRect &rNew ) { aPaintRect = rNew; } - friend SvStream &operator<<( SvStream &rOS, const SwTxtPaintInfo &rInf ); + friend SvStream & WriteSwTxtPaintInfo( SvStream &rOS, const SwTxtPaintInfo &rInf ); // // STUFF FOR JUSTIFIED ALIGNMENT @@ -719,7 +719,7 @@ public: // Return: Position; sets cHookChar if necessary sal_Int32 ScanPortionEnd( const sal_Int32 nStart, const sal_Int32 nEnd ); - friend SvStream &operator<<( SvStream &rOS, const SwTxtFormatInfo &rInf ); + friend SvStream & WriteSwTxtFormatInfo( SvStream &rOS, const SwTxtFormatInfo &rInf ); inline void SetTabOverflow( sal_Bool bOverflow ) { bTabOverflow = bOverflow; } inline sal_Bool IsTabOverflow( ) { return bTabOverflow; } diff --git a/sw/source/core/text/porlin.hxx b/sw/source/core/text/porlin.hxx index e6d3e56c78de..2c90548cb462 100644 --- a/sw/source/core/text/porlin.hxx +++ b/sw/source/core/text/porlin.hxx @@ -32,7 +32,7 @@ class SwPortionHandler; // The portions output operators are virtual methods of the portion. #ifdef DBG_UTIL -#define OUTPUT_OPERATOR virtual SvStream &operator<<( SvStream & aOs ) const; +#define OUTPUT_OPERATOR virtual SvStream & operator<<( SvStream & aOs ) const; #else #define OUTPUT_OPERATOR #endif |