summaryrefslogtreecommitdiff
path: root/padmin
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-11 07:23:53 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-11 07:23:53 +0000
commit9c2dae260107e9cd6a73d57b69bd748ec0fc3959 (patch)
tree181b94f82e7a93232e87b318d898066a0cb79d9b /padmin
parent505de0b4b329d829321fde5923724bce54038704 (diff)
INTEGRATION: CWS vcl66 (1.19.16); FILE MERGED
2006/09/13 16:21:32 pl 1.19.16.1: #i65104# better FreeResource after done with local resource stack instead of later
Diffstat (limited to 'padmin')
-rw-r--r--padmin/source/helper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/padmin/source/helper.cxx b/padmin/source/helper.cxx
index 76e5483a561c..82cca66aebc4 100644
--- a/padmin/source/helper.cxx
+++ b/padmin/source/helper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: helper.cxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 12:15:46 $
+ * last change: $Author: obo $ $Date: 2006-10-11 08:23:53 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -253,6 +253,7 @@ QueryString::QueryString( Window* pParent, String& rQuery, String& rRet, const :
m_aComboBox( this, PaResId( RID_STRQRY_BOX_NEWNAME ) ),
m_rReturnValue( rRet )
{
+ FreeResource();
m_aOKButton.SetClickHdl( LINK( this, QueryString, ClickBtnHdl ) );
m_aFixedText.SetText( rQuery );
if( rChoices.begin() != rChoices.end() )
@@ -271,7 +272,6 @@ QueryString::QueryString( Window* pParent, String& rQuery, String& rRet, const :
m_bUseEdit = true;
}
SetText( Application::GetDisplayName() );
- FreeResource();
}
QueryString::~QueryString()