diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-06-20 09:33:01 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-06-20 09:33:01 +0000 |
commit | 304a3da4d394810d50b73d7e60ab600fc0ce002b (patch) | |
tree | 96e60b8b6b88a36434c760e9655cdffed931c96c /xmlscript | |
parent | 529ac8a07a8925f046793696125edb4f6322e526 (diff) |
INTEGRATION: CWS jl61 (1.30.10); FILE MERGED
2007/05/07 10:03:08 ab 1.30.10.1: #i77021# Support Decoration property
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx index 0e88c79b1f07..7df404b15a9c 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx @@ -4,9 +4,9 @@ * * $RCSfile: xmldlg_expmodels.cxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: vg $ $Date: 2006-11-21 17:41:50 $ + * last change: $Author: kz $ $Date: 2007-06-20 10:33:01 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1078,6 +1078,12 @@ void ElementDescriptor::readDialogModel( StyleBag * all_styles ) readStringAttr( OUString( RTL_CONSTASCII_USTRINGPARAM("Title") ), OUString( RTL_CONSTASCII_USTRINGPARAM(XMLNS_DIALOGS_PREFIX ":title") ) ); + + Any aDecorationAny( _xProps->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("Decoration") ) ) ); + bool bDecoration; + if ( (aDecorationAny >>= bDecoration) && !bDecoration ) + addAttribute( OUString( RTL_CONSTASCII_USTRINGPARAM(XMLNS_DIALOGS_PREFIX ":withtitlebar") ), + OUString( RTL_CONSTASCII_USTRINGPARAM("false") ) ); readEvents(); } |