Commits

Anonymous committed 30f349c

#i100676# #i10000# office loop fix

Comments (0)

Files changed (1)

svx/source/dialog/dlgfact.cxx

 #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"
 		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;
 	}