summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-02-19 12:46:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-02-19 17:24:02 +0100
commit1ffa4bf52597ca1bf8870bf3750d63f2cfb4a650 (patch)
treeaa9fd21b1c0680685c5673b801d97fdeb7b7a3a9 /include/sfx2
parent925c2c9842e548ab31fc3bed6c6d2840d1260861 (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 'include/sfx2')
-rw-r--r--include/sfx2/dinfdlg.hxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index 7ceaaa79767b..6cc71e319cda 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -30,8 +30,6 @@
#include <svl/stritem.hxx>
#include <svl/zforlist.hxx>
-#include <svtools/ctrlbox.hxx>
-
#include <vcl/idle.hxx>
#include <sfx2/tabdlg.hxx>
@@ -48,6 +46,7 @@ namespace com { namespace sun { namespace star {
} } }
struct CustomProperty;
+class SvtCalendarBox;
// class SfxDocumentInfoItem ---------------------------------------------
@@ -242,9 +241,9 @@ public:
::o3tl::optional<sal_Int16> m_TZ;
CustomPropertiesDateField(SvtCalendarBox* pDateField);
- void set_visible(bool bVisible) { m_xDateField->set_visible(bVisible); }
- Date get_date() const { return m_xDateField->get_date(); }
- void set_date(const Date& rDate) { m_xDateField->set_date(rDate); }
+ void set_visible(bool bVisible);
+ Date get_date() const;
+ void set_date(const Date& rDate);
~CustomPropertiesDateField();
};