From 68185f20fefde86752bb80b333c59bb4b19f62cc Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Wed, 17 Nov 2004 15:04:19 +0000 Subject: INTEGRATION: CWS pj12 (1.18.2); FILE MERGED 2004/11/15 21:48:38 pjanik 1.18.2.1: #i37204#: allow compilation with older gcc like 3.3.1. Patch from Stephan Bergmann. --- automation/source/server/statemnt.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/automation/source/server/statemnt.cxx b/automation/source/server/statemnt.cxx index e268840140b9..dd8c9f1b28ac 100644 --- a/automation/source/server/statemnt.cxx +++ b/automation/source/server/statemnt.cxx @@ -2,9 +2,9 @@ * * $RCSfile: statemnt.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: hr $ $Date: 2004-11-09 16:52:40 $ + * last change: $Author: obo $ $Date: 2004-11-17 16:04:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2251,7 +2251,8 @@ void StatementCommand::Translate() { pRet->GenReturn ( RET_Value, aSmartMethodId, String() ); GetTTSettings()->pTranslateWin->EnableTranslation(); - ErrorBox( GetTTSettings()->pTranslateWin, TTProperties::GetSvtResId( TT_NO_CONTROL ) ).Execute(); + ErrorBox err = ErrorBox( GetTTSettings()->pTranslateWin, TTProperties::GetSvtResId( TT_NO_CONTROL )); + err.Execute(); GetTTSettings()->bToTop = TRUE; } -- cgit v1.2.1