summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/textsh1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/shells/textsh1.cxx')
-rw-r--r--sw/source/uibase/shells/textsh1.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx
index 84f5aff3bb62..87701819a9b1 100644
--- a/sw/source/uibase/shells/textsh1.cxx
+++ b/sw/source/uibase/shells/textsh1.cxx
@@ -21,7 +21,7 @@
#include <hintids.hxx>
#include <cmdid.h>
-#include <helpid.h>
+#include <helpids.h>
#include <i18nutil/unicode.hxx>
#include <i18nlangtag/languagetag.hxx>
@@ -92,8 +92,6 @@
#include <SwSmartTagMgr.hxx>
#include <editeng/acorrcfg.hxx>
#include "swabstdlg.hxx"
-#include "misc.hrc"
-#include "chrdlg.hrc"
#include <IDocumentStatistics.hxx>
#include <sfx2/sfxdlg.hxx>
#include <unotools/lingucfg.hxx>
@@ -714,7 +712,7 @@ void SwTextShell::Execute(SfxRequest &rReq)
case FN_SORTING_DLG:
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
- ScopedVclPtr<VclAbstractDialog> pDlg(pFact->CreateVclAbstractDialog( GetView().GetWindow(), rWrtSh, DLG_SORTING ));
+ ScopedVclPtr<VclAbstractDialog> pDlg(pFact->CreateSwSortingDialog(GetView().GetWindow(), rWrtSh));
pDlg->Execute();
rReq.Done();
}