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 /vbahelper/source | |
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 'vbahelper/source')
-rw-r--r-- | vbahelper/source/msforms/vbacontrol.cxx | 4 | ||||
-rw-r--r-- | vbahelper/source/msforms/vbacontrols.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vbahelper/source/msforms/vbacontrol.cxx b/vbahelper/source/msforms/vbacontrol.cxx index c144d40d8c23..f97ee77cf824 100644 --- a/vbahelper/source/msforms/vbacontrol.cxx +++ b/vbahelper/source/msforms/vbacontrol.cxx @@ -414,7 +414,7 @@ PointerStyles styles[] = { }; -long lcl_loPointerToMsoPointer( PointerStyle eType ) +static long lcl_loPointerToMsoPointer( PointerStyle eType ) { long nRet = msforms::fmMousePointer::fmMousePointerDefault; for ( int i = 0, nElems = SAL_N_ELEMENTS( styles ); i < nElems; ++i ) @@ -428,7 +428,7 @@ long lcl_loPointerToMsoPointer( PointerStyle eType ) return nRet; } -Pointer lcl_msoPointerToLOPointer( long msoPointerStyle ) +static Pointer lcl_msoPointerToLOPointer( long msoPointerStyle ) { Pointer aPointer( POINTER_ARROW ); for ( int i = 0, nElems = SAL_N_ELEMENTS( styles ); i < nElems; ++i ) diff --git a/vbahelper/source/msforms/vbacontrols.cxx b/vbahelper/source/msforms/vbacontrols.cxx index 02a568a7fcac..b1798e38b83b 100644 --- a/vbahelper/source/msforms/vbacontrols.cxx +++ b/vbahelper/source/msforms/vbacontrols.cxx @@ -208,7 +208,7 @@ public: }; -uno::Reference<container::XIndexAccess > +static uno::Reference<container::XIndexAccess > lcl_controlsWrapper( const uno::Reference< awt::XControl >& xDlg ) { return new ControlArrayWrapper( xDlg ); |