summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/cmis/cmis_content.cxx
diff options
context:
space:
mode:
authorCao Cuong Ngo <cao.cuong.ngo@gmail.com>2013-06-18 14:00:48 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2013-09-02 13:51:48 +0200
commit91d9430d68434cd267b481f73d4bc522a902eeda (patch)
treeacff987fef92240ffd063a815048ded9c21ffb2f /ucb/source/ucp/cmis/cmis_content.cxx
parent7af023246b59ca73a42f3f5164d6f0321f424c0f (diff)
CMIS properties dialog
Rename CmisPropertyValues to CmisProperty Change-Id: I7360e6b55406c1abe381c8d915be41d972498167
Diffstat (limited to 'ucb/source/ucp/cmis/cmis_content.cxx')
-rw-r--r--ucb/source/ucp/cmis/cmis_content.cxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx
index ac206e7cb80e..c7dd64079e83 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -13,7 +13,7 @@
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/PropertyValues.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp>
-#include <com/sun/star/document/CmisPropertyValue.hpp>
+#include <com/sun/star/document/CmisProperty.hpp>
#include <com/sun/star/io/XActiveDataSink.hpp>
#include <com/sun/star/io/XActiveDataStreamer.hpp>
#include <com/sun/star/lang/IllegalAccessException.hpp>
@@ -572,14 +572,14 @@ namespace cmis
xRow->appendVoid( rProp );
}
}
- else if ( rProp.Name == "CmisPropertiesValues" )
+ else if ( rProp.Name == "CmisProperties" )
{
try
{
libcmis::ObjectPtr object = getObject( xEnv );
map< string, libcmis::PropertyPtr >& aProperties = object->getProperties( );
- uno::Sequence< document::CmisPropertyValue > aCmisProperties( aProperties.size( ) );
- document::CmisPropertyValue* pCmisProps = aCmisProperties.getArray( );
+ uno::Sequence< document::CmisProperty > aCmisProperties( aProperties.size( ) );
+ document::CmisProperty* pCmisProps = aCmisProperties.getArray( );
sal_Int32 i = 0;
for ( map< string, libcmis::PropertyPtr >::iterator it = aProperties.begin();
it != aProperties.end( ); ++it, ++i )
@@ -1267,11 +1267,8 @@ namespace cmis
beans::Property( OUString( "MediaType" ),
-1, getCppuType( static_cast< const OUString * >( 0 ) ),
beans::PropertyAttribute::BOUND ),
- beans::Property( OUString( "CmisPropertiesValues" ),
- -1, getCppuType( static_cast< const beans::PropertyValues * >( 0 ) ),
- beans::PropertyAttribute::BOUND ),
- beans::Property( OUString( "CmisPropertiesDisplayNames" ),
- -1, getCppuType( static_cast< const beans::PropertyValues * >( 0 ) ),
+ beans::Property( OUString( "CmisProperties" ),
+ -1, getCppuType( static_cast< const uno::Sequence< document::CmisProperty> * >( 0 ) ),
beans::PropertyAttribute::BOUND ),
beans::Property( OUString( "IsVersionable" ),
-1, getCppuBooleanType(),