diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 13:33:22 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 13:34:48 +0200 |
commit | 83154f9234659585cdac1c2e6781cd3498ff4a51 (patch) | |
tree | bfbd678453ed1a4ed0d652e722bc3c84b9ec428a /svtools | |
parent | 190334febe62d56d80489034f0ee3cf59100f6c4 (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: I37b2c7b7acd31437f4be74b0163f4dac2279655b
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/svimpbox.cxx | 2 | ||||
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 2 | ||||
-rw-r--r-- | svtools/source/control/ruler.cxx | 2 | ||||
-rw-r--r-- | svtools/source/svhtml/htmlout.cxx | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx index a2b230604088..d4f0535e52a8 100644 --- a/svtools/source/contnr/svimpbox.cxx +++ b/svtools/source/contnr/svimpbox.cxx @@ -2934,7 +2934,7 @@ void SvImpLBox::PaintDDCursor( SvLBoxEntry* pInsertionPos ) } // Delete all submenus of a PopupMenu, recursively -void lcl_DeleteSubPopups(PopupMenu* pPopup) +static void lcl_DeleteSubPopups(PopupMenu* pPopup) { for(sal_uInt16 i = 0; i < pPopup->GetItemCount(); i++) { diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 26b284d55ce0..1e0856f9713b 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -397,7 +397,7 @@ long BorderWidthImpl::GetGap( long nWidth ) const return result; } -double lcl_getGuessedWidth( long nTested, double nRate, bool nChanging ) +static double lcl_getGuessedWidth( long nTested, double nRate, bool nChanging ) { double nWidth = -1.0; if ( nChanging ) diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index a69a9a7a3966..6f50eba262c3 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -806,7 +806,7 @@ static void ImplCenterTabPos( Point& rPos, sal_uInt16 nTabStyle ) } // ----------------------------------------------------------------------- -void lcl_RotateRect_Impl(Rectangle& rRect, const long nReference, sal_Bool bRightAligned) +static void lcl_RotateRect_Impl(Rectangle& rRect, const long nReference, sal_Bool bRightAligned) { if(!rRect.IsEmpty()) { diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx index 18e1752200d4..36321b23b22c 100644 --- a/svtools/source/svhtml/htmlout.cxx +++ b/svtools/source/svhtml/htmlout.cxx @@ -67,7 +67,7 @@ HTMLOutContext::~HTMLOutContext() rtl_destroyUnicodeToTextConverter( m_hConv ); } -const sal_Char *lcl_svhtml_GetEntityForChar( sal_Unicode c, +static const sal_Char *lcl_svhtml_GetEntityForChar( sal_Unicode c, rtl_TextEncoding eDestEnc ) { const sal_Char* pStr = 0; @@ -400,7 +400,7 @@ const sal_Char *lcl_svhtml_GetEntityForChar( sal_Unicode c, return pStr; } -rtl::OString lcl_ConvertCharToHTML( sal_Unicode c, +static rtl::OString lcl_ConvertCharToHTML( sal_Unicode c, HTMLOutContext& rContext, String *pNonConvertableChars ) { @@ -487,7 +487,7 @@ rtl::OString lcl_ConvertCharToHTML( sal_Unicode c, return aDest.makeStringAndClear(); } -rtl::OString lcl_FlushToAscii( HTMLOutContext& rContext ) +static rtl::OString lcl_FlushToAscii( HTMLOutContext& rContext ) { rtl::OStringBuffer aDest; |