From 645751bcaba174ab06d50a4f3d604386274fa2ca Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 27 Jan 2014 08:30:56 +0100 Subject: Apparently broken bitmask creation Change-Id: I001a529b6690fe421d626133e0257c71df1d5ddf --- ucb/source/ucp/tdoc/tdoc_content.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ucb') diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx index 639c0fffbdc0..04312d0d5429 100644 --- a/ucb/source/ucp/tdoc/tdoc_content.cxx +++ b/ucb/source/ucp/tdoc/tdoc_content.cxx @@ -1049,10 +1049,10 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues( -1, getCppuType( static_cast< const OUString * >( 0 ) ), // Title is read-only for root and documents. - beans::PropertyAttribute::BOUND || - ( ( eType == ROOT ) || ( eType == DOCUMENT ) ) + beans::PropertyAttribute::BOUND | + ( ( eType == ROOT ) || ( eType == DOCUMENT ) ? beans::PropertyAttribute::READONLY - : 0 ), + : 0 ) ), rData.getTitle() ); xRow->appendBoolean( beans::Property( OUString("IsDocument"), -- cgit