diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-04-19 13:15:45 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-04-19 13:15:45 +0000 |
commit | 48bf8e7e156b332ef9f9c718451c7cea78bc87a0 (patch) | |
tree | 6aaad7a58024ccc075928fa37bd53f4243b2ee77 /automation/source/server/statemnt.cxx | |
parent | 34281721dfa53958a0daf589f121241ff2a389c8 (diff) |
INTEGRATION: CWS gh12 (1.23.20); FILE MERGED
2005/12/15 15:07:33 gh 1.23.20.1: #i50125#new TestTool command IsProduct
Diffstat (limited to 'automation/source/server/statemnt.cxx')
-rw-r--r-- | automation/source/server/statemnt.cxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/automation/source/server/statemnt.cxx b/automation/source/server/statemnt.cxx index 6d768513d963..406d4b5cbd91 100644 --- a/automation/source/server/statemnt.cxx +++ b/automation/source/server/statemnt.cxx @@ -4,9 +4,9 @@ * * $RCSfile: statemnt.cxx,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: hr $ $Date: 2006-04-19 13:58:59 $ + * last change: $Author: hr $ $Date: 2006-04-19 14:15:45 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -3511,6 +3511,17 @@ BOOL StatementCommand::Execute() bCatchGPF = bBool1; } break; + case RC_IsProduct : + { + BOOL bIsProduct; + #ifdef DBG_UTIL + bIsProduct = FALSE; + #else + bIsProduct = TRUE; + #endif + pRet->GenReturn ( RET_Value, aSmartMethodId, (BOOL)bIsProduct ); + } + break; default: ReportError( GEN_RES_STR1( S_UNKNOWN_COMMAND, RcString( nMethodId ) ) ); } |