diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 18:50:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 14:54:56 -0600 |
commit | bed18b128ff1329579369b07b2b172e2906649f8 (patch) | |
tree | 2d3766c57b8b262e9560578edecb83e070154fe1 /forms/qa/integration | |
parent | 224f6c17f7119ca65716a73f21244ddd3e26a653 (diff) |
Remove visual noise from forms
Conflicts:
forms/source/component/DatabaseForm.cxx
Change-Id: I4005fe65e89794bd92191c37221c252a3e964917
Reviewed-on: https://gerrit.libreoffice.org/8262
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'forms/qa/integration')
-rw-r--r-- | forms/qa/integration/forms/CellBinding.java | 12 | ||||
-rw-r--r-- | forms/qa/integration/forms/FormControlTest.java | 2 | ||||
-rw-r--r-- | forms/qa/integration/forms/SingleControlValidation.java | 4 | ||||
-rw-r--r-- | forms/qa/integration/forms/XMLFormSettings.java | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/forms/qa/integration/forms/CellBinding.java b/forms/qa/integration/forms/CellBinding.java index f7fcb3457df0..d8758017ccc1 100644 --- a/forms/qa/integration/forms/CellBinding.java +++ b/forms/qa/integration/forms/CellBinding.java @@ -281,7 +281,7 @@ public class CellBinding extends complexlib.ComplexTestCase short col = (short)0; short row = (short)18; - // ............................................................... + // add a list entry source which fills the list boxes list from cells in the // spreadsheet short sourceCol = (short)4; @@ -292,11 +292,11 @@ public class CellBinding extends complexlib.ComplexTestCase //setListSource( listBox, sourceCol, row, (short)( row + 2 ) ); // TODO: this is currently prone to deadlocks - // ............................................................... + // bind to a cell bindToCell( listBox, col, row ); - // ............................................................... + // do the tests listBox.setPropertyValue( "SelectedItems", new short[] { (short)0 } ); verifyStringCellContent( col, row, "Apples", "programmatically selecting a list entry is not propagated to the cell." ); @@ -323,7 +323,7 @@ public class CellBinding extends complexlib.ComplexTestCase short col = (short)0; short row = (short)21; - // ............................................................... + // add a list entry source which fills the list boxes list from cells in the // spreadsheet short sourceCol = (short)4; @@ -334,11 +334,11 @@ public class CellBinding extends complexlib.ComplexTestCase //setListSource( listBox, sourceCol, row, (short)( row + 2 ) ); // TODO: this is currently prone to deadlocks - // ............................................................... + // bind to a cell bindToCell( listBox, col, row, "com.sun.star.table.ListPositionCellBinding" ); - // ............................................................... + // do the tests listBox.setPropertyValue( "SelectedItems", new short[] { (short)0 } ); verifyNumericCellContent( col, row, 1, "programmatically selecting a list entry is not propagated (as index) to the cell." ); diff --git a/forms/qa/integration/forms/FormControlTest.java b/forms/qa/integration/forms/FormControlTest.java index f591be402ca1..55ddfbfbf2a9 100644 --- a/forms/qa/integration/forms/FormControlTest.java +++ b/forms/qa/integration/forms/FormControlTest.java @@ -459,7 +459,7 @@ public class FormControlTest extends complexlib.ComplexTestCase implements XSQLE } } - //========================================================================= + /* ------------------------------------------------------------------ */ private boolean ensureDataSource() throws Exception { diff --git a/forms/qa/integration/forms/SingleControlValidation.java b/forms/qa/integration/forms/SingleControlValidation.java index 05b3fa9e0afa..235ef29eee87 100644 --- a/forms/qa/integration/forms/SingleControlValidation.java +++ b/forms/qa/integration/forms/SingleControlValidation.java @@ -106,7 +106,7 @@ public class SingleControlValidation implements XFormComponentValidityListener } m_inputField = controls[ 0 ]; - // ---------------------------------- + controlPos += 4; XPropertySet xLabel = m_formLayer.createControlAndShape( "FixedText", columnPos, controlPos, 70, 4, null ); xLabel.setPropertyValue( "Label", new String( "Status:" ) ); @@ -114,7 +114,7 @@ public class SingleControlValidation implements XFormComponentValidityListener m_statusField = m_formLayer.createControlAndShape( "FixedText", columnPos, controlPos, 70, 4, null ); m_statusField.setPropertyValue( "Label", new String( "" ) ); - // ---------------------------------- + controlPos += 6; xLabel = m_formLayer.createControlAndShape( "FixedText", columnPos, controlPos, 70, 4, null ); xLabel.setPropertyValue( "Label", new String( "Explanation for invalidity:" ) ); diff --git a/forms/qa/integration/forms/XMLFormSettings.java b/forms/qa/integration/forms/XMLFormSettings.java index 16e766ceac25..cfa9539bfec4 100644 --- a/forms/qa/integration/forms/XMLFormSettings.java +++ b/forms/qa/integration/forms/XMLFormSettings.java @@ -184,7 +184,7 @@ public class XMLFormSettings extends complexlib.ComplexTestCase assure( "model data changed, but document is modified", !m_document.isModified() ); - // ................................................................. + // finally, check whether the flag survives loading and saving Model internalDataModel = m_document.addXFormModel( "internalData" ); internalDataModel.setIsDocumentInternalData( true ); |