diff options
8 files changed, 11 insertions, 11 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx index e51ff1f0e260..74d344b6a0b9 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx @@ -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; } diff --git a/accessibility/source/extended/AccessibleGridControlTableCell.cxx b/accessibility/source/extended/AccessibleGridControlTableCell.cxx index 30b941ead583..771b8062b424 100644 --- a/accessibility/source/extended/AccessibleGridControlTableCell.cxx +++ b/accessibility/source/extended/AccessibleGridControlTableCell.cxx @@ -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(); diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx index 6d3a328100b0..3581c1b92e1a 100644 --- a/basctl/source/basicide/scriptdocument.cxx +++ b/basctl/source/basicide/scriptdocument.cxx @@ -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; } diff --git a/basic/source/basmgr/vbahelper.cxx b/basic/source/basmgr/vbahelper.cxx index 366df75dff53..475a02fb4fce 100644 --- a/basic/source/basmgr/vbahelper.cxx +++ b/basic/source/basmgr/vbahelper.cxx @@ -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; diff --git a/chart2/source/model/template/PieChartTypeTemplate.cxx b/chart2/source/model/template/PieChartTypeTemplate.cxx index 3e5b679dff77..bd154e38da69 100644 --- a/chart2/source/model/template/PieChartTypeTemplate.cxx +++ b/chart2/source/model/template/PieChartTypeTemplate.cxx @@ -57,7 +57,7 @@ enum PROP_PIE_TEMPLATE_USE_RINGS }; -static void lcl_AddPropertiesToVector( +void lcl_AddPropertiesToVector( ::std::vector< Property > & rOutProperties ) { rOutProperties.push_back( diff --git a/chart2/source/view/main/AbstractShapeFactory.cxx b/chart2/source/view/main/AbstractShapeFactory.cxx index 3955e3167ca3..d975ed05ea76 100644 --- a/chart2/source/view/main/AbstractShapeFactory.cxx +++ b/chart2/source/view/main/AbstractShapeFactory.cxx @@ -55,7 +55,7 @@ typedef opengl::OpenglShapeFactory* (*__getOpenglShapeFactory)(void); #ifndef DISABLE_DYNLOADING -static void SAL_CALL thisModule() {} +void SAL_CALL thisModule() {} osl::Module* getOpenGLModule() { diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index 92a1c648420f..718940596f6f 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -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 \") + \"" diff --git a/comphelper/source/misc/accessibleeventnotifier.cxx b/comphelper/source/misc/accessibleeventnotifier.cxx index b005d31702d0..a84d0aad0031 100644 --- a/comphelper/source/misc/accessibleeventnotifier.cxx +++ b/comphelper/source/misc/accessibleeventnotifier.cxx @@ -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 ) { |