diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 16:49:40 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 16:56:54 +0200 |
commit | 21d10c6f3266d4fac9c91f9d0fab529a6841b39e (patch) | |
tree | d4436c5d48e16d81518906f5337bd16ae1dec823 /sw/source/core/text/pormulti.cxx | |
parent | 908794d36f489c60835bfa8a17ac6bd9c256c7df (diff) |
mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html
Change-Id: I21e12d6a4dfb9697d2346a4e564e96af0ad03f96
Diffstat (limited to 'sw/source/core/text/pormulti.cxx')
-rw-r--r-- | sw/source/core/text/pormulti.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx index 20b428a127da..5f5ec1fecdcf 100644 --- a/sw/source/core/text/pormulti.cxx +++ b/sw/source/core/text/pormulti.cxx @@ -825,7 +825,7 @@ void SwRubyPortion::CalcRubyOffset() * the 2-line-formats has the same brackets. * --------------------------------------------------*/ -sal_Bool lcl_Has2Lines( const SwTxtAttr& rAttr, const SvxTwoLinesItem* &rpRef, +static sal_Bool lcl_Has2Lines( const SwTxtAttr& rAttr, const SvxTwoLinesItem* &rpRef, sal_Bool &rValue ) { const SfxPoolItem* pItem = CharFmt::GetItem( rAttr, RES_CHRATR_TWO_LINES ); @@ -855,7 +855,7 @@ sal_Bool lcl_Has2Lines( const SwTxtAttr& rAttr, const SvxTwoLinesItem* &rpRef, * to the charrotate-format's value. * --------------------------------------------------*/ -sal_Bool lcl_HasRotation( const SwTxtAttr& rAttr, +static sal_Bool lcl_HasRotation( const SwTxtAttr& rAttr, const SvxCharRotateItem* &rpRef, sal_Bool &rValue ) { const SfxPoolItem* pItem = CharFmt::GetItem( rAttr, RES_CHRATR_ROTATE ); @@ -1684,7 +1684,7 @@ void SwTxtPainter::PaintMultiPortion( const SwRect &rPaint, SetPropFont( 0 ); } -sal_Bool lcl_ExtractFieldFollow( SwLineLayout* pLine, SwLinePortion* &rpFld ) +static sal_Bool lcl_ExtractFieldFollow( SwLineLayout* pLine, SwLinePortion* &rpFld ) { SwLinePortion* pLast = pLine; rpFld = pLine->GetPortion(); @@ -1715,7 +1715,7 @@ sal_Bool lcl_ExtractFieldFollow( SwLineLayout* pLine, SwLinePortion* &rpFld ) * the rest of the remaining multi portion * --------------------------------------------------*/ -void lcl_TruncateMultiPortion( SwMultiPortion& rMulti, SwTxtFormatInfo& rInf, +static void lcl_TruncateMultiPortion( SwMultiPortion& rMulti, SwTxtFormatInfo& rInf, xub_StrLen nStartIdx ) { rMulti.GetRoot().Truncate(); |