diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-11-17 15:04:19 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-11-17 15:04:19 +0000 |
commit | 68185f20fefde86752bb80b333c59bb4b19f62cc (patch) | |
tree | c12ac497208f0e79c13894bd97c8a4edd1186413 | |
parent | 76ac382c675f02856cd69a07bc6b39af32adee24 (diff) |
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.
-rw-r--r-- | automation/source/server/statemnt.cxx | 7 |
1 files 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; } |