summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-03-30 12:46:51 +0000
committerKurt Zenker <kz@openoffice.org>2009-03-30 12:46:51 +0000
commit25c8907106a82f55c13859497ebce320ec7f87a5 (patch)
tree941e4dd1cb146cf786107a3d1d259b3cf29f9afc
parentfeac23e4a3dc6bf717cc1a833fb595c61903e3d7 (diff)
#i100676# patch applied
-rw-r--r--svx/source/dialog/dlgfact.cxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/svx/source/dialog/dlgfact.cxx b/svx/source/dialog/dlgfact.cxx
index 7f21e559a0..b7ddbe72d1 100644
--- a/svx/source/dialog/dlgfact.cxx
+++ b/svx/source/dialog/dlgfact.cxx
@@ -41,7 +41,8 @@
#include <tools/rc.hxx>
#include <sfx2/basedlgs.hxx>
#include <sfx2/app.hxx>
-
+#include <sfx2/request.hxx>
+#include <svx/optimprove.hxx>
#include "splitcelldlg.hxx"
#include <svx/dialogs.hrc>
#include "fmresids.hrc"
@@ -2081,6 +2082,14 @@ AbstractSfxSingleTabDialog* AbstractDialogFactory_Impl::CreateSfxSingleTabDialog
case RID_SFXPAGE_DBREGISTER :
pDlg = new DatabaseRegistrationDialog( pParent, rAttr );
break;
+ case RID_SVXPAGE_IMPROVEMENT :
+ {
+ String help_url;
+ SFX_ITEMSET_ARG( &rAttr, pItem, SfxStringItem, SID_CURRENT_URL, sal_False );
+ if ( pItem )
+ help_url = pItem->GetValue();
+ pDlg = new SvxImprovementDialog( pParent, help_url);
+ }
default:
break;
}