diff options
author | Ariel Constenla-Haile <arielch@apache.org> | 2013-03-24 12:22:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-15 16:11:20 +0100 |
commit | 8eddae9bf703033668979423fc6d53e9c90adafb (patch) | |
tree | 6b6631bc6fec289638ea2a6ecd59f0c75e2b9837 /ucb | |
parent | cb01fc2eb0fa4728a4b7a404780cf7b04b16433b (diff) |
Resolves: #i121942# Explicitly set "ContentType" for non-DAV content
(cherry picked from commit 69f5a7496ce1d06ac312a753fa7b21f45db8fd78)
Change-Id: I86c3b321725923c03e1f44bf9d9ece9ed57aeaca
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav/webdavcontent.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx index 3f5691f7987c..7ff158b4c483 100644 --- a/ucb/source/ucp/webdav/webdavcontent.cxx +++ b/ucb/source/ucp/webdav/webdavcontent.cxx @@ -1530,6 +1530,10 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues( OUString( "IsDocument" ), uno::makeAny( true ), true ); + xProps->addProperty( + OUString( "ContentType" ), + uno::makeAny( OUString(WEBDAV_CONTENT_TYPE) ), + true ); } } else |