diff options
author | Cao Cuong Ngo <cao.cuong.ngo@gmail.com> | 2013-07-14 15:33:27 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2013-09-02 13:51:50 +0200 |
commit | bd97d9597cd9e3e7b077df9890d515328e3ee855 (patch) | |
tree | 79709a37abf9e6e177f36e0377b3578c1e5a949e /include/sfx2 | |
parent | aada05f1ab24c6971854ff66c5ef3a5da4217b72 (diff) |
CMIS properties dialog
When it's a CMIS document, don't update custom properties,
which also prevents cmis properties aren't updated.
Change-Id: Ia26d9ae5debae9c5de347ed309a3f07cfda4a475
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/dinfdlg.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx index 2522bc55b93a..0e290ed992aa 100644 --- a/include/sfx2/dinfdlg.hxx +++ b/include/sfx2/dinfdlg.hxx @@ -101,6 +101,7 @@ public: ::com::sun::star::document::XDocumentProperties> & i_xDocProps, bool i_bDoNotUpdateUserDefined = false) const; + sal_Bool isCmisDocument() const { return m_aCmisProperties.size() > 0;} sal_Bool isAutoloadEnabled() const { return m_isAutoloadEnabled; } void setAutoloadEnabled(sal_Bool i_val) { m_isAutoloadEnabled = i_val; } @@ -697,6 +698,7 @@ class SfxCmisPropertiesPage : public SfxTabPage private: CmisPropertiesControl* m_pPropertiesCtrl; using TabPage::DeactivatePage; + DECL_LINK(UpdateHdl, void *); protected: SfxCmisPropertiesPage( Window* pParent, const SfxItemSet& ); |