summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/textidx.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/shells/textidx.cxx')
-rw-r--r--sw/source/uibase/shells/textidx.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/textidx.cxx b/sw/source/uibase/shells/textidx.cxx
index 851227bc3c88..5b7d55a4ce89 100644
--- a/sw/source/uibase/shells/textidx.cxx
+++ b/sw/source/uibase/shells/textidx.cxx
@@ -140,7 +140,7 @@ void SwTextShell::ExecIdx(SfxRequest &rReq)
OSL_ENSURE(pFact, "Dialog creation failed!");
std::unique_ptr<AbstractMultiTOXTabDialog> pDlg(pFact->CreateMultiTOXTabDialog(
pMDI, aSet, rSh, const_cast<SwTOXBase*>(pCurTOX),
- USHRT_MAX, bGlobal));
+ bGlobal));
OSL_ENSURE(pDlg, "Dialog creation failed!");
pDlg->Execute();
}