sfx2/source/doc/objserv.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 683701d45325f20edec58ca7f57088e956db9b20 Author: Cao Cuong Ngo <cao.cuong....@gmail.com> Date: Wed Jul 17 22:56:27 2013 +0200 Properties dialog Only call CMIS update properties when it is a CMIS document. Change-Id: Ibccd2effcf7e839f71523233fd3e69b5d464a310 diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index 91a59f7..8c63652 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -520,7 +520,8 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) pDocInfoItem->UpdateDocumentInfo(getDocProperties()); uno::Sequence< document::CmisProperty > aNewCmisProperties = pDocInfoItem->GetCmisPropertiesSeq( ); - xCmisDoc->updateCmisProperties( aNewCmisProperties ); + if ( aNewCmisProperties.getLength( ) > 0 ) + xCmisDoc->updateCmisProperties( aNewCmisProperties ); SetUseUserData( ((const SfxDocumentInfoItem *)pDocInfoItem)->IsUseUserData() ); // add data from dialog for possible recording purpose rReq.AppendItem( SfxDocumentInfoItem( GetTitle(), _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits