summaryrefslogtreecommitdiffstats
path: root/dbaccess/source
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-02-06 10:36:54 +0000
committerOcke Janssen <oj@openoffice.org>2002-02-06 10:36:54 +0000
commit7bfad2a0abeca6fe8e3187a6ed8c800c93b9d0fd (patch)
treeb6a89f84e4d428aa91138c5d3b5c2101a24638da /dbaccess/source
parent#96957# typo (diff)
downloadcore-7bfad2a0abeca6fe8e3187a6ed8c800c93b9d0fd.tar.gz
core-7bfad2a0abeca6fe8e3187a6ed8c800c93b9d0fd.zip
#96957# new handling inserted for context menu and accessibility
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/inc/browserids.hxx6
-rw-r--r--dbaccess/source/ui/querydesign/JoinTableView.cxx8
-rw-r--r--dbaccess/source/ui/querydesign/QueryViewSwitch.cxx7
-rw-r--r--dbaccess/source/ui/relationdesign/RelationTableView.cxx8
4 files changed, 14 insertions, 15 deletions
diff --git a/dbaccess/source/ui/inc/browserids.hxx b/dbaccess/source/ui/inc/browserids.hxx
index 2fcae32a77a4..705e3bcd0c3a 100644
--- a/dbaccess/source/ui/inc/browserids.hxx
+++ b/dbaccess/source/ui/inc/browserids.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: browserids.hxx,v $
*
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
- * last change: $Author: oj $ $Date: 2002-02-06 07:23:39 $
+ * last change: $Author: oj $ $Date: 2002-02-06 11:36:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -146,7 +146,7 @@
#define ID_BROWSER_QUERY_EXECUTE SID_FM_EXECUTE
#define ID_BROWSER_CLEAR_QUERY SID_SBA_CLEAR_QUERY
-#define ID_REALTION_ADD_RELATION SID_SBA_ADD_RELATION
+#define ID_RELATION_ADD_RELATION SID_SBA_ADD_RELATION
#define ID_BROWSER_QUERY_VIEW_FUNCTIONS SID_SBA_QUERY_VIEW_FUNCTIONS
#define ID_BROWSER_QUERY_VIEW_TABLES SID_SBA_QUERY_VIEW_TABLES
#define ID_BROWSER_QUERY_VIEW_ALIASES SID_SBA_QUERY_VIEW_ALIASES
diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx
index b48bc3d4f9aa..8151085ca285 100644
--- a/dbaccess/source/ui/querydesign/JoinTableView.cxx
+++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: JoinTableView.cxx,v $
*
- * $Revision: 1.25 $
+ * $Revision: 1.26 $
*
- * last change: $Author: oj $ $Date: 2002-02-06 08:15:30 $
+ * last change: $Author: oj $ $Date: 2002-02-06 11:35:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -372,7 +372,7 @@ void OJoinTableView::AddTabWin(const ::rtl::OUString& _rComposedName, const ::rt
m_pView->getController()->setModified( sal_True );
m_pView->getController()->InvalidateFeature(ID_BROWSER_ADDTABLE);
- m_pView->getController()->InvalidateFeature(ID_REALTION_ADD_RELATION);
+ m_pView->getController()->InvalidateFeature(ID_RELATION_ADD_RELATION);
}
else
{
@@ -431,7 +431,7 @@ void OJoinTableView::RemoveTabWin( OTableWindow* pTabWin )
{
m_pView->getController()->setModified( sal_True );
m_pView->getController()->InvalidateFeature(ID_BROWSER_ADDTABLE);
- m_pView->getController()->InvalidateFeature(ID_REALTION_ADD_RELATION);
+ m_pView->getController()->InvalidateFeature(ID_RELATION_ADD_RELATION);
}
}
diff --git a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
index a993966e72c0..d8db175949aa 100644
--- a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
+++ b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: QueryViewSwitch.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: oj $ $Date: 2001-10-23 12:30:23 $
+ * last change: $Author: oj $ $Date: 2002-02-06 11:35:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -285,8 +285,7 @@ void OQueryViewSwitch::switchView()
pContainer->Resize();
m_pDesignView->getController()->getUndoMgr()->Clear();
- m_pDesignView->getController()->InvalidateFeature(ID_BROWSER_UNDO);
- m_pDesignView->getController()->InvalidateFeature(ID_BROWSER_REDO);
+ m_pDesignView->getController()->InvalidateAll();
}
// -----------------------------------------------------------------------------
void OQueryViewSwitch::clearDesignView()
diff --git a/dbaccess/source/ui/relationdesign/RelationTableView.cxx b/dbaccess/source/ui/relationdesign/RelationTableView.cxx
index b47e5deab118..8f541fd76fdc 100644
--- a/dbaccess/source/ui/relationdesign/RelationTableView.cxx
+++ b/dbaccess/source/ui/relationdesign/RelationTableView.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: RelationTableView.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: oj $ $Date: 2001-10-26 07:49:36 $
+ * last change: $Author: oj $ $Date: 2002-02-06 11:33:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -484,7 +484,7 @@ void ORelationTableView::AddTabWin(const ::rtl::OUString& _rComposedName, const
m_pView->getController()->setModified( sal_True );
m_pView->getController()->InvalidateFeature(ID_BROWSER_ADDTABLE);
- m_pView->getController()->InvalidateFeature(ID_REALTION_ADD_RELATION);
+ m_pView->getController()->InvalidateFeature(ID_RELATION_ADD_RELATION);
}
else
{
@@ -499,7 +499,7 @@ void ORelationTableView::RemoveTabWin( OTableWindow* pTabWin )
if(aDlg.Execute() == RET_YES)
{
OJoinTableView::RemoveTabWin( pTabWin );
- m_pView->getController()->InvalidateFeature(ID_REALTION_ADD_RELATION);
+ m_pView->getController()->InvalidateFeature(ID_RELATION_ADD_RELATION);
}
}
// -----------------------------------------------------------------------------