summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCao Cuong Ngo <cao.cuong.ngo@gmail.com>2013-07-19 13:57:49 +0200
committerCao Cuong Ngo <cao.cuong.ngo@gmail.com>2013-07-19 17:25:49 +0200
commita5846f3fe77912cba30abbc3aaaba634b04d5f8a (patch)
tree50caa4db616beedf6c86848f5f73162bf68c13e0
parent6fff90e38c7b030ea55a17f354aa41aafad34254 (diff)
Resolves CMIS file picker propertyset out of range warning
Add missing properties Change-Id: Id3475fe4d07b33c4c0b31f54075dc011122b15bd
-rw-r--r--ucb/source/ucp/cmis/cmis_content.cxx29
1 files changed, 29 insertions, 0 deletions
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx
index 812bb1a5d1a4..43f355444e08 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -670,6 +670,35 @@ namespace cmis
xRow->appendVoid( rProp );
}
}
+ else if ( rProp.Name == "IsVolume" )
+ {
+ xRow->appendBoolean( rProp, sal_False );
+ }
+ else if ( rProp.Name == "IsRemote" )
+ {
+ xRow->appendBoolean( rProp, sal_False );
+ }
+ else if ( rProp.Name == "IsRemoveable" )
+ {
+ xRow->appendBoolean( rProp, sal_False );
+ }
+ else if ( rProp.Name == "IsFloppy" )
+ {
+ xRow->appendBoolean( rProp, sal_False );
+ }
+ else if ( rProp.Name == "IsCompactDisc" )
+ {
+ xRow->appendBoolean( rProp, sal_False );
+ }
+ else if ( rProp.Name == "IsHidden" )
+ {
+ xRow->appendBoolean( rProp, sal_False );
+ }
+ else if ( rProp.Name == "TargetURL" )
+ {
+ xRow->appendString( rProp, "" );
+ }
+
else if ( rProp.Name == "CmisProperties" )
{
try