diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-01 14:48:56 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-01 14:48:56 +0000 |
commit | 1f34bf315ae5e7321909fb79501c37e077a5a182 (patch) | |
tree | 783aed31c7247540c29c0493eff9f736b1cf529b /xmloff/source/style | |
parent | b0e8c8939c69069bfc2efa6b1282e174358249a0 (diff) |
INTEGRATION: CWS sw008 (1.27.78); FILE MERGED
2003/03/06 07:53:00 sab 1.27.78.1: #106963#; use userdefined attribute only if it is in the specified property range
Diffstat (limited to 'xmloff/source/style')
-rw-r--r-- | xmloff/source/style/xmlimppr.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx index ecde32e49354..d9467e85a2bd 100644 --- a/xmloff/source/style/xmlimppr.cxx +++ b/xmloff/source/style/xmlimppr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xmlimppr.cxx,v $ * - * $Revision: 1.29 $ + * $Revision: 1.30 $ * - * last change: $Author: hr $ $Date: 2003-03-27 18:20:35 $ + * last change: $Author: vg $ $Date: 2003-04-01 15:48:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -333,7 +333,9 @@ void SvXMLImportPropertyMapper::importXML( OSL_ENSURE( nIndex != -1, "not able to store alien attribute"); - if( nIndex != -1 ) + + // #106963#; use userdefined attribute only if it is in the specified property range + if( nIndex != -1 && nIndex >= nStartIdx && nIndex < nEndIdx) { Any aAny; aAny <<= xAttrContainer; |