summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-11-04 15:06:15 +0000
committerKurt Zenker <kz@openoffice.org>2005-11-04 15:06:15 +0000
commitea4b18a7134bfb7c8f7c4c4d9cfb668ca2383bc5 (patch)
tree8055d15d9330b76405ff71b2c023e10dd87410ad
parent63a59e26276fbbf01ea5870e744d0bcee8dd0dbd (diff)
INTEGRATION: CWS tl15 (1.22.30); FILE MERGED
2005/09/27 10:31:30 os 1.22.30.1: #i50386# directly execute database options dialog
-rw-r--r--svx/source/dialog/dlgfact.cxx16
1 files changed, 12 insertions, 4 deletions
diff --git a/svx/source/dialog/dlgfact.cxx b/svx/source/dialog/dlgfact.cxx
index a23062076990..8b8bc31e3f80 100644
--- a/svx/source/dialog/dlgfact.cxx
+++ b/svx/source/dialog/dlgfact.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: dlgfact.cxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 20:58:56 $
+ * last change: $Author: kz $ $Date: 2005-11-04 16:06:15 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -966,8 +966,16 @@ VclAbstractDialog* AbstractDialogFactory_Impl::CreateVclDialog( Window* pParent,
switch ( rResId.GetId() )
{
case SID_OPTIONS_TREEDIALOG :
- pDlg = new OfaTreeOptionsDialog( pParent );
- break;
+ case SID_OPTIONS_DATABASES:
+ {
+ OfaTreeOptionsDialog* pOptDlg = new OfaTreeOptionsDialog( pParent );
+ if(rResId.GetId() == SID_OPTIONS_DATABASES)
+ {
+ pOptDlg->ActivatePage(SID_SB_DBREGISTEROPTIONS);
+ }
+ pDlg = pOptDlg;
+ }
+ break;
default:
break;
}