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/inc | |
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/inc')
-rw-r--r-- | sw/inc/anchoredobject.hxx | 4 | ||||
-rw-r--r-- | sw/inc/index.hxx | 2 | ||||
-rw-r--r-- | sw/inc/unotbl.hxx | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/anchoredobject.hxx b/sw/inc/anchoredobject.hxx index 247717e12c91..0aad748dc17f 100644 --- a/sw/inc/anchoredobject.hxx +++ b/sw/inc/anchoredobject.hxx @@ -175,9 +175,9 @@ class SW_DLLPUBLIC SwAnchoredObject void _CheckTopOfLine( const SwFmtAnchor& _rAnch, const SwTxtFrm& _rAnchorCharFrm ); - // method <lcl_HideObj(..)> sets needed data structure values for the + // method <sw_HideObj(..)> sets needed data structure values for the // object positioning - friend bool lcl_HideObj( const SwTxtFrm& _rFrm, + friend bool sw_HideObj( const SwTxtFrm& _rFrm, const RndStdIds _eAnchorType, const xub_StrLen _nObjAnchorPos, SwAnchoredObject* _pAnchoredObj ); diff --git a/sw/inc/index.hxx b/sw/inc/index.hxx index a47bbaf40f10..dc8c5db4deaa 100644 --- a/sw/inc/index.hxx +++ b/sw/inc/index.hxx @@ -121,7 +121,7 @@ public: class SwIndexReg { friend class SwIndex; - friend bool lcl_PosOk(const SwPosition & aPos); + friend bool sw_PosOk(const SwPosition & aPos); const SwIndex * m_pFirst; const SwIndex * m_pLast; diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx index 18a00290d93d..f81830e47e70 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -87,10 +87,10 @@ class SwXCell : public SwXCellBaseClass, public SwXText, public SwClient { - friend void lcl_setString( SwXCell &rCell, const rtl::OUString &rTxt, + friend void sw_setString( SwXCell &rCell, const rtl::OUString &rTxt, sal_Bool bKeepNumberFmt = sal_False ); - friend double lcl_getValue( SwXCell &rCell ); - friend void lcl_setValue( SwXCell &rCell, double nVal ); + friend double sw_getValue( SwXCell &rCell ); + friend void sw_setValue( SwXCell &rCell, double nVal ); const SfxItemPropertySet* m_pPropSet; |