You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2013/03/24 14:22:04 UTC

svn commit: r1460359 - /openoffice/trunk/main/ucb/source/ucp/webdav/webdavcontent.cxx

Author: arielch
Date: Sun Mar 24 13:22:04 2013
New Revision: 1460359

URL: http://svn.apache.org/r1460359
Log:
i121942 - Explicitly set "ContentType" for non-DAV content

Modified:
    openoffice/trunk/main/ucb/source/ucp/webdav/webdavcontent.cxx

Modified: openoffice/trunk/main/ucb/source/ucp/webdav/webdavcontent.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ucb/source/ucp/webdav/webdavcontent.cxx?rev=1460359&r1=1460358&r2=1460359&view=diff
==============================================================================
--- openoffice/trunk/main/ucb/source/ucp/webdav/webdavcontent.cxx (original)
+++ openoffice/trunk/main/ucb/source/ucp/webdav/webdavcontent.cxx Sun Mar 24 13:22:04 2013
@@ -1657,6 +1657,10 @@ uno::Reference< sdbc::XRow > Content::ge
                 rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "IsDocument" ) ),
                 uno::makeAny( true ),
                 true );
+            xProps->addProperty(
+                rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ContentType" ) ),
+                uno::makeAny( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( WEBDAV_CONTENT_TYPE ) ) ),
+                true );
         }
     }
     else