summaryrefslogtreecommitdiff
path: root/dbaccess/inc
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-06-25 11:28:13 +0000
committerKurt Zenker <kz@openoffice.org>2008-06-25 11:28:13 +0000
commit0a4d27639bce293d2a534d9b4eee8a5673742bd6 (patch)
treec78adfcadd769a62381942d333008608213d6535 /dbaccess/inc
parent6ceb0183e7cb882271a64d7a6395f013485ccfb1 (diff)
INTEGRATION: CWS dba30d (1.3.30); FILE MERGED
2008/05/29 11:36:34 fs 1.3.30.1: during #i80943#: refactoring: IController now passed around as reference, not as pointer
Diffstat (limited to 'dbaccess/inc')
-rw-r--r--dbaccess/inc/dataview.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/inc/dataview.hxx b/dbaccess/inc/dataview.hxx
index fab22b65d6b2..adfc51a60734 100644
--- a/dbaccess/inc/dataview.hxx
+++ b/dbaccess/inc/dataview.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dataview.hxx,v $
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
* This file is part of OpenOffice.org.
*
@@ -52,13 +52,13 @@ namespace dbaui
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceFactory; // the service factory to work with
protected:
- IController* m_pController; // the controller in where we resides in
+ IController& m_rController; // the controller in where we resides in
FixedLine* m_pSeparator; // our separator above the toolbox (may be NULL)
::std::auto_ptr< ::svt::AcceleratorExecute> m_pAccel;
public:
ODataView( Window* pParent,
- IController* _pController,
+ IController& _rController,
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& ,
WinBits nStyle = 0 );
virtual ~ODataView();
@@ -72,7 +72,7 @@ namespace dbaui
virtual void StateChanged( StateChangedType nStateChange );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
- inline IController* getCommandController() const { return m_pController; }
+ inline IController& getCommandController() const { return m_rController; }
/** will be called when the controls need to be resized.
*/