summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/TableConnection.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-11-01 14:18:34 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-11-01 14:18:34 +0000
commit18ac4810fabbea495f69c6fa36079cd6b33c045f (patch)
tree1ade0ea758a791d7ee2496bf2ff076d0df84cfce /dbaccess/source/ui/inc/TableConnection.hxx
parent1b9293854d958dfc31873942cad79c6b866168c8 (diff)
INTEGRATION: CWS dba24b (1.9.180); FILE MERGED
2007/08/16 06:14:43 oj 1.9.180.1: #i56898# clean up of the class structure
Diffstat (limited to 'dbaccess/source/ui/inc/TableConnection.hxx')
-rw-r--r--dbaccess/source/ui/inc/TableConnection.hxx17
1 files changed, 9 insertions, 8 deletions
diff --git a/dbaccess/source/ui/inc/TableConnection.hxx b/dbaccess/source/ui/inc/TableConnection.hxx
index cdc140e1c..0bf47ea27 100644
--- a/dbaccess/source/ui/inc/TableConnection.hxx
+++ b/dbaccess/source/ui/inc/TableConnection.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: TableConnection.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: hr $ $Date: 2006-06-20 03:13:24 $
+ * last change: $Author: hr $ $Date: 2007-11-01 15:18:34 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -54,6 +54,7 @@
#ifndef _COM_SUN_STAR_UNO_REFERENCE_H_
#include <com/sun/star/uno/Reference.h>
#endif
+#include "TableConnectionData.hxx"
class Point;
class Rectangle;
@@ -69,7 +70,8 @@ namespace dbaui
class OTableConnection : public Window
{
::std::vector<OConnectionLine*> m_vConnLine;
- OTableConnectionData* m_pData;
+ TTableConnectionData::value_type
+ m_pData;
OJoinTableView* m_pParent;
BOOL m_bSelected;
@@ -83,8 +85,7 @@ namespace dbaui
OConnectionLine* CreateConnLine( const OConnectionLine& rConnLine );
public:
- TYPEINFO();
- OTableConnection( OJoinTableView* pContainer, OTableConnectionData* pTabConnData );
+ OTableConnection( OJoinTableView* pContainer, const TTableConnectionData::value_type& pTabConnData );
OTableConnection( const OTableConnection& rConn );
// WICHTIG : normalerweise bekomme ich von aussen einen Zeiger auf OTableConnectionData mitgegeben, hier aber muss ich
// mir (ueber OTableConnectionData::NewInstance) selber eine INstanz anlegen, die ich aber - wie in allen anderen Faellen auch -
@@ -118,9 +119,9 @@ namespace dbaui
Rectangle GetBoundingRect() const;
- OTableConnectionData* GetData() const { return m_pData; }
- const ::std::vector<OConnectionLine*>* GetConnLineList() const { return &m_vConnLine; }
- OJoinTableView* GetParent() const { return m_pParent; }
+ inline TTableConnectionData::value_type GetData() const { return m_pData; }
+ const ::std::vector<OConnectionLine*>* GetConnLineList() const { return &m_vConnLine; }
+ inline OJoinTableView* GetParent() const { return m_pParent; }
virtual void Draw( const Rectangle& rRect );
using Window::Draw;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible();