summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorCao Cuong Ngo <cao.cuong.ngo@gmail.com>2013-06-18 15:10:26 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2013-09-02 13:51:48 +0200
commit969807901d9dae91be7fc6ba9aa518f4d25b5034 (patch)
tree463e4584618060517fb705b1c563c19ff9e63692 /ucb/source
parent91d9430d68434cd267b481f73d4bc522a902eeda (diff)
Cmis Property
Add MultiValued, OpenChoice and Choices to CMIS Property Change-Id: Iade033c86878368b39a0264ad0a56d0286e6bffb
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/cmis/cmis_content.cxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx
index c7dd64079e83..7c1355dce462 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -586,12 +586,17 @@ namespace cmis
{
string sId = it->first;
string sDisplayName = it->second->getPropertyType()->getDisplayName( );
- bool isUpdatable = it->second->getPropertyType()->isUpdatable( );
- bool isRequired = it->second->getPropertyType()->isRequired( );
+ bool bUpdatable = it->second->getPropertyType()->isUpdatable( );
+ bool bRequired = it->second->getPropertyType()->isRequired( );
+ bool bMultiValued = it->second->getPropertyType()->isMultiValued();
+ bool bOpenChoice = it->second->getPropertyType()->isOpenChoice();
+
pCmisProps[i].Id = STD_TO_OUSTR( sId );
pCmisProps[i].Name = STD_TO_OUSTR( sDisplayName );
- pCmisProps[i].Updatable = isUpdatable;
- pCmisProps[i].Required = isRequired;
+ pCmisProps[i].Updatable = bUpdatable;
+ pCmisProps[i].Required = bRequired;
+ pCmisProps[i].MultiValued = bMultiValued;
+ pCmisProps[i].OpenChoice = bOpenChoice;
pCmisProps[i].Value = lcl_cmisPropertyToUno( it->second );
}
xRow->appendObject( rProp.Name, uno::makeAny( aCmisProperties ) );