diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 13:30:30 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 13:34:48 +0200 |
commit | 190334febe62d56d80489034f0ee3cf59100f6c4 (patch) | |
tree | 4cde37896e4b6a00bc84fbc5e69fbe41a8f8dcb9 /extensions/source | |
parent | f7a24eff2d40ca30c6f299ab6534393c5c146b95 (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: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/bibliography/bibload.cxx | 2 | ||||
-rw-r--r-- | extensions/source/bibliography/datman.cxx | 2 | ||||
-rw-r--r-- | extensions/source/bibliography/framectr.cxx | 2 | ||||
-rw-r--r-- | extensions/source/bibliography/general.cxx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index d963d2cddd6b..8dce89ac480f 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -458,7 +458,7 @@ Reference< XResultSet > BibliographyLoader::GetDataCursor() const return m_xCursor; } -rtl::OUString lcl_AddProperty(Reference< XNameAccess > xColumns, +static rtl::OUString lcl_AddProperty(Reference< XNameAccess > xColumns, const Mapping* pMapping, const String& rColumnName) { String sColumnName(rColumnName); diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index 242733b52744..3aed96675c01 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -289,7 +289,7 @@ public: }; -sal_uInt16 lcl_FindLogicalName(BibConfig* pConfig , +static sal_uInt16 lcl_FindLogicalName(BibConfig* pConfig , const ::rtl::OUString& rLogicalColumnName) { for(sal_uInt16 i = 0; i < COLUMN_COUNT; i++) diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index 554ef62076dd..0ca51d192bf5 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -409,7 +409,7 @@ sal_Bool BibFrameController_Impl::SaveModified(const Reference< form::runtime::X return bResult; } -Window* lcl_GetFocusChild( Window* pParent ) +static Window* lcl_GetFocusChild( Window* pParent ) { sal_uInt16 nChildren = pParent->GetChildCount(); for( sal_uInt16 nChild = 0; nChild < nChildren; ++nChild) diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx index ca2507638c6d..eccb955e1f0f 100644 --- a/extensions/source/bibliography/general.cxx +++ b/extensions/source/bibliography/general.cxx @@ -65,7 +65,7 @@ using namespace ::rtl; #define C2S(cChar) String::CreateFromAscii(cChar) #define DISTANCE_CONTROL_TO_FIXEDTEXT 5 -::Point lcl_MovePoint(const FixedText& rFixedText) +static ::Point lcl_MovePoint(const FixedText& rFixedText) { ::Point aRet(rFixedText.GetPosPixel()); aRet.X() += rFixedText.GetSizePixel().Width(); @@ -74,7 +74,7 @@ using namespace ::rtl; } //----------------------------------------------------------------------------- -OUString lcl_GetColumnName( const Mapping* pMapping, sal_uInt16 nIndexPos ) +static OUString lcl_GetColumnName( const Mapping* pMapping, sal_uInt16 nIndexPos ) { BibConfig* pBibConfig = BibModul::GetConfig(); OUString sRet = pBibConfig->GetDefColumnName(nIndexPos); |