summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/tabledesign
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-03-19 05:04:38 +0000
committerFrank Schönheit <fs@openoffice.org>2001-03-19 05:04:38 +0000
commitf0be09160ca0421fc2e22dab03d3d3e95a320a89 (patch)
treeb9e8fc140ffb276dcd84a7ac0b3ef52c49aab2ce /dbaccess/source/ui/tabledesign
parente064653310dde1e9b0693dfcf97da6919555b3f5 (diff)
moved an include from a header to the appropriate cxx files
Diffstat (limited to 'dbaccess/source/ui/tabledesign')
-rw-r--r--dbaccess/source/ui/tabledesign/TEditControl.cxx13
-rw-r--r--dbaccess/source/ui/tabledesign/TEditControl.hxx10
-rw-r--r--dbaccess/source/ui/tabledesign/TableFieldControl.cxx7
3 files changed, 20 insertions, 10 deletions
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx
index 5c781b61091f..bedb4f6bca3f 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TEditControl.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: oj $ $Date: 2001-03-14 07:39:15 $
+ * last change: $Author: fs $ $Date: 2001-03-19 06:04:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -106,6 +106,9 @@
#ifndef DBAUI_TABLEUNDO_HXX
#include "TableUndo.hxx"
#endif
+#ifndef DBUI_TABLECONTROLLER_HXX
+#include "TableController.hxx"
+#endif
#ifndef _CONNECTIVITY_DBTOOLS_HXX_
#include <connectivity/dbtools.hxx>
#endif
@@ -266,6 +269,12 @@ OTableEditorCtrl::OTableEditorCtrl(Window* pWindow)
}
//------------------------------------------------------------------------------
+SfxUndoManager* OTableEditorCtrl::GetUndoManager() const
+{
+ return GetView()->getController()->getUndoMgr();
+}
+
+//------------------------------------------------------------------------------
BOOL OTableEditorCtrl::IsReadOnly()
{
DBG_CHKTHIS(OTableEditorCtrl,NULL);
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.hxx b/dbaccess/source/ui/tabledesign/TEditControl.hxx
index dbf7d3354a4f..1e30beb46590 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.hxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TEditControl.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: oj $ $Date: 2001-02-14 14:27:03 $
+ * last change: $Author: fs $ $Date: 2001-03-19 06:04:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -76,11 +76,9 @@
#ifndef DBAUI_ENUMTYPES_HXX
#include "QEnumTypes.hxx"
#endif
-#ifndef DBUI_TABLECONTROLLER_HXX
-#include "TableController.hxx"
-#endif
class Edit;
+class SfxUndoManager;
namespace dbaui
{
class OTableDescWin;
@@ -170,7 +168,7 @@ namespace dbaui
virtual ~OTableEditorCtrl();
virtual BOOL CursorMoving(long nNewRow, USHORT nNewCol);
virtual void UpdateAll();
- SfxUndoManager* GetUndoManager() const { return GetView()->getController()->getUndoMgr(); }
+ SfxUndoManager* GetUndoManager() const;
void SetDescrWin( OTableFieldDescWin* pWin ){ pDescrWin = pWin; if (pDescrWin && pActRow) pDescrWin->DisplayData(pActRow->GetActFieldDescr()); }
BOOL SaveCurRow();
diff --git a/dbaccess/source/ui/tabledesign/TableFieldControl.cxx b/dbaccess/source/ui/tabledesign/TableFieldControl.cxx
index b385b35d7dc2..ef1f11d8263d 100644
--- a/dbaccess/source/ui/tabledesign/TableFieldControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TableFieldControl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TableFieldControl.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: oj $ $Date: 2001-03-14 10:35:11 $
+ * last change: $Author: fs $ $Date: 2001-03-19 06:04:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -61,6 +61,9 @@
#ifndef DBAUI_TABLEFIELDCONTROL_HXX
#include "TableFieldControl.hxx"
#endif
+#ifndef DBUI_TABLECONTROLLER_HXX
+#include "TableController.hxx"
+#endif
#ifndef DBAUI_TABLEDESIGNVIEW_HXX
#include "TableDesignView.hxx"
#endif