tdf#97966 Drop 'static' keywords

Including no keywords from extern "C" blocks

Change-Id: Id0304994a692f1004993dda2ffd7fb819ab8e8d0
Reviewed-on: https://gerrit.libreoffice.org/23670
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Wastack
2016-03-31 08:34:53 +02:00
committed by Stephan Bergmann
parent 0de40868b4
commit 0b8e5ca5a2
8 changed files with 11 additions and 11 deletions

View File

@@ -28,13 +28,13 @@ namespace accessibility
{
namespace
{
static void checkIndex_Impl( sal_Int32 _nIndex, const OUString& _sText ) throw (css::lang::IndexOutOfBoundsException)
void checkIndex_Impl( sal_Int32 _nIndex, const OUString& _sText ) throw (css::lang::IndexOutOfBoundsException)
{
if ( _nIndex >= _sText.getLength() )
throw css::lang::IndexOutOfBoundsException();
}
static sal_Int32 getIndex_Impl( sal_Int32 _nRow, sal_uInt16 _nColumn, sal_uInt16 _nColumnCount )
sal_Int32 getIndex_Impl( sal_Int32 _nRow, sal_uInt16 _nColumn, sal_uInt16 _nColumnCount )
{
return _nRow * _nColumnCount + _nColumn;
}

View File

@@ -31,7 +31,7 @@ namespace accessibility
{
// FIXME this is a copy'n'paste from
// source/extended/AccessibleBrowseBoxTableCell.cxx, get rid of that...
static void checkIndex_Impl( sal_Int32 _nIndex, const OUString& _sText ) throw (css::lang::IndexOutOfBoundsException)
void checkIndex_Impl( sal_Int32 _nIndex, const OUString& _sText ) throw (css::lang::IndexOutOfBoundsException)
{
if ( _nIndex >= _sText.getLength() )
throw css::lang::IndexOutOfBoundsException();

View File

@@ -115,7 +115,7 @@ namespace basctl
namespace
{
static bool StringCompareLessThan( const OUString& lhs, const OUString& rhs )
bool StringCompareLessThan( const OUString& lhs, const OUString& rhs )
{
return lhs.compareToIgnoreAsciiCase( rhs ) < 0;
}

View File

@@ -48,7 +48,7 @@ uno::Reference< frame::XModuleManager2 > lclCreateModuleManager()
typedef ::std::vector<uno::Reference<frame::XModel>> ModelVector;
static ModelVector CreateDocumentsEnumeration(
ModelVector CreateDocumentsEnumeration(
const uno::Reference< frame::XModel >& rxModel)
{
ModelVector models;

View File

@@ -57,7 +57,7 @@ enum
PROP_PIE_TEMPLATE_USE_RINGS
};
static void lcl_AddPropertiesToVector(
void lcl_AddPropertiesToVector(
::std::vector< Property > & rOutProperties )
{
rOutProperties.push_back(

View File

@@ -55,7 +55,7 @@ typedef opengl::OpenglShapeFactory* (*__getOpenglShapeFactory)(void);
#ifndef DISABLE_DYNLOADING
static void SAL_CALL thisModule() {}
void SAL_CALL thisModule() {}
osl::Module* getOpenGLModule()
{

View File

@@ -3426,7 +3426,7 @@ private:
rtl::Reference< unoidl::SingleInterfaceBasedServiceEntity > entity_;
};
static void failsToSupply(
void failsToSupply(
FileStream & o, OUString const & service, OString const & type)
{
o << "::rtl::OUString(\"component context fails to supply service \") + \""

View File

@@ -58,7 +58,7 @@ namespace
}
};
static void releaseId(AccessibleEventNotifier::TClientId const nId)
void releaseId(AccessibleEventNotifier::TClientId const nId)
{
IntervalMap & rFreeIntervals(FreeIntervals::get());
IntervalMap::iterator const upper(rFreeIntervals.upper_bound(nId));
@@ -87,7 +87,7 @@ namespace
}
/// generates a new client id
static AccessibleEventNotifier::TClientId generateId()
AccessibleEventNotifier::TClientId generateId()
{
IntervalMap & rFreeIntervals(FreeIntervals::get());
assert(!rFreeIntervals.empty());
@@ -124,7 +124,7 @@ namespace
<TRUE/> if and only if the client could be found and
<arg>rPos</arg> has been filled with its position
*/
static bool implLookupClient(
bool implLookupClient(
const AccessibleEventNotifier::TClientId nClient,
ClientMap::iterator& rPos )
{