summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/unosrch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/unoidl/unosrch.cxx')
-rwxr-xr-xsd/source/ui/unoidl/unosrch.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unosrch.cxx b/sd/source/ui/unoidl/unosrch.cxx
index 56133e03a375..fdee1afc1f65 100755
--- a/sd/source/ui/unoidl/unosrch.cxx
+++ b/sd/source/ui/unoidl/unosrch.cxx
@@ -615,8 +615,8 @@ uno::Reference< text::XTextRange > SdUnoSearchReplaceShape::Search( uno::Refere
{
if( nStartPos <= nTextLen && nEndPos <= nTextLen )
{
- ESelection aSelection( (USHORT)pConvertPara[nStartPos], (USHORT)pConvertPos[nStartPos],
- (USHORT)pConvertPara[nEndPos], (USHORT)pConvertPos[nEndPos] );
+ ESelection aSelection( (sal_uInt16)pConvertPara[nStartPos], (sal_uInt16)pConvertPos[nStartPos],
+ (sal_uInt16)pConvertPara[nEndPos], (sal_uInt16)pConvertPos[nEndPos] );
SvxUnoTextRange *pRange;
SvxUnoTextBase* pParent = SvxUnoTextBase::getImplementation( xParent );