diff options
author | Ahmed ElShreif <aelshreif7@gmail.com> | 2019-06-24 00:54:19 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2019-08-18 21:56:23 +0800 |
commit | 8c2c289d25c9f933cbc2de047d06c69607a4a3f1 (patch) | |
tree | 40d69e83d7aa5dca66d33b02125f8dd0eca7cab6 | |
parent | 3538066e8f3ccc25b8ab49b103ae183998fd6a6e (diff) |
uitest: just update zoom statement
Change-Id: I0bc5c4179dcb94ed2cc4a551165fd135d884a75a
-rw-r--r-- | uitest/ui_logger_dsl/Special_commands.tx | 2 | ||||
-rw-r--r-- | uitest/ui_logger_dsl/example.ul | 2 | ||||
-rw-r--r-- | vcl/source/uitest/logger.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/uitest/ui_logger_dsl/Special_commands.tx b/uitest/ui_logger_dsl/Special_commands.tx index 6fbb0ad0100d..b73fddf805a4 100644 --- a/uitest/ui_logger_dsl/Special_commands.tx +++ b/uitest/ui_logger_dsl/Special_commands.tx @@ -27,7 +27,7 @@ Select_command: 'Select from Pos' from=INT 'to Pos' to=INT ; setZoom_command: - 'Set Zoom to be' zoom_value=INT + 'Set Zoom to ' zoom_value=INT ; GOTO_command: 'GOTO page number' page_num=INT diff --git a/uitest/ui_logger_dsl/example.ul b/uitest/ui_logger_dsl/example.ul index 6029feb5c4b3..93bc14c59c5a 100644 --- a/uitest/ui_logger_dsl/example.ul +++ b/uitest/ui_logger_dsl/example.ul @@ -15,7 +15,7 @@ Click on "ok" from CharacterPropertiesDialog Close Dialog Type on writer {"TEXT": "s"} Select from Pos 5 to Pos 7 -Set Zoom to be 100 +Set Zoom to 100 GOTO page number 1 Open QuerySaveDialog Click on "ok" from QuerySaveDialog diff --git a/vcl/source/uitest/logger.cxx b/vcl/source/uitest/logger.cxx index 1455c0d73d71..a7013819ee35 100644 --- a/vcl/source/uitest/logger.cxx +++ b/vcl/source/uitest/logger.cxx @@ -291,7 +291,7 @@ void UITestLogger::logEvent(const EventDescription& rDescription) aLogLine = "GOTO page number " + GetValueInMapWithIndex(rDescription.aParameters,0); } else if(rDescription.aAction=="SET"){ - aLogLine = "Set Zoom to be " + GetValueInMapWithIndex(rDescription.aParameters,0); + aLogLine = "Set Zoom to " + GetValueInMapWithIndex(rDescription.aParameters,0); } else if(rDescription.aAction=="SELECT"){ OUString to = GetValueInMapWithIndex(rDescription.aParameters,0); |