Resolves: tdf#150676 silence SvxColumnItem::QueryValue with 0 arg warning
which is commonly seen and not unexpected Change-Id: I3dde49f8cee206985187e9317a354536f18f4e0e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144877 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
74e675aa81
commit
305c8365b4
@ -458,6 +458,10 @@ bool SvxColumnItem::QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId ) const
|
|||||||
nMemberId &= ~CONVERT_TWIPS;
|
nMemberId &= ~CONVERT_TWIPS;
|
||||||
switch ( nMemberId )
|
switch ( nMemberId )
|
||||||
{
|
{
|
||||||
|
case 0:
|
||||||
|
// SfxDispatchController_Impl::StateChanged calls this with hardcoded 0 triggering this;
|
||||||
|
SAL_INFO("svx", "SvxColumnItem::QueryValue with nMemberId of 0");
|
||||||
|
return false;
|
||||||
case MID_COLUMNARRAY:
|
case MID_COLUMNARRAY:
|
||||||
return false;
|
return false;
|
||||||
case MID_RIGHT:
|
case MID_RIGHT:
|
||||||
@ -476,8 +480,7 @@ bool SvxColumnItem::QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId ) const
|
|||||||
rVal <<= bTable;
|
rVal <<= bTable;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
// SfxDispatchController_Impl::StateChanged calls this with hardcoded 0 triggering this;
|
SAL_WARN("svx", "Wrong MemberId!");
|
||||||
OSL_FAIL("Wrong MemberId!");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user