diff options
author | Sascha Ballach <sab@openoffice.org> | 2003-03-06 05:43:26 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2003-03-06 05:43:26 +0000 |
commit | 7dc9b40251d55711ab6809bc6c96107b2941cfb0 (patch) | |
tree | 2398d321ccdeb630b93fdcf85e2ed1e99cb75cd5 /xmloff/source/style | |
parent | ce97860cea94085f4513d327b6ab505444154036 (diff) |
#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 6c18865a1b3d..f09fb7d07119 100644 --- a/xmloff/source/style/xmlimppr.cxx +++ b/xmloff/source/style/xmlimppr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xmlimppr.cxx,v $ * - * $Revision: 1.27 $ + * $Revision: 1.28 $ * - * last change: $Author: dvo $ $Date: 2001-11-27 15:30:57 $ + * last change: $Author: sab $ $Date: 2003-03-06 06:43:26 $ * * 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; |