summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/tabledesign/TableRow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TableRow.cxx')
-rw-r--r--dbaccess/source/ui/tabledesign/TableRow.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableRow.cxx b/dbaccess/source/ui/tabledesign/TableRow.cxx
index 33f358b6e408..17456ba8c896 100644
--- a/dbaccess/source/ui/tabledesign/TableRow.cxx
+++ b/dbaccess/source/ui/tabledesign/TableRow.cxx
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,14 +49,14 @@ using namespace ::com::sun::star::beans;
//========================================================================
DBG_NAME(OTableRow)
//------------------------------------------------------------------------------
-OTableRow::OTableRow()
+OTableRow::OTableRow()
:m_pActFieldDescr( NULL )
,m_nPos( -1 )
,m_bReadOnly( false )
,m_bOwnsDescriptions(false)
{
DBG_CTOR(OTableRow,NULL);
-}
+}
//------------------------------------------------------------------------------
OTableRow::OTableRow(const Reference< XPropertySet >& xAffectedCol)
:m_pActFieldDescr( NULL )
@@ -89,7 +89,7 @@ OTableRow::~OTableRow()
{
DBG_DTOR(OTableRow,NULL);
if(m_bOwnsDescriptions)
- delete m_pActFieldDescr;
+ delete m_pActFieldDescr;
}
//------------------------------------------------------------------------------
@@ -145,7 +145,7 @@ namespace dbaui
_rStr << sal_Int32(1);
_rStr << nValue;
}
- else
+ else
{
_rStr << sal_Int32(2);
_rStr.WriteByteString(::comphelper::getString(aValue));
@@ -173,13 +173,13 @@ namespace dbaui
sal_Int32 nValue = 0;
_rStr >> nValue;
if ( nValue )
- {
+ {
OFieldDescription* pFieldDesc = new OFieldDescription();
_rRow.m_pActFieldDescr = pFieldDesc;
String sValue;
_rStr.ReadByteString(sValue);
pFieldDesc->SetName(sValue);
-
+
_rStr.ReadByteString(sValue);
pFieldDesc->SetDescription(sValue);
_rStr.ReadByteString(sValue);
@@ -204,7 +204,7 @@ namespace dbaui
pFieldDesc->SetControlDefault(aControlDefault);
-
+
_rStr >> nValue;
pFieldDesc->SetTypeValue(nValue);