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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 7 09:06:23 UTC 2019


 starmath/source/dialog.cxx   |    2 ++
 starmath/source/document.cxx |    1 +
 starmath/source/view.cxx     |    1 +
 3 files changed, 4 insertions(+)

New commits:
commit c099fa431d9934ed8bfe811267168c2a0c4b2cc1
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Mon Jan 7 09:56:19 2019 +0100
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Mon Jan 7 10:06:03 2019 +0100

    Fix build: add necessary includes
    
    starmath/source/dialog.cxx needs vcl/combobox.hxx to use
    COMBOBOX_ENTRY_NOTFOUND define.
    
    vcl/virdev.hxx is needed to know VirtualDevice ancestors to allow
    assignments to pointers to OutputDevice.
    
    Change-Id: Iafd33081ef33f28697e9a03bd4892a781fb2eb27
    Reviewed-on: https://gerrit.libreoffice.org/65925
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
    Tested-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index b8f7b276169b..528983c89e43 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -26,6 +26,8 @@
 #include <svl/eitem.hxx>
 #include <svl/intitem.hxx>
 #include <svl/stritem.hxx>
+#include <vcl/combobox.hxx>
+#include <vcl/virdev.hxx>
 #include <vcl/weld.hxx>
 #include <svtools/ctrltool.hxx>
 #include <vcl/settings.hxx>
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index a4f03b654039..9f4bfecd4d5c 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -53,6 +53,7 @@
 #include <editeng/fhgtitem.hxx>
 #include <editeng/fontitem.hxx>
 #include <vcl/mapmod.hxx>
+#include <vcl/virdev.hxx>
 #include <tools/mapunit.hxx>
 #include <vcl/settings.hxx>
 
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 596cb1597193..0a582fe5cd4c 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -54,6 +54,7 @@
 #include <vcl/decoview.hxx>
 #include <vcl/menu.hxx>
 #include <vcl/settings.hxx>
+#include <vcl/virdev.hxx>
 #include <sal/log.hxx>
 
 #include <unotools/streamwrap.hxx>


More information about the Libreoffice-commits mailing list