[Libreoffice-commits] core.git: 2 commits - qadevOOo/tests svtools/source
Julien Nabet
serval2412 at yahoo.fr
Tue Feb 25 13:11:39 PST 2014
qadevOOo/tests/java/mod/_forms/GenericModelTest.java | 2 +-
qadevOOo/tests/java/mod/_sw/SwXTextView.java | 4 ++--
svtools/source/dialogs/wizardmachine.cxx | 8 ++++----
3 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 8e000814efffc504aebb76843ad831ad6b9ee520
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Tue Feb 25 22:10:12 2014 +0100
Typo: folowing -> following + elemtens -> elements
Change-Id: Ice7ae2e82085ba5f0061ba1a960f693744e45e63
diff --git a/qadevOOo/tests/java/mod/_forms/GenericModelTest.java b/qadevOOo/tests/java/mod/_forms/GenericModelTest.java
index 92bdf1d..9fa4f94 100644
--- a/qadevOOo/tests/java/mod/_forms/GenericModelTest.java
+++ b/qadevOOo/tests/java/mod/_forms/GenericModelTest.java
@@ -248,7 +248,7 @@ public class GenericModelTest extends TestCase {
if (myForm == null){
log.println("ERROR: could not get 'Standard' from drawpage!");
}
- log.println("the draw page contains folowing elemtens:");
+ log.println("the draw page contains following elements:");
String[] elements = FormTools.getForms(WriterTools.getDrawPage(m_xTextDoc)).getElementNames();
for (int i = 0; i< elements.length; i++){
log.println("Element[" + i + "] :" + elements[i]);
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextView.java b/qadevOOo/tests/java/mod/_sw/SwXTextView.java
index d1a2d2c..9de1581 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextView.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextView.java
@@ -245,7 +245,7 @@ public class SwXTextView extends TestCase {
if (xForms == null)
log.println("ERROR: could not get Forms");
- log.println("the draw page contains folowing elemtens:");
+ log.println("the draw page contains following elements:");
String[] elements = FormTools.getForms(WriterTools.getDrawPage(xTextDoc)).getElementNames();
for (int i = 0; i< elements.length; i++){
log.println("Element[" + i + "] :" + elements[i]);
@@ -255,7 +255,7 @@ public class SwXTextView extends TestCase {
if (myForm == null){
log.println("ERROR: could not get 'Standard' from drawpage!");
if (debug){
- log.println("the draw page contains folowing elemtens:");
+ log.println("the draw page contains following elements:");
// String[] elements = FormTools.getForms(WriterTools.getDrawPage(xTextDoc)).getElementNames();
// for (int i = 0; i< elements.length; i++){
// log.println("Element[" + i + "] :" + elements[i]);
commit 88dee977c241a1f6fc42e0153f6a1ba45cec5342
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Tue Feb 25 22:08:09 2014 +0100
Typo: alowed -> allowed
Change-Id: I3b02f092e294016a5b50900e94dc1917b6896a6f
diff --git a/svtools/source/dialogs/wizardmachine.cxx b/svtools/source/dialogs/wizardmachine.cxx
index d05030f..c0fa193 100644
--- a/svtools/source/dialogs/wizardmachine.cxx
+++ b/svtools/source/dialogs/wizardmachine.cxx
@@ -444,7 +444,7 @@ namespace svt
sal_Bool OWizardMachine::skipBackwardUntil( WizardState _nTargetState )
{
- // alowed to leave the current page?
+ // allowed to leave the current page?
if ( !prepareLeaveCurrentState( eTravelBackward ) )
return sal_False;
@@ -473,7 +473,7 @@ namespace svt
{
WizardState nCurrentState = getCurrentState();
- // alowed to leave the current page?
+ // allowed to leave the current page?
if ( !prepareLeaveCurrentState( nCurrentState < _nTargetState ? eTravelForward : eTravelBackward ) )
return sal_False;
@@ -512,7 +512,7 @@ namespace svt
sal_Bool OWizardMachine::skip(sal_Int32 _nSteps)
{
DBG_ASSERT(_nSteps > 0, "OWizardMachine::skip: invalid number of steps!");
- // alowed to leave the current page?
+ // allowed to leave the current page?
if ( !prepareLeaveCurrentState( eTravelForward ) )
return sal_False;
@@ -578,7 +578,7 @@ namespace svt
{
DBG_ASSERT(m_pImpl->aStateHistory.size() > 0, "OWizardMachine::travelPrevious: have no previous page!");
- // alowed to leave the current page?
+ // allowed to leave the current page?
if ( !prepareLeaveCurrentState( eTravelBackward ) )
return sal_False;
More information about the Libreoffice-commits
mailing list