diff options
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_content.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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"), |