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/source/control | |
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/source/control')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 2 | ||||
-rw-r--r-- | svtools/source/control/ruler.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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()) { |