summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Forms/KeyGenerator.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/Forms/KeyGenerator.java')
-rw-r--r--odk/examples/DevelopersGuide/Forms/KeyGenerator.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/odk/examples/DevelopersGuide/Forms/KeyGenerator.java b/odk/examples/DevelopersGuide/Forms/KeyGenerator.java
index 21012abb046e..324090ef9109 100644
--- a/odk/examples/DevelopersGuide/Forms/KeyGenerator.java
+++ b/odk/examples/DevelopersGuide/Forms/KeyGenerator.java
@@ -2,7 +2,7 @@
*
* The Contents of this file are made available subject to the terms of
* the BSD license.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
* All rights reserved.
*
@@ -29,7 +29,7 @@
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
+ *
*************************************************************************/
import com.sun.star.uno.*;
@@ -182,8 +182,8 @@ class UniqueColumnValue
class KeyGeneratorForReset extends UniqueColumnValue implements XResetListener
{
/* ------------------------------------------------------------------ */
- private DocumentViewHelper m_aView;
- private String m_sFieldName;
+ private DocumentViewHelper m_aView;
+ private String m_sFieldName;
/* ------------------------------------------------------------------ */
/** ctor
@@ -255,7 +255,7 @@ class KeyGeneratorForReset extends UniqueColumnValue implements XResetListener
{
Boolean aIsNew = (Boolean)xFormProps.getPropertyValue( "IsNew" );
if ( aIsNew.booleanValue() )
- { // yepp
+ { // yepp
// we're going to modify the record, though after that, to the user, it should look
// like it has not been modified
@@ -295,7 +295,7 @@ class KeyGeneratorForReset extends UniqueColumnValue implements XResetListener
class KeyGeneratorForUpdate extends UniqueColumnValue implements XRowSetApproveListener
{
/* ------------------------------------------------------------------ */
- private String m_sFieldName;
+ private String m_sFieldName;
/* ------------------------------------------------------------------ */
public KeyGeneratorForUpdate( String sFieldName )
@@ -354,13 +354,13 @@ class KeyGeneratorForUpdate extends UniqueColumnValue implements XRowSetApproveL
public class KeyGenerator
{
/* ------------------------------------------------------------------ */
- private KeyGeneratorForReset m_aResetKeyGenerator;
- private KeyGeneratorForUpdate m_aUpdateKeyGenerator;
- private boolean m_bResetListening;
- private boolean m_bUpdateListening;
+ private KeyGeneratorForReset m_aResetKeyGenerator;
+ private KeyGeneratorForUpdate m_aUpdateKeyGenerator;
+ private boolean m_bResetListening;
+ private boolean m_bUpdateListening;
- private DocumentHelper m_aDocument;
- private XPropertySet m_xForm;
+ private DocumentHelper m_aDocument;
+ private XPropertySet m_xForm;
/* ------------------------------------------------------------------ */
/** ctor