diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-07-16 06:34:21 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-07-16 06:34:21 +0000 |
commit | 34da465f51579a1f94db6daa2c1df5fd38a455e0 (patch) | |
tree | 251cb9fa7d27aaa023959983e8ced29b68d17cd9 /xmloff | |
parent | b05f88d4e3a83c16a57758e4ce4cab0a2510a801 (diff) |
had uninitialized pointers
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/forms/controlpropertyhdl.cxx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/xmloff/source/forms/controlpropertyhdl.cxx b/xmloff/source/forms/controlpropertyhdl.cxx index 21e91f902dde..326b8b2eb9c1 100644 --- a/xmloff/source/forms/controlpropertyhdl.cxx +++ b/xmloff/source/forms/controlpropertyhdl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: controlpropertyhdl.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: dvo $ $Date: 2001-06-29 21:07:14 $ + * last change: $Author: fs $ $Date: 2001-07-16 07:34:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -115,6 +115,8 @@ namespace xmloff ,m_pControlBorderHandler(NULL) ,m_pRotationAngleHandler(NULL) ,m_pFontWidthHandler(NULL) + ,m_pFontEmphasisHandler(NULL) + ,m_pFontReliefHandler(NULL) { } @@ -125,6 +127,8 @@ namespace xmloff delete m_pControlBorderHandler; delete m_pRotationAngleHandler; delete m_pFontWidthHandler; + delete m_pFontEmphasisHandler; + delete m_pFontReliefHandler; } //--------------------------------------------------------------------- @@ -167,7 +171,7 @@ namespace xmloff case XML_TYPE_TEXT_FONT_RELIEF: if (!m_pFontReliefHandler) m_pFontReliefHandler = new XMLConstantsPropertyHandler( OEnumMapper::getEnumMap(OEnumMapper::epFontRelief), XML_NONE ); - pHandler = m_pFontEmphasisHandler; + pHandler = m_pFontReliefHandler; break; } @@ -384,6 +388,9 @@ namespace xmloff /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.9 2001/06/29 21:07:14 dvo + * #86004# changes sXML_* strings to XML_* tokens + * * Revision 1.8 2001/06/15 12:35:28 dvo * #86004# changes sXML_* string to XML_* tokens continued * |