diff options
Diffstat (limited to 'sw/source/ui/shells/annotsh.cxx')
-rw-r--r-- | sw/source/ui/shells/annotsh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/shells/annotsh.cxx b/sw/source/ui/shells/annotsh.cxx index 8e3e08dedaa8..2b0151918950 100644 --- a/sw/source/ui/shells/annotsh.cxx +++ b/sw/source/ui/shells/annotsh.cxx @@ -257,9 +257,9 @@ void SwAnnotationShell::Exec( SfxRequest &rReq ) Outliner * pOutliner = pOLV->GetOutliner(); if(pOutliner) { - sal_uLong nParaCount = pOutliner->GetParagraphCount(); + sal_Int32 nParaCount = pOutliner->GetParagraphCount(); if (nParaCount > 0) - pOLV->SelectRange(0L, sal_uInt16(nParaCount) ); + pOLV->SelectRange(0L, nParaCount ); } break; } |