diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-11-26 12:09:32 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-11-26 12:09:32 +0000 |
commit | d66a9c532ccbbc2ba7783384684f6eac149c8e36 (patch) | |
tree | 6d3ca06c381552d42b26dfd341f9a0cc133419d2 /xmloff/source/transform/MutableAttrList.cxx | |
parent | 28a7b7b9ecfedda6fbf58d5623bf646ee734d10d (diff) |
INTEGRATION: CWS oasisbf2 (1.2.82); FILE MERGED
2004/10/22 13:52:48 dvo 1.2.82.1: #i35286# don't crash when using copy constructor on an empty reference
Issue number:
Submitted by:
Reviewed by:
Diffstat (limited to 'xmloff/source/transform/MutableAttrList.cxx')
-rw-r--r-- | xmloff/source/transform/MutableAttrList.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/transform/MutableAttrList.cxx b/xmloff/source/transform/MutableAttrList.cxx index e7f8d57ca0d7..445f86a1fb3b 100644 --- a/xmloff/source/transform/MutableAttrList.cxx +++ b/xmloff/source/transform/MutableAttrList.cxx @@ -2,9 +2,9 @@ * * $RCSfile: MutableAttrList.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: obo $ $Date: 2004-11-15 12:36:59 $ + * last change: $Author: rt $ $Date: 2004-11-26 13:09:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -100,7 +100,7 @@ XMLMutableAttributeList::XMLMutableAttributeList() : XMLMutableAttributeList::XMLMutableAttributeList( const Reference< XAttributeList> & rAttrList, sal_Bool bClone ) : - m_xAttrList( rAttrList ), + m_xAttrList( rAttrList.is() ? rAttrList : new SvXMLAttributeList ), m_pMutableAttrList( 0 ) { if( bClone ) |