summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-05 10:11:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-06 07:42:50 +0100
commitc0ac78c97174fcde68daf174f6e8ade502c507d3 (patch)
tree800de448258b3fd82d78efdb53d4f5c8eed6cb26 /extensions
parentda85b582656219a0bc9d20cef59ae6b7ee1c4a9b (diff)
loplugin:salcall handle virtual methods
Change-Id: Iab95db31188ea2914a46d63a7ebef3d825e6ec42 Reviewed-on: https://gerrit.libreoffice.org/45851 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/buttonnavigationhandler.cxx2
-rw-r--r--extensions/source/propctrlr/buttonnavigationhandler.hxx2
-rw-r--r--extensions/source/propctrlr/cellbindinghandler.cxx2
-rw-r--r--extensions/source/propctrlr/cellbindinghandler.hxx2
-rw-r--r--extensions/source/propctrlr/composeduiupdate.hxx2
-rw-r--r--extensions/source/propctrlr/editpropertyhandler.cxx2
-rw-r--r--extensions/source/propctrlr/editpropertyhandler.hxx2
-rw-r--r--extensions/source/propctrlr/eformspropertyhandler.cxx2
-rw-r--r--extensions/source/propctrlr/eformspropertyhandler.hxx2
-rw-r--r--extensions/source/propctrlr/enumrepresentation.hxx6
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx2
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.hxx2
-rw-r--r--extensions/source/propctrlr/formgeometryhandler.cxx4
-rw-r--r--extensions/source/propctrlr/formmetadata.cxx6
-rw-r--r--extensions/source/propctrlr/formmetadata.hxx6
-rw-r--r--extensions/source/propctrlr/genericpropertyhandler.cxx6
-rw-r--r--extensions/source/propctrlr/propcontroller.cxx2
-rw-r--r--extensions/source/propctrlr/propcontroller.hxx2
-rw-r--r--extensions/source/propctrlr/propertycomposer.cxx2
-rw-r--r--extensions/source/propctrlr/propertycomposer.hxx2
-rw-r--r--extensions/source/propctrlr/propertyhandler.hxx2
-rw-r--r--extensions/source/propctrlr/submissionhandler.cxx2
-rw-r--r--extensions/source/propctrlr/submissionhandler.hxx2
-rw-r--r--extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx2
24 files changed, 33 insertions, 33 deletions
diff --git a/extensions/source/propctrlr/buttonnavigationhandler.cxx b/extensions/source/propctrlr/buttonnavigationhandler.cxx
index f7d441684205..93e9572b77d0 100644
--- a/extensions/source/propctrlr/buttonnavigationhandler.cxx
+++ b/extensions/source/propctrlr/buttonnavigationhandler.cxx
@@ -173,7 +173,7 @@ namespace pcr
}
- Sequence< Property > SAL_CALL ButtonNavigationHandler::doDescribeSupportedProperties() const
+ Sequence< Property > ButtonNavigationHandler::doDescribeSupportedProperties() const
{
std::vector< Property > aProperties;
diff --git a/extensions/source/propctrlr/buttonnavigationhandler.hxx b/extensions/source/propctrlr/buttonnavigationhandler.hxx
index a2f823d8e942..fed4722a56fb 100644
--- a/extensions/source/propctrlr/buttonnavigationhandler.hxx
+++ b/extensions/source/propctrlr/buttonnavigationhandler.hxx
@@ -64,7 +64,7 @@ namespace pcr
// PropertyHandler overridables
virtual css::uno::Sequence< css::beans::Property >
- SAL_CALL doDescribeSupportedProperties() const override;
+ doDescribeSupportedProperties() const override;
};
diff --git a/extensions/source/propctrlr/cellbindinghandler.cxx b/extensions/source/propctrlr/cellbindinghandler.cxx
index b45657864ab5..bb3ce64bd8f1 100644
--- a/extensions/source/propctrlr/cellbindinghandler.cxx
+++ b/extensions/source/propctrlr/cellbindinghandler.cxx
@@ -442,7 +442,7 @@ namespace pcr
}
- Sequence< Property > SAL_CALL CellBindingPropertyHandler::doDescribeSupportedProperties() const
+ Sequence< Property > CellBindingPropertyHandler::doDescribeSupportedProperties() const
{
std::vector< Property > aProperties;
diff --git a/extensions/source/propctrlr/cellbindinghandler.hxx b/extensions/source/propctrlr/cellbindinghandler.hxx
index 33c5c81f19de..af42adb0281b 100644
--- a/extensions/source/propctrlr/cellbindinghandler.hxx
+++ b/extensions/source/propctrlr/cellbindinghandler.hxx
@@ -67,7 +67,7 @@ namespace pcr
// PropertyHandler overridables
virtual css::uno::Sequence< css::beans::Property >
- SAL_CALL doDescribeSupportedProperties() const override;
+ doDescribeSupportedProperties() const override;
virtual void onNewComponent() override;
private:
diff --git a/extensions/source/propctrlr/composeduiupdate.hxx b/extensions/source/propctrlr/composeduiupdate.hxx
index 805ed2cf5583..e113b046c831 100644
--- a/extensions/source/propctrlr/composeduiupdate.hxx
+++ b/extensions/source/propctrlr/composeduiupdate.hxx
@@ -40,7 +40,7 @@ namespace pcr
{
public:
/// @throws css::uno::RuntimeException
- virtual bool SAL_CALL hasPropertyByName( const OUString& _rName ) = 0;
+ virtual bool hasPropertyByName( const OUString& _rName ) = 0;
protected:
~IPropertyExistenceCheck() {}
diff --git a/extensions/source/propctrlr/editpropertyhandler.cxx b/extensions/source/propctrlr/editpropertyhandler.cxx
index 4d28814c1e81..e8da2ca83a3a 100644
--- a/extensions/source/propctrlr/editpropertyhandler.cxx
+++ b/extensions/source/propctrlr/editpropertyhandler.cxx
@@ -210,7 +210,7 @@ namespace pcr
}
- Sequence< Property > SAL_CALL EditPropertyHandler::doDescribeSupportedProperties() const
+ Sequence< Property > EditPropertyHandler::doDescribeSupportedProperties() const
{
std::vector< Property > aProperties;
diff --git a/extensions/source/propctrlr/editpropertyhandler.hxx b/extensions/source/propctrlr/editpropertyhandler.hxx
index 15dbffa07521..cd15c8a7d6d0 100644
--- a/extensions/source/propctrlr/editpropertyhandler.hxx
+++ b/extensions/source/propctrlr/editpropertyhandler.hxx
@@ -58,7 +58,7 @@ namespace pcr
// PropertyHandler overridables
virtual css::uno::Sequence< css::beans::Property >
- SAL_CALL doDescribeSupportedProperties() const override;
+ doDescribeSupportedProperties() const override;
private:
bool implHaveBothScrollBarProperties() const;
bool implHaveTextTypeProperty() const;
diff --git a/extensions/source/propctrlr/eformspropertyhandler.cxx b/extensions/source/propctrlr/eformspropertyhandler.cxx
index 645e4c7c1693..4ed56c0ff3fb 100644
--- a/extensions/source/propctrlr/eformspropertyhandler.cxx
+++ b/extensions/source/propctrlr/eformspropertyhandler.cxx
@@ -278,7 +278,7 @@ namespace pcr
}
- Sequence< Property > SAL_CALL EFormsPropertyHandler::doDescribeSupportedProperties() const
+ Sequence< Property > EFormsPropertyHandler::doDescribeSupportedProperties() const
{
std::vector< Property > aProperties;
diff --git a/extensions/source/propctrlr/eformspropertyhandler.hxx b/extensions/source/propctrlr/eformspropertyhandler.hxx
index 0d7a9488e34a..ede7bee9819d 100644
--- a/extensions/source/propctrlr/eformspropertyhandler.hxx
+++ b/extensions/source/propctrlr/eformspropertyhandler.hxx
@@ -79,7 +79,7 @@ namespace pcr
// PropertyHandler overridables
virtual css::uno::Sequence< css::beans::Property >
- SAL_CALL doDescribeSupportedProperties() const override;
+ doDescribeSupportedProperties() const override;
virtual void onNewComponent() override;
protected:
diff --git a/extensions/source/propctrlr/enumrepresentation.hxx b/extensions/source/propctrlr/enumrepresentation.hxx
index aa8c1f5bd8ea..90428590e670 100644
--- a/extensions/source/propctrlr/enumrepresentation.hxx
+++ b/extensions/source/propctrlr/enumrepresentation.hxx
@@ -39,19 +39,19 @@ namespace pcr
public:
/** retrieves all descriptions of all possible values of the enumeration property
*/
- virtual std::vector< OUString > SAL_CALL getDescriptions(
+ virtual std::vector< OUString > getDescriptions(
) const = 0;
/** converts a given description into a property value
*/
- virtual void SAL_CALL getValueFromDescription(
+ virtual void getValueFromDescription(
const OUString& _rDescription,
css::uno::Any& _out_rValue
) const = 0;
/** converts a given property value into a description
*/
- virtual OUString SAL_CALL getDescriptionForValue(
+ virtual OUString getDescriptionForValue(
const css::uno::Any& _rEnumValue
) const = 0;
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index da9ad725451d..d1b0bca65e97 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -810,7 +810,7 @@ namespace pcr
FormComponentPropertyHandler_Base::removePropertyChangeListener( _rxListener );
}
- Sequence< Property > SAL_CALL FormComponentPropertyHandler::doDescribeSupportedProperties() const
+ Sequence< Property > FormComponentPropertyHandler::doDescribeSupportedProperties() const
{
if ( !m_xComponentPropertyInfo.is() )
return Sequence< Property >();
diff --git a/extensions/source/propctrlr/formcomponenthandler.hxx b/extensions/source/propctrlr/formcomponenthandler.hxx
index 1bf8df0f152e..991449992de6 100644
--- a/extensions/source/propctrlr/formcomponenthandler.hxx
+++ b/extensions/source/propctrlr/formcomponenthandler.hxx
@@ -135,7 +135,7 @@ namespace pcr
// PropertyHandler
virtual css::uno::Sequence< css::beans::Property >
- SAL_CALL doDescribeSupportedProperties() const override;
+ doDescribeSupportedProperties() const override;
virtual void onNewComponent() override;
private:
diff --git a/extensions/source/propctrlr/formgeometryhandler.cxx b/extensions/source/propctrlr/formgeometryhandler.cxx
index 31f7c0ec5860..dedd555dea19 100644
--- a/extensions/source/propctrlr/formgeometryhandler.cxx
+++ b/extensions/source/propctrlr/formgeometryhandler.cxx
@@ -232,7 +232,7 @@ namespace pcr
virtual void SAL_CALL disposing() override;
// PropertyHandler overridables
- virtual Sequence< Property > SAL_CALL doDescribeSupportedProperties() const override;
+ virtual Sequence< Property > doDescribeSupportedProperties() const override;
protected:
virtual void onNewComponent() override;
@@ -537,7 +537,7 @@ namespace pcr
}
- Sequence< Property > SAL_CALL FormGeometryHandler::doDescribeSupportedProperties() const
+ Sequence< Property > FormGeometryHandler::doDescribeSupportedProperties() const
{
if ( !m_xAssociatedShape.is() )
return Sequence< Property >();
diff --git a/extensions/source/propctrlr/formmetadata.cxx b/extensions/source/propctrlr/formmetadata.cxx
index fd831d55febc..0f8e6cc5b235 100644
--- a/extensions/source/propctrlr/formmetadata.cxx
+++ b/extensions/source/propctrlr/formmetadata.cxx
@@ -596,13 +596,13 @@ namespace pcr
}
- std::vector< OUString > SAL_CALL DefaultEnumRepresentation::getDescriptions() const
+ std::vector< OUString > DefaultEnumRepresentation::getDescriptions() const
{
return m_rMetaData.getPropertyEnumRepresentations( m_nPropertyId );
}
- void SAL_CALL DefaultEnumRepresentation::getValueFromDescription( const OUString& _rDescription, Any& _out_rValue ) const
+ void DefaultEnumRepresentation::getValueFromDescription( const OUString& _rDescription, Any& _out_rValue ) const
{
sal_uInt32 nPropertyUIFlags = m_rMetaData.getPropertyUIFlags( m_nPropertyId );
std::vector< OUString > aEnumStrings = m_rMetaData.getPropertyEnumRepresentations( m_nPropertyId );
@@ -645,7 +645,7 @@ namespace pcr
}
- OUString SAL_CALL DefaultEnumRepresentation::getDescriptionForValue( const Any& _rEnumValue ) const
+ OUString DefaultEnumRepresentation::getDescriptionForValue( const Any& _rEnumValue ) const
{
OUString sReturn;
sal_Int32 nIntValue = -1;
diff --git a/extensions/source/propctrlr/formmetadata.hxx b/extensions/source/propctrlr/formmetadata.hxx
index 2f0370c64746..2cc6f5dbb399 100644
--- a/extensions/source/propctrlr/formmetadata.hxx
+++ b/extensions/source/propctrlr/formmetadata.hxx
@@ -88,9 +88,9 @@ namespace pcr
protected:
// IPropertyEnumRepresentation implementqation
virtual std::vector< OUString >
- SAL_CALL getDescriptions() const override;
- virtual void SAL_CALL getValueFromDescription( const OUString& _rDescription, css::uno::Any& _out_rValue ) const override;
- virtual OUString SAL_CALL getDescriptionForValue( const css::uno::Any& _rEnumValue ) const override;
+ getDescriptions() const override;
+ virtual void getValueFromDescription( const OUString& _rDescription, css::uno::Any& _out_rValue ) const override;
+ virtual OUString getDescriptionForValue( const css::uno::Any& _rEnumValue ) const override;
private:
DefaultEnumRepresentation( const DefaultEnumRepresentation& ) = delete;
diff --git a/extensions/source/propctrlr/genericpropertyhandler.cxx b/extensions/source/propctrlr/genericpropertyhandler.cxx
index 859b7ae76eff..88d109d24f41 100644
--- a/extensions/source/propctrlr/genericpropertyhandler.cxx
+++ b/extensions/source/propctrlr/genericpropertyhandler.cxx
@@ -75,9 +75,9 @@ namespace pcr
// IPropertyEnumRepresentation implementqation
virtual std::vector< OUString >
- SAL_CALL getDescriptions() const override;
- virtual void SAL_CALL getValueFromDescription( const OUString& _rDescription, css::uno::Any& _out_rValue ) const override;
- virtual OUString SAL_CALL getDescriptionForValue( const css::uno::Any& _rEnumValue ) const override;
+ getDescriptions() const override;
+ virtual void getValueFromDescription( const OUString& _rDescription, css::uno::Any& _out_rValue ) const override;
+ virtual OUString getDescriptionForValue( const css::uno::Any& _rEnumValue ) const override;
private:
void impl_getValues( Sequence< sal_Int32 >& _out_rValues ) const;
diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx
index 6ee3d63b46f0..a3e7cc1f3a8c 100644
--- a/extensions/source/propctrlr/propcontroller.cxx
+++ b/extensions/source/propctrlr/propcontroller.cxx
@@ -1319,7 +1319,7 @@ namespace pcr
}
- bool SAL_CALL OPropertyBrowserController::hasPropertyByName( const OUString& _rName )
+ bool OPropertyBrowserController::hasPropertyByName( const OUString& _rName )
{
for ( OrderedPropertyMap::const_iterator search = m_aProperties.begin();
search != m_aProperties.end();
diff --git a/extensions/source/propctrlr/propcontroller.hxx b/extensions/source/propctrlr/propcontroller.hxx
index efb18ec27a84..e8358856c43e 100644
--- a/extensions/source/propctrlr/propcontroller.hxx
+++ b/extensions/source/propctrlr/propcontroller.hxx
@@ -205,7 +205,7 @@ namespace pcr
virtual void valueChanged( const css::uno::Reference< css::inspection::XPropertyControl >& Control ) override;
// IPropertyExistenceCheck
- virtual bool SAL_CALL hasPropertyByName( const OUString& _rName ) override;
+ virtual bool hasPropertyByName( const OUString& _rName ) override;
// XObjectInspectorUI
virtual void SAL_CALL enablePropertyUI( const OUString& _rPropertyName, sal_Bool _bEnable ) override;
diff --git a/extensions/source/propctrlr/propertycomposer.cxx b/extensions/source/propctrlr/propertycomposer.cxx
index 04c9bd82995c..2628cb03fc56 100644
--- a/extensions/source/propctrlr/propertycomposer.cxx
+++ b/extensions/source/propctrlr/propertycomposer.cxx
@@ -488,7 +488,7 @@ namespace pcr
}
- bool SAL_CALL PropertyComposer::hasPropertyByName( const OUString& _rName )
+ bool PropertyComposer::hasPropertyByName( const OUString& _rName )
{
return impl_isSupportedProperty_nothrow( _rName );
}
diff --git a/extensions/source/propctrlr/propertycomposer.hxx b/extensions/source/propctrlr/propertycomposer.hxx
index 8f2f1fc102a5..08adeb1dab75 100644
--- a/extensions/source/propctrlr/propertycomposer.hxx
+++ b/extensions/source/propctrlr/propertycomposer.hxx
@@ -110,7 +110,7 @@ namespace pcr
virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
// IPropertyExistenceCheck
- virtual bool SAL_CALL hasPropertyByName( const OUString& _rName ) override;
+ virtual bool hasPropertyByName( const OUString& _rName ) override;
private:
/** ensures that m_pUIRequestComposer exists
diff --git a/extensions/source/propctrlr/propertyhandler.hxx b/extensions/source/propctrlr/propertyhandler.hxx
index 7711e6055af0..faad4b062f47 100644
--- a/extensions/source/propctrlr/propertyhandler.hxx
+++ b/extensions/source/propctrlr/propertyhandler.hxx
@@ -121,7 +121,7 @@ namespace pcr
// own overridables
virtual css::uno::Sequence< css::beans::Property >
- SAL_CALL doDescribeSupportedProperties() const = 0;
+ doDescribeSupportedProperties() const = 0;
/// called when XPropertyHandler::inspect has been called, and we thus have a new component to inspect
virtual void onNewComponent();
diff --git a/extensions/source/propctrlr/submissionhandler.cxx b/extensions/source/propctrlr/submissionhandler.cxx
index 89d4b312b629..8c53f83a7c01 100644
--- a/extensions/source/propctrlr/submissionhandler.cxx
+++ b/extensions/source/propctrlr/submissionhandler.cxx
@@ -259,7 +259,7 @@ namespace pcr
}
- Sequence< Property > SAL_CALL SubmissionPropertyHandler::doDescribeSupportedProperties() const
+ Sequence< Property > SubmissionPropertyHandler::doDescribeSupportedProperties() const
{
std::vector< Property > aProperties;
if ( m_pHelper.get() )
diff --git a/extensions/source/propctrlr/submissionhandler.hxx b/extensions/source/propctrlr/submissionhandler.hxx
index 47f18f12438e..9ce01a2f1d19 100644
--- a/extensions/source/propctrlr/submissionhandler.hxx
+++ b/extensions/source/propctrlr/submissionhandler.hxx
@@ -101,7 +101,7 @@ namespace pcr
// PropertyHandler overridables
virtual css::uno::Sequence< css::beans::Property >
- SAL_CALL doDescribeSupportedProperties() const override;
+ doDescribeSupportedProperties() const override;
virtual void onNewComponent() override;
private:
diff --git a/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx b/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx
index ea1564525c8b..e49be9b60843 100644
--- a/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx
+++ b/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx
@@ -71,7 +71,7 @@ namespace pcr
// PropertyHandler overridables
virtual css::uno::Sequence< css::beans::Property >
- SAL_CALL doDescribeSupportedProperties() const override;
+ doDescribeSupportedProperties() const override;
virtual void onNewComponent() override;
private: