summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/basesh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/shells/basesh.cxx')
-rw-r--r--sw/source/uibase/shells/basesh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index 3be5b835e260..0edb99813184 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -743,7 +743,7 @@ void SwBaseShell::Execute(SfxRequest &rReq)
if (pArgs)
{
// Determine the current PageDescriptor and fill the set with that.
- const sal_uInt16 nCurIdx = rSh.GetCurPageDesc();
+ const size_t nCurIdx = rSh.GetCurPageDesc();
SwPageDesc aPageDesc(rSh.GetPageDesc(nCurIdx));
SwFrmFmt &rFmt = aPageDesc.GetMaster();
@@ -2374,7 +2374,7 @@ void SwBaseShell::ExecDlg(SfxRequest &rReq)
{
if( !bBackground )
{
- const sal_uInt16 nCurIdx = rSh.GetCurPageDesc();
+ const size_t nCurIdx = rSh.GetCurPageDesc();
const SwPageDesc& rPageDesc = rSh.GetPageDesc( nCurIdx );
// Temporary view, because the shell does not need to be valid after the dialogue
// for example disable header