diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-19 12:46:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-02-19 17:24:02 +0100 |
commit | 1ffa4bf52597ca1bf8870bf3750d63f2cfb4a650 (patch) | |
tree | aa9fd21b1c0680685c5673b801d97fdeb7b7a3a9 /sfx2 | |
parent | 925c2c9842e548ab31fc3bed6c6d2840d1260861 (diff) |
can avoid including svtools/ctrlbox.hxx
Change-Id: I953089dd1416cd24721241fff3a6d21354211a5e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89018
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/dinfdlg.cxx | 16 | ||||
-rw-r--r-- | sfx2/source/doc/objcont.cxx | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index f91ec15f8d51..ed4cb60e4ec8 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -29,6 +29,7 @@ #include <comphelper/processfactory.hxx> #include <comphelper/xmlsechelper.hxx> #include <unotools/useroptions.hxx> +#include <svtools/ctrlbox.hxx> #include <svtools/imagemgr.hxx> #include <sal/log.hxx> #include <osl/diagnose.h> @@ -1539,6 +1540,21 @@ CustomPropertiesDateField::CustomPropertiesDateField(SvtCalendarBox* pDateField) m_xDateField->set_date(aDateTime); } +void CustomPropertiesDateField::set_visible(bool bVisible) +{ + m_xDateField->set_visible(bVisible); +} + +Date CustomPropertiesDateField::get_date() const +{ + return m_xDateField->get_date(); +} + +void CustomPropertiesDateField::set_date(const Date& rDate) +{ + m_xDateField->set_date(rDate); +} + CustomPropertiesDateField::~CustomPropertiesDateField() { } diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index fc2fe9b1b726..17f3f1263404 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -26,6 +26,7 @@ #include <comphelper/fileurl.hxx> #include <vcl/svapp.hxx> #include <vcl/weld.hxx> +#include <vcl/window.hxx> #include <svl/style.hxx> #include <svl/intitem.hxx> |