[Libreoffice-commits] core.git: chart2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Aug 31 06:19:17 UTC 2018


 chart2/source/inc/ExplicitCategoriesProvider.hxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 63aa373631a192f261b0e5cb603357f5e9822efa
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Aug 30 18:16:50 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Aug 31 08:18:54 2018 +0200

    XLabeledDataSequence would need to be a complete type
    
    ...when MSVC creates ExplicitCategoriesProvider's implicit copy functions (and
    --disable-pch doesn't happen to include the definition of XLabeledDataSequence
    anyway).  Easiest fix is to explicitly delete those (apparently unused) copy
    functions.
    
    Change-Id: I983a7f20729ba066b4fa5342800382d830492848
    Reviewed-on: https://gerrit.libreoffice.org/59830
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/chart2/source/inc/ExplicitCategoriesProvider.hxx b/chart2/source/inc/ExplicitCategoriesProvider.hxx
index 154a85b78fb4..fef7c873737c 100644
--- a/chart2/source/inc/ExplicitCategoriesProvider.hxx
+++ b/chart2/source/inc/ExplicitCategoriesProvider.hxx
@@ -89,7 +89,10 @@ public:
     bool isDateAxis();
     const std::vector< double >&  getDateCategories();
 
-private: //member
+private:
+    ExplicitCategoriesProvider(ExplicitCategoriesProvider &) = delete;
+    void operator =(ExplicitCategoriesProvider) = delete;
+
     bool volatile m_bDirty;
     css::uno::WeakReference< css::chart2::XCoordinateSystem >   m_xCooSysModel;
     ChartModel& mrModel;


More information about the Libreoffice-commits mailing list