diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2009-04-06 08:50:30 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2009-04-06 08:50:30 +0000 |
commit | daaeb2abd432ca768f79d86debd74ec3692e3054 (patch) | |
tree | 79113e15485898448669de5e1f0a1a7e4054da31 /svx/source | |
parent | a10ddd5c8f8e588289c04dfabaaafc199c8738d9 (diff) |
#i100676# #i10000# office loop fix
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/dlgfact.cxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/svx/source/dialog/dlgfact.cxx b/svx/source/dialog/dlgfact.cxx index a3fd66ff04fe..ed53f512fc5d 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; } |