summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-07-17 14:17:23 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-07-17 14:17:23 +0000
commitf7548814da66130ed70199a819a57a0bfcff7b67 (patch)
treecc548fdc9307319fbca01294c0a2950a772559e7 /automation
parentf794fef25f34fcb2d8643f97d7a6b3cc1ddc8d81 (diff)
INTEGRATION: CWS logger2 (1.36.8); FILE MERGED
2008/06/30 12:31:20 b_michaelsen 1.36.8.2: RESYNC: (1.36-1.37); FILE MERGED 2008/05/21 11:54:01 gh 1.36.8.1: #i88653# VCL Logger added to Macro recorder in sts library
Diffstat (limited to 'automation')
-rw-r--r--automation/source/server/statemnt.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/automation/source/server/statemnt.cxx b/automation/source/server/statemnt.cxx
index 8dd808f506a3..8d0870a7b91c 100644
--- a/automation/source/server/statemnt.cxx
+++ b/automation/source/server/statemnt.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: statemnt.cxx,v $
- * $Revision: 1.38 $
+ * $Revision: 1.39 $
*
* This file is part of OpenOffice.org.
*
@@ -35,6 +35,7 @@
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
#include <comphelper/processfactory.hxx>
+#include <comphelper/uieventslogger.hxx>
#include <vcl/wintypes.hxx>
#ifndef _DIALOG_HXX //autogen
@@ -129,6 +130,8 @@
#include "profiler.hxx"
+#include "recorder.hxx"
+
#include "testtool.hrc"
#include <basic/svtmsg.hrc>
@@ -3457,7 +3460,10 @@ BOOL StatementCommand::Execute()
break;
case RC_RecordMacro:
{
- HandleMacroRecorder();
+ if ( ! (nParams & PARAM_BOOL_1) )
+ bBool1 = TRUE;
+
+ MacroRecorder::GetMacroRecorder()->SetActionRecord( bBool1 );
}
break;
case RC_GetDocumentCount :