summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/uno/ColumnPeer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/uno/ColumnPeer.cxx')
-rw-r--r--dbaccess/source/ui/uno/ColumnPeer.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/dbaccess/source/ui/uno/ColumnPeer.cxx b/dbaccess/source/ui/uno/ColumnPeer.cxx
index faf090402297..4212a8ef1e7d 100644
--- a/dbaccess/source/ui/uno/ColumnPeer.cxx
+++ b/dbaccess/source/ui/uno/ColumnPeer.cxx
@@ -2,7 +2,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
@@ -82,20 +82,20 @@ void OColumnPeer::setColumn(const Reference< XPropertySet>& _xColumn)
}
if ( _xColumn.is() )
{
- sal_Int32 nType = 0;
- sal_Int32 nScale = 0;
- sal_Int32 nPrecision = 0;
+ sal_Int32 nType = 0;
+ sal_Int32 nScale = 0;
+ sal_Int32 nPrecision = 0;
sal_Bool bAutoIncrement = sal_False;
::rtl::OUString sTypeName;
try
{
// get the properties from the column
- _xColumn->getPropertyValue(PROPERTY_TYPENAME) >>= sTypeName;
- _xColumn->getPropertyValue(PROPERTY_TYPE) >>= nType;
- _xColumn->getPropertyValue(PROPERTY_SCALE) >>= nScale;
- _xColumn->getPropertyValue(PROPERTY_PRECISION) >>= nPrecision;
- _xColumn->getPropertyValue(PROPERTY_ISAUTOINCREMENT) >>= bAutoIncrement;
+ _xColumn->getPropertyValue(PROPERTY_TYPENAME) >>= sTypeName;
+ _xColumn->getPropertyValue(PROPERTY_TYPE) >>= nType;
+ _xColumn->getPropertyValue(PROPERTY_SCALE) >>= nScale;
+ _xColumn->getPropertyValue(PROPERTY_PRECISION) >>= nPrecision;
+ _xColumn->getPropertyValue(PROPERTY_ISAUTOINCREMENT) >>= bAutoIncrement;
}
catch(Exception)
{
@@ -159,7 +159,7 @@ Any OColumnPeer::getProperty( const ::rtl::OUString& _rPropertyName ) throw( Run
return aProp;
}
//.........................................................................
-} // namespace dbaui
+} // namespace dbaui
//.........................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */