diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 13:26:46 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 13:34:47 +0200 |
commit | f7a24eff2d40ca30c6f299ab6534393c5c146b95 (patch) | |
tree | 41639f5f6d1f02968d888051e7aeaedbb397d272 /sc/source/ui/app/seltrans.cxx | |
parent | 2c3759735f53c06ebd75a344cc10a47f20f32f09 (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: I231f0b367bf0b513c6c1ce4c4cfdb7c3dc8660d5
Diffstat (limited to 'sc/source/ui/app/seltrans.cxx')
-rw-r--r-- | sc/source/ui/app/seltrans.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sc/source/ui/app/seltrans.cxx b/sc/source/ui/app/seltrans.cxx index c514d0f8e179..aefa0fc131a6 100644 --- a/sc/source/ui/app/seltrans.cxx +++ b/sc/source/ui/app/seltrans.cxx @@ -50,7 +50,7 @@ using namespace com::sun::star; // ----------------------------------------------------------------------- -sal_Bool lcl_IsURLButton( SdrObject* pObject ) +static sal_Bool lcl_IsURLButton( SdrObject* pObject ) { sal_Bool bRet = false; @@ -325,9 +325,6 @@ void ScSelectionTransferObj::CreateCellData() OSL_ENSURE( pCellData, "can't create CellData" ); } -//! make static member of ScDrawView -extern void lcl_CheckOle( const SdrMarkList& rMarkList, sal_Bool& rAnyOle, sal_Bool& rOneOle ); - void ScSelectionTransferObj::CreateDrawData() { OSL_ENSURE( !pDrawData, "CreateDrawData twice" ); @@ -340,7 +337,7 @@ void ScSelectionTransferObj::CreateDrawData() { sal_Bool bAnyOle, bOneOle; const SdrMarkList& rMarkList = pDrawView->GetMarkedObjectList(); - lcl_CheckOle( rMarkList, bAnyOle, bOneOle ); + ScDrawView::CheckOle( rMarkList, bAnyOle, bOneOle ); //--------------------------------------------------------- ScDocShellRef aDragShellRef; |