[Libreoffice-commits] .: binfilter/bf_sw

Michael Meeks mmeeks at kemper.freedesktop.org
Sat Oct 16 13:23:44 PDT 2010


 binfilter/bf_sw/source/core/text/inftxt.hxx |   36 ++++++++++++++--------------
 1 file changed, 18 insertions(+), 18 deletions(-)

New commits:
commit 269f2daafccf39b9d85c4dd8eb0587e22a833e6f
Author: Kenneth Venken <kenneth.venken at gmail.com>
Date:   Sat Oct 16 21:22:57 2010 +0100

    nail binfilter compile warnings

diff --git a/binfilter/bf_sw/source/core/text/inftxt.hxx b/binfilter/bf_sw/source/core/text/inftxt.hxx
index 6697567..3711f3b 100644
--- a/binfilter/bf_sw/source/core/text/inftxt.hxx
+++ b/binfilter/bf_sw/source/core/text/inftxt.hxx
@@ -224,10 +224,10 @@ public:
                    const xub_StrLen nIdx = 0,
                    const xub_StrLen nLen = STRING_LEN );
 
-    inline SwTxtSizeInfo( SwTxtFrm *pFrm, SwFont *pFnt = 0,
-                   const xub_StrLen nIdx = 0,
-                   const xub_StrLen nLen = STRING_LEN )
-           { CtorInit( pFrm, pFnt, nIdx, nLen ); }
+    inline SwTxtSizeInfo( SwTxtFrm *_pFrm, SwFont *_pFnt = 0,
+                   const xub_StrLen _nIdx = 0,
+                   const xub_StrLen _nLen = STRING_LEN )
+           { CtorInit( _pFrm, _pFnt, _nIdx, _nLen ); }
 
     // GetMultiAttr returns the text attribute of the multiportion,
     // if rPos is inside any multi-line part.
@@ -532,9 +532,9 @@ class SwTxtFormatInfo : public SwTxtPaintInfo
 public:
     void CtorInit( SwTxtFrm *pFrm, const sal_Bool bInterHyph = sal_False,
         const sal_Bool bQuick = sal_False, const sal_Bool bTst = sal_False );
-    inline SwTxtFormatInfo(SwTxtFrm *pFrame,const sal_Bool bInterHyph=sal_False,
-            const sal_Bool bQuick = sal_False, const sal_Bool bTst = sal_False )
-           { CtorInit( pFrame, bInterHyph, bQuick, bTst ); }
+    inline SwTxtFormatInfo(SwTxtFrm *pFrame,const sal_Bool _bInterHyph=sal_False,
+            const sal_Bool _bQuick = sal_False, const sal_Bool bTst = sal_False )
+           { CtorInit( pFrame, _bInterHyph, _bQuick, bTst ); }
 
     // For the formatting inside a double line in a line (multi-line portion)
     // we need a modified text-format-info:
@@ -806,24 +806,24 @@ inline void SwTxtPaintInfo::SetPaintOfst( const SwTwips nNew )
 }
 
 
-inline void SwTxtPaintInfo::DrawText( const XubString &rText,
-                            const SwLinePortion &rPor,
-                            const xub_StrLen nStart, const xub_StrLen nLen,
-                            const sal_Bool bKern ) const
+inline void SwTxtPaintInfo::DrawText( const XubString&,
+                            const SwLinePortion&,
+                            const xub_StrLen , const xub_StrLen,
+                            const sal_Bool ) const
 {
-    DBG_BF_ASSERT(0, "STRIP"); //STRIP001 	((SwTxtPaintInfo*)this)->_DrawText( rText, rPor, nStart, nLen, bKern );
+    DBG_BF_ASSERT(0, "STRIP");
 }
 
-inline void SwTxtPaintInfo::DrawText( const SwLinePortion &rPor,
-        const xub_StrLen nLen, const sal_Bool bKern ) const
+inline void SwTxtPaintInfo::DrawText( const SwLinePortion&,
+        const xub_StrLen, const sal_Bool ) const
 {
-    DBG_BF_ASSERT(0, "STRIP"); //STRIP001((SwTxtPaintInfo*)this)->_DrawText( *pTxt, rPor, nIdx, nLen, bKern );
+    DBG_BF_ASSERT(0, "STRIP");
 }
 
-inline void SwTxtPaintInfo::DrawWrongText( const SwLinePortion &rPor,
-                                const xub_StrLen nLen, const sal_Bool bKern ) const
+inline void SwTxtPaintInfo::DrawWrongText( const SwLinePortion&,
+                                const xub_StrLen, const sal_Bool ) const
 {
-    DBG_BF_ASSERT(0, "STRIP"); //STRIP001 	((SwTxtPaintInfo*)this)->_DrawText( *pTxt, rPor, nIdx, nLen, bKern, sal_True );
+    DBG_BF_ASSERT(0, "STRIP");
 }
 
 /*************************************************************************


More information about the Libreoffice-commits mailing list