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:
committed by
Stephan Bergmann
parent
0de40868b4
commit
0b8e5ca5a2
@@ -28,13 +28,13 @@ namespace accessibility
|
|||||||
{
|
{
|
||||||
namespace
|
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() )
|
if ( _nIndex >= _sText.getLength() )
|
||||||
throw css::lang::IndexOutOfBoundsException();
|
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;
|
return _nRow * _nColumnCount + _nColumn;
|
||||||
}
|
}
|
||||||
|
@@ -31,7 +31,7 @@ namespace accessibility
|
|||||||
{
|
{
|
||||||
// FIXME this is a copy'n'paste from
|
// FIXME this is a copy'n'paste from
|
||||||
// source/extended/AccessibleBrowseBoxTableCell.cxx, get rid of that...
|
// 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() )
|
if ( _nIndex >= _sText.getLength() )
|
||||||
throw css::lang::IndexOutOfBoundsException();
|
throw css::lang::IndexOutOfBoundsException();
|
||||||
|
@@ -115,7 +115,7 @@ namespace basctl
|
|||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
static bool StringCompareLessThan( const OUString& lhs, const OUString& rhs )
|
bool StringCompareLessThan( const OUString& lhs, const OUString& rhs )
|
||||||
{
|
{
|
||||||
return lhs.compareToIgnoreAsciiCase( rhs ) < 0;
|
return lhs.compareToIgnoreAsciiCase( rhs ) < 0;
|
||||||
}
|
}
|
||||||
|
@@ -48,7 +48,7 @@ uno::Reference< frame::XModuleManager2 > lclCreateModuleManager()
|
|||||||
|
|
||||||
typedef ::std::vector<uno::Reference<frame::XModel>> ModelVector;
|
typedef ::std::vector<uno::Reference<frame::XModel>> ModelVector;
|
||||||
|
|
||||||
static ModelVector CreateDocumentsEnumeration(
|
ModelVector CreateDocumentsEnumeration(
|
||||||
const uno::Reference< frame::XModel >& rxModel)
|
const uno::Reference< frame::XModel >& rxModel)
|
||||||
{
|
{
|
||||||
ModelVector models;
|
ModelVector models;
|
||||||
|
@@ -57,7 +57,7 @@ enum
|
|||||||
PROP_PIE_TEMPLATE_USE_RINGS
|
PROP_PIE_TEMPLATE_USE_RINGS
|
||||||
};
|
};
|
||||||
|
|
||||||
static void lcl_AddPropertiesToVector(
|
void lcl_AddPropertiesToVector(
|
||||||
::std::vector< Property > & rOutProperties )
|
::std::vector< Property > & rOutProperties )
|
||||||
{
|
{
|
||||||
rOutProperties.push_back(
|
rOutProperties.push_back(
|
||||||
|
@@ -55,7 +55,7 @@ typedef opengl::OpenglShapeFactory* (*__getOpenglShapeFactory)(void);
|
|||||||
|
|
||||||
#ifndef DISABLE_DYNLOADING
|
#ifndef DISABLE_DYNLOADING
|
||||||
|
|
||||||
static void SAL_CALL thisModule() {}
|
void SAL_CALL thisModule() {}
|
||||||
|
|
||||||
osl::Module* getOpenGLModule()
|
osl::Module* getOpenGLModule()
|
||||||
{
|
{
|
||||||
|
@@ -3426,7 +3426,7 @@ private:
|
|||||||
rtl::Reference< unoidl::SingleInterfaceBasedServiceEntity > entity_;
|
rtl::Reference< unoidl::SingleInterfaceBasedServiceEntity > entity_;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void failsToSupply(
|
void failsToSupply(
|
||||||
FileStream & o, OUString const & service, OString const & type)
|
FileStream & o, OUString const & service, OString const & type)
|
||||||
{
|
{
|
||||||
o << "::rtl::OUString(\"component context fails to supply service \") + \""
|
o << "::rtl::OUString(\"component context fails to supply service \") + \""
|
||||||
|
@@ -58,7 +58,7 @@ namespace
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static void releaseId(AccessibleEventNotifier::TClientId const nId)
|
void releaseId(AccessibleEventNotifier::TClientId const nId)
|
||||||
{
|
{
|
||||||
IntervalMap & rFreeIntervals(FreeIntervals::get());
|
IntervalMap & rFreeIntervals(FreeIntervals::get());
|
||||||
IntervalMap::iterator const upper(rFreeIntervals.upper_bound(nId));
|
IntervalMap::iterator const upper(rFreeIntervals.upper_bound(nId));
|
||||||
@@ -87,7 +87,7 @@ namespace
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// generates a new client id
|
/// generates a new client id
|
||||||
static AccessibleEventNotifier::TClientId generateId()
|
AccessibleEventNotifier::TClientId generateId()
|
||||||
{
|
{
|
||||||
IntervalMap & rFreeIntervals(FreeIntervals::get());
|
IntervalMap & rFreeIntervals(FreeIntervals::get());
|
||||||
assert(!rFreeIntervals.empty());
|
assert(!rFreeIntervals.empty());
|
||||||
@@ -124,7 +124,7 @@ namespace
|
|||||||
<TRUE/> if and only if the client could be found and
|
<TRUE/> if and only if the client could be found and
|
||||||
<arg>rPos</arg> has been filled with its position
|
<arg>rPos</arg> has been filled with its position
|
||||||
*/
|
*/
|
||||||
static bool implLookupClient(
|
bool implLookupClient(
|
||||||
const AccessibleEventNotifier::TClientId nClient,
|
const AccessibleEventNotifier::TClientId nClient,
|
||||||
ClientMap::iterator& rPos )
|
ClientMap::iterator& rPos )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user