Kaydet (Commit) 09a2eb4c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

USHRT_MAX -> SAL_MAX_UINT16

Change-Id: I9909d8e125a16f9494ce431b62baf5d2507ad80d
Reviewed-on: https://gerrit.libreoffice.org/48774Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst e9b8d6f6
......@@ -488,7 +488,7 @@ bool SvxLRSpaceItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
case MID_R_REL_MARGIN:
{
sal_Int32 nRel = 0;
if((rVal >>= nRel) && nRel >= 0 && nRel < USHRT_MAX)
if((rVal >>= nRel) && nRel >= 0 && nRel < SAL_MAX_UINT16)
{
if(MID_L_REL_MARGIN== nMemberId)
nPropLeftMargin = static_cast<sal_uInt16>(nRel);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment