summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/api/View.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/core/api/View.cxx')
-rw-r--r--dbaccess/source/core/api/View.cxx20
1 files changed, 5 insertions, 15 deletions
diff --git a/dbaccess/source/core/api/View.cxx b/dbaccess/source/core/api/View.cxx
index fa528d203466..56148298960d 100644
--- a/dbaccess/source/core/api/View.cxx
+++ b/dbaccess/source/core/api/View.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -6,9 +7,6 @@
*
* OpenOffice.org - a multi-platform office productivity suite
*
- * $RCSfile: View.cxx,v $
- * $Revision: 1.3 $
- *
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
@@ -47,10 +45,8 @@
#include <tools/diagnose_ex.h>
#include <unotools/sharedunocomponent.hxx>
-//........................................................................
namespace dbaccess
{
-//........................................................................
/** === begin UNO using === **/
using namespace ::com::sun::star::uno;
@@ -78,7 +74,6 @@ namespace dbaccess
//====================================================================
//= View
//====================================================================
- //--------------------------------------------------------------------
View::View( const Reference< XConnection >& _rxConnection, sal_Bool _bCaseSensitive,
const ::rtl::OUString& _rCatalogName,const ::rtl::OUString& _rSchemaName, const ::rtl::OUString& _rName )
:View_Base( _bCaseSensitive, _rName, _rxConnection->getMetaData(), 0, ::rtl::OUString(), _rSchemaName, _rCatalogName )
@@ -96,15 +91,13 @@ namespace dbaccess
}
}
- //--------------------------------------------------------------------
View::~View()
{
}
- //--------------------------------------------------------------------
IMPLEMENT_FORWARD_REFCOUNT( View, View_Base )
IMPLEMENT_GET_IMPLEMENTATION_ID( View )
- // -------------------------------------------------------------------------
+
Any SAL_CALL View::queryInterface( const Type & _rType ) throw(RuntimeException)
{
if(_rType == getCppuType( (Reference<XAlterView>*)0) && !m_xViewAccess.is() )
@@ -114,7 +107,7 @@ namespace dbaccess
aReturn = View_IBASE::queryInterface( _rType );
return aReturn;
}
- // -------------------------------------------------------------------------
+
Sequence< Type > SAL_CALL View::getTypes( ) throw(RuntimeException)
{
Type aAlterType = getCppuType( (Reference<XAlterView>*)0);
@@ -135,14 +128,12 @@ namespace dbaccess
return Sequence< Type >(pTypes, aOwnTypes.size());
}
- //--------------------------------------------------------------------
void SAL_CALL View::alterCommand( const ::rtl::OUString& _rNewCommand ) throw (SQLException, RuntimeException)
{
OSL_ENSURE(m_xViewAccess.is(),"Illegal call to AlterView!");
m_xViewAccess->alterCommand(this,_rNewCommand);
}
- //--------------------------------------------------------------------
void SAL_CALL View::getFastPropertyValue( Any& _rValue, sal_Int32 _nHandle ) const
{
if ( _nHandle == m_nCommandHandle && m_xViewAccess.is() )
@@ -155,7 +146,6 @@ namespace dbaccess
View_Base::getFastPropertyValue( _rValue, _nHandle );
}
- // -----------------------------------------------------------------------------
-//........................................................................
+
} // namespace dbaccess
-//........................................................................
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */