summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2009-04-06 08:50:30 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2009-04-06 08:50:30 +0000
commite0dd9a33da16867642462df9dfc08cb7b61c324f (patch)
tree8b8f715f96d2387909d201f24bf1213c89daf193
parent751016e0d4e5abb3463405488440f3ef1c476e6d (diff)
#i100676# #i10000# office loop fix
-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;
}