chart2/source/inc/ReferenceSizeProvider.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 47a863f09d1c1273dc0c00cc03719d322b00ddd4
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Wed Jan 26 10:39:07 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Wed Jan 26 19:36:59 2022 +0100

    whack ubsan with a bigger hammer
    
    it seems to have trouble compiling code when it can't see
    chart::ChartModel, so just include it from one of the central
    headers.
    
    Change-Id: I1c96e40b5b8e35b74dd80f44d8c3243af5ba2626
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128973
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/chart2/source/inc/ReferenceSizeProvider.hxx 
b/chart2/source/inc/ReferenceSizeProvider.hxx
index eb8fa534b472..dbacd093ff24 100644
--- a/chart2/source/inc/ReferenceSizeProvider.hxx
+++ b/chart2/source/inc/ReferenceSizeProvider.hxx
@@ -22,6 +22,7 @@
 #include <com/sun/star/awt/Size.hpp>
 #include "charttoolsdllapi.hxx"
 #include <rtl/ref.hxx>
+#include <ChartModel.hxx>
 
 namespace com::sun::star {
     namespace chart2 {
@@ -36,7 +37,6 @@ namespace com::sun::star {
 
 namespace chart
 {
-class ChartModel;
 
 class OOO_DLLPUBLIC_CHARTTOOLS ReferenceSizeProvider
 {

Reply via email to