summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/general.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-05-08 07:55:59 +0000
committerOliver Specht <os@openoffice.org>2002-05-08 07:55:59 +0000
commitc637eee9fb603ac848db30ff6534f700be1bdd4e (patch)
treebd951fffe465b52c0c145a01004484de9e38839a /extensions/source/bibliography/general.cxx
parent21fd25c626b9755d68cb90b6aee651beb1f2ddf2 (diff)
#98562# #98563# menu entries to insert/delete record(s) added
Diffstat (limited to 'extensions/source/bibliography/general.cxx')
-rw-r--r--extensions/source/bibliography/general.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx
index a5b97574f..c8d820f8d 100644
--- a/extensions/source/bibliography/general.cxx
+++ b/extensions/source/bibliography/general.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: general.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: gt $ $Date: 2002-04-25 09:27:20 $
+ * last change: $Author: os $ $Date: 2002-05-08 08:50:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -539,9 +539,7 @@ BibGeneralPage::BibGeneralPage(Window* pParent, BibDataManager* pMan):
uno::Reference< sdbc::XRowSet > xRowSet(pDatMan->getForm(), UNO_QUERY);
if(xRowSet.is())
xRowSet->addRowSetListener(xPosListener);
- xFormCtrl = uno::Reference< form::XFormController > (
- xMgr->createInstance(C2U("com.sun.star.form.controller.FormController")), UNO_QUERY);
- xFormCtrl->setModel(uno::Reference< awt::XTabControllerModel > (pDatMan->getForm(), UNO_QUERY));
+ uno::Reference< form::XFormController > xFormCtrl = pDatMan->GetFormController();
xFormCtrl->setContainer(xCtrlContnr);
xFormCtrl->activateTabOrder();
@@ -578,6 +576,7 @@ BibGeneralPage::~BibGeneralPage()
---------------------------------------------------------------------------*/
void BibGeneralPage::CommitActiveControl()
{
+ uno::Reference< form::XFormController > xFormCtrl = pDatMan->GetFormController();
uno::Reference< awt::XControl > xCurr = xFormCtrl->getCurrentControl();
if(xCurr.is())
{