From 2b7e49aa5d39aefe20933ce1a6851dbe7675e5f1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 27 Mar 2024 11:35:04 +0200 Subject: convert SolverComponent to comphelper::WeakImplHelper Change-Id: Ia5accd94c3a3b498aa31829832110ec07b780112 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165493 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sccomp/source/solver/SolverComponent.cxx | 7 +++---- sccomp/source/solver/SolverComponent.hxx | 11 +++++------ 2 files changed, 8 insertions(+), 10 deletions(-) (limited to 'sccomp') diff --git a/sccomp/source/solver/SolverComponent.cxx b/sccomp/source/solver/SolverComponent.cxx index e31a84073337..318a05703944 100644 --- a/sccomp/source/solver/SolverComponent.cxx +++ b/sccomp/source/solver/SolverComponent.cxx @@ -89,7 +89,6 @@ double SolverComponent::GetValue( const uno::Reference #include #include -#include -#include +#include +#include #include #include @@ -53,14 +53,13 @@ struct ScSolverCellEqual typedef std::unordered_map< css::table::CellAddress, std::vector, ScSolverCellHash, ScSolverCellEqual > ScSolverCellHashMap; -typedef cppu::WeakImplHelper< +typedef comphelper::WeakImplHelper< css::sheet::XSolver, css::sheet::XSolverDescription, css::lang::XServiceInfo > SolverComponent_Base; -class SolverComponent : public comphelper::OMutexAndBroadcastHelper, - public comphelper::OPropertyContainer, +class SolverComponent : public comphelper::OPropertyContainer2, public comphelper::OPropertyArrayUsageHelper< SolverComponent >, public SolverComponent_Base { @@ -102,7 +101,7 @@ public: DECLARE_XTYPEPROVIDER() virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override; - virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override; // from OPropertySetHelper + virtual ::cppu::IPropertyArrayHelper& getInfoHelper() override; // from OPropertySetHelper virtual ::cppu::IPropertyArrayHelper* createArrayHelper() const override; // from OPropertyArrayUsageHelper // XSolver -- cgit ro/collabora/cp-5.0 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2018-03-07Deduplicate includesMike Kaganski
2018-01-25Fix typosAndrea Gelmini
2018-01-12tdf#114952 filep is still used in soltools/mkdepend/parse.cNoel Grandin
2017-12-07loplugin:constparamsNoel Grandin
2017-10-24loplugin:includeform: soltools (macOS)Stephan Bergmann
2017-09-25Translate German comments and debug strings (leftovers)Johnny_M
2017-09-18Use even more WIN32_LEAN_AND_MEANMike Kaganski
2017-08-29remove some unused macro definitionsNoel Grandin
2017-08-21Make cpp cope with long source linesStephan Bergmann
2017-08-14new loplugin:droplongNoel Grandin
2017-08-10tdf#39468: Translate some german commentsChristian Barth
2017-07-21loplugin:constparams in soltools and variousNoel Grandin
2017-07-06Translate German comments/debug strings (leftovers in dirs sdext to soltools)Johnny_M
2017-07-03loplugin:unusedfields in slideshow..svtoolsNoel Grandin
2017-06-21loplugin:unusedfields store..svlNoel Grandin
2017-03-23Remove unused #include <ctype.h>Stephan Bergmann
2017-03-22Fix passing plain char into ctype.h is* functionsStephan Bergmann
2017-03-22Prevent calls to rtl/character.hxx functions with (signed) char argumentsStephan Bergmann
2017-03-19fix typo/grammar: "the the" --> thedennisroczek
2017-03-06drop various _MSC_VER < 1900 conditionalsCaolán McNamara
2017-01-26-Werror=implicit-fallthrough= (GCC 7)Stephan Bergmann
2017-01-09loplugin:externvarStephan Bergmann
2016-06-23tdf#99589 - tolower / toupper - dangerous to Turks ...Gökhan Gurbetoğlu
2016-04-10Drop redundant parenthesis.Pedro Giffuni
2016-03-10Avoid reserved identifierStephan Bergmann
2016-03-10Avoid reserved identifiersStephan Bergmann
2016-03-04-Werror,-WundefStephan Bergmann
2016-03-04-Werror,-Wunused-macrosStephan Bergmann
2016-02-23new loplugin: commaoperatorNoel Grandin
2016-02-17use consistent #define checks for the Windows platformNoel Grandin
2016-02-16use consistent #define checks for the Windows platformNoel Grandin
2016-01-26-Werror,-Wunused-parameter (clang-cl)Stephan Bergmann
2016-01-10Fix typosAndrea Gelmini
2015-11-23loplugin:unusedfields in soltools/Noel Grandin
2015-11-10loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
2015-10-02loplugin:unusedmethodsNoel Grandin
2015-09-30Fix typosAndrea Gelmini
2015-07-04Fix typosAndrea Gelmini
2015-06-16-fsanitize=nonnull-attributeStephan Bergmann
2015-04-02loplugin:staticmethodsNoel Grandin