summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 09:22:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 14:25:42 +0200
commitd4f9f4b2d57c4f51c026fd114934dd63f4ece13e (patch)
tree6234db12b4029286dbfdb513ad5347450f65641c /framework/inc
parent9ee96273a2090b63e0f579a1e9c9cef780756e6d (diff)
loplugin:returnconstval in framework
Change-Id: Id3daf68e2daac3ce11117686fdc00831ce1e3a69 Reviewed-on: https://gerrit.libreoffice.org/78051 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/classes/actiontriggerpropertyset.hxx2
-rw-r--r--framework/inc/classes/actiontriggerseparatorpropertyset.hxx2
-rw-r--r--framework/inc/helper/uiconfigelementwrapperbase.hxx2
-rw-r--r--framework/inc/helper/uielementwrapperbase.hxx2
-rw-r--r--framework/inc/jobs/jobconst.hxx6
-rw-r--r--framework/inc/tabwin/tabwindow.hxx2
-rw-r--r--framework/inc/uielement/constitemcontainer.hxx2
-rw-r--r--framework/inc/uielement/rootitemcontainer.hxx2
8 files changed, 10 insertions, 10 deletions
diff --git a/framework/inc/classes/actiontriggerpropertyset.hxx b/framework/inc/classes/actiontriggerpropertyset.hxx
index 15cacb23e7cc..19a2a5e0dfd3 100644
--- a/framework/inc/classes/actiontriggerpropertyset.hxx
+++ b/framework/inc/classes/actiontriggerpropertyset.hxx
@@ -80,7 +80,7 @@ class ActionTriggerPropertySet : private cppu::BaseMutex,
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override;
- static const css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor();
+ static css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor();
// helper
diff --git a/framework/inc/classes/actiontriggerseparatorpropertyset.hxx b/framework/inc/classes/actiontriggerseparatorpropertyset.hxx
index 6bd6e9168655..33bd3c76083c 100644
--- a/framework/inc/classes/actiontriggerseparatorpropertyset.hxx
+++ b/framework/inc/classes/actiontriggerseparatorpropertyset.hxx
@@ -78,7 +78,7 @@ class ActionTriggerSeparatorPropertySet : private cppu::BaseMutex,
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override;
- static const css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor();
+ static css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor();
// helper
diff --git a/framework/inc/helper/uiconfigelementwrapperbase.hxx b/framework/inc/helper/uiconfigelementwrapperbase.hxx
index 4ba468197986..67d971bfb687 100644
--- a/framework/inc/helper/uiconfigelementwrapperbase.hxx
+++ b/framework/inc/helper/uiconfigelementwrapperbase.hxx
@@ -119,7 +119,7 @@ class UIConfigElementWrapperBase : private cppu::BaseMutex,
virtual void impl_fillNewData();
- static const css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor();
+ static css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor();
sal_Int16 m_nType;
bool m_bPersistent : 1,
diff --git a/framework/inc/helper/uielementwrapperbase.hxx b/framework/inc/helper/uielementwrapperbase.hxx
index 7119c08e1f46..11c30680f67e 100644
--- a/framework/inc/helper/uielementwrapperbase.hxx
+++ b/framework/inc/helper/uielementwrapperbase.hxx
@@ -97,7 +97,7 @@ class UIElementWrapperBase : private cppu::BaseMutex,
virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override;
- static const css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor();
+ static css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor();
::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer; /// container for ALL Listener
OUString m_aResourceURL;
diff --git a/framework/inc/jobs/jobconst.hxx b/framework/inc/jobs/jobconst.hxx
index 1b80c416426d..e66e7e55919b 100644
--- a/framework/inc/jobs/jobconst.hxx
+++ b/framework/inc/jobs/jobconst.hxx
@@ -39,9 +39,9 @@ namespace framework{
class FWI_DLLPUBLIC JobConst
{
public:
- static const OUString ANSWER_DEACTIVATE_JOB();
- static const OUString ANSWER_SAVE_ARGUMENTS();
- static const OUString ANSWER_SEND_DISPATCHRESULT();
+ static const OUString ANSWER_DEACTIVATE_JOB;
+ static const OUString ANSWER_SAVE_ARGUMENTS;
+ static const OUString ANSWER_SEND_DISPATCHRESULT;
};
} // namespace framework
diff --git a/framework/inc/tabwin/tabwindow.hxx b/framework/inc/tabwin/tabwindow.hxx
index 7d1fa6e8a8fa..fb370b2bcf19 100644
--- a/framework/inc/tabwin/tabwindow.hxx
+++ b/framework/inc/tabwin/tabwindow.hxx
@@ -124,7 +124,7 @@ class TabWindow final : public css::lang::XTypeProvider ,
virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override;
- static const css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor();
+ static css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor();
enum Notification
{
diff --git a/framework/inc/uielement/constitemcontainer.hxx b/framework/inc/uielement/constitemcontainer.hxx
index 9ed27693829d..1778f71d1b81 100644
--- a/framework/inc/uielement/constitemcontainer.hxx
+++ b/framework/inc/uielement/constitemcontainer.hxx
@@ -87,7 +87,7 @@ class FWI_DLLPUBLIC ConstItemContainer : public ::cppu::WeakImplHelper<
private:
::cppu::IPropertyArrayHelper& getInfoHelper();
- const css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor();
+ css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor();
void copyItemContainer( const std::vector< css::uno::Sequence< css::beans::PropertyValue > >& rSourceVector );
css::uno::Reference< css::container::XIndexAccess > deepCopyContainer( const css::uno::Reference< css::container::XIndexAccess >& rSubContainer );
diff --git a/framework/inc/uielement/rootitemcontainer.hxx b/framework/inc/uielement/rootitemcontainer.hxx
index b72591c2321c..ce0aa4a426ec 100644
--- a/framework/inc/uielement/rootitemcontainer.hxx
+++ b/framework/inc/uielement/rootitemcontainer.hxx
@@ -112,7 +112,7 @@ class RootItemContainer final : private cppu::BaseMutex,
virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override;
- static const css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor();
+ static css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor();
RootItemContainer& operator=( const RootItemContainer& ) = delete;
RootItemContainer( const RootItemContainer& ) = delete;