framework/inc/helper/wakeupthread.hxx | 15 +--
framework/inc/jobs/jobconst.hxx | 12 +-
framework/inc/services/uriabbreviation.hxx| 18 ++--
framework/source/classes/framecontainer.cxx | 60 +++---
framework/source/dispatch/isstartmoduledispatch.hxx |8 -
framework/source/fwe/classes/fwkresid.cxx |5 -
framework/source/fwe/xml/toolboxconfiguration.cxx | 44 --
framework/source/fwi/helper/shareablemutex.cxx| 16 ---
framework/source/helper/statusindicator.cxx | 27 ++
framework/source/jobs/jobresult.cxx | 27 +++---
framework/source/uiconfiguration/CommandImageResolver.hxx |8 -
framework/source/xml/imagesconfiguration.cxx | 41 -
solenv/clang-format/excludelist | 12 --
13 files changed, 132 insertions(+), 161 deletions(-)
New commits:
commit 49494bb703107835f83671d9272a0326feec8bb4
Author: Philipp Hofer
AuthorDate: Thu Nov 12 12:58:48 2020 +0100
Commit: Christian Lohmaier
CommitDate: Fri Nov 13 15:18:12 2020 +0100
tdf#123936 Formatting files in module framework with clang-format
Change-Id: I8210a1d4bb51519f59265f370f5e8bab8a3c4179
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105674
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier
diff --git a/framework/inc/helper/wakeupthread.hxx
b/framework/inc/helper/wakeupthread.hxx
index 51cf859f0462..49f268a821e8 100644
--- a/framework/inc/helper/wakeupthread.hxx
+++ b/framework/inc/helper/wakeupthread.hxx
@@ -28,13 +28,15 @@
#include
#include
-namespace com::sun::star::util {
-class XUpdatable;
+namespace com::sun::star::util
+{
+class XUpdatable;
}
-namespace framework{
-
-class WakeUpThread final : public salhelper::Thread {
+namespace framework
+{
+class WakeUpThread final : public salhelper::Thread
+{
css::uno::WeakReference updatable_;
osl::Condition condition_;
@@ -44,11 +46,10 @@ class WakeUpThread final : public salhelper::Thread {
void execute() override;
public:
-WakeUpThread(css::uno::Reference const & updatable);
+WakeUpThread(css::uno::Reference const& updatable);
void stop();
};
-
}
#endif
diff --git a/framework/inc/jobs/jobconst.hxx b/framework/inc/jobs/jobconst.hxx
index b2efb749e3a9..31a504a9d360 100644
--- a/framework/inc/jobs/jobconst.hxx
+++ b/framework/inc/jobs/jobconst.hxx
@@ -22,8 +22,8 @@
#include
-namespace framework{
-
+namespace framework
+{
/**
@short defines all constant values used within a job environment.
@@ -34,10 +34,10 @@ namespace framework{
*/
class JobConst
{
-public:
-static constexpr OUStringLiteral ANSWER_DEACTIVATE_JOB = u"Deactivate";
-static constexpr OUStringLiteral ANSWER_SAVE_ARGUMENTS =
u"SaveArguments";
-static constexpr OUStringLiteral ANSWER_SEND_DISPATCHRESULT =
u"SendDispatchResult";
+public:
+static constexpr OUStringLiteral ANSWER_DEACTIVATE_JOB = u"Deactivate";
+static constexpr OUStringLiteral ANSWER_SAVE_ARGUMENTS = u"SaveArguments";
+static constexpr OUStringLiteral ANSWER_SEND_DISPATCHRESULT =
u"SendDispatchResult";
};
} // namespace framework
diff --git a/framework/inc/services/uriabbreviation.hxx
b/framework/inc/services/uriabbreviation.hxx
index 200296da2df9..f4e3ef10dc4b 100644
--- a/framework/inc/services/uriabbreviation.hxx
+++ b/framework/inc/services/uriabbreviation.hxx
@@ -28,23 +28,25 @@
namespace framework
{
-
-class UriAbbreviation final : public ::cppu::WeakImplHelper<
css::util::XStringAbbreviation, css::lang::XServiceInfo>
+class UriAbbreviation final
+: public ::cppu::WeakImplHelper
{
public:
-explicit UriAbbreviation(css::uno::Reference< css::uno::XComponentContext
> const & context);
+explicit UriAbbreviation(css::uno::Reference
const& context);
/* interface XServiceInfo */
virtual OUString SAL_CALL getImplementationName() override;
-virtual sal_Bool SAL_CALL supportsService( const OUString& sServiceName )
override;
-virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
override;
+virtual sal_Bool SAL_CALL supportsService(const OUString& sServiceName)
override;
+virtual css::uno::Sequence SAL_CALL getSupportedServiceNames()
override;
// css::util::XStringAbbreviation:
-virtual OUString SAL_CALL abbreviateString(const css::uno::Reference<
css::util::XStringWidth > & xStringWidth, ::sal_Int32 nWidth, const OUString &
aString) override;
+virtual OUString SAL_CALL
+abbreviateString(const css::uno::Reference&
xStringWidth,
+ ::sal_Int32 nWidth, const OUString& aString) override;
private:
-UriAbbreviation(UriAbbreviation const &) = delete;
-UriAbbreviation& operator =(UriAbbreviation const &) = delete;
+UriAbbreviation(UriAbbreviation const&) =