Related: cid#1364016 Missing move assignment operator
Change-Id: I186718f4e74ca3a77d92a62358d6007a1f6fd7fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176903 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
2b16fd7e9b
commit
73cb99d5ea
1 changed files with 8 additions and 10 deletions
|
@ -1043,20 +1043,18 @@ void Document::retrieveRunAttributesImpl(
|
|||
tPropValMap aRunAttrSeq;
|
||||
if ( pColor )
|
||||
{
|
||||
css::beans::PropertyValue aPropVal;
|
||||
aPropVal.Name = "CharColor";
|
||||
aPropVal.Handle = -1;
|
||||
aPropVal.Value = mapFontColor( pColor->GetColor() );
|
||||
aPropVal.State = css::beans::PropertyState_DIRECT_VALUE;
|
||||
css::beans::PropertyValue aPropVal{
|
||||
"CharColor", -1,
|
||||
mapFontColor(pColor->GetColor()),
|
||||
css::beans::PropertyState_DIRECT_VALUE};
|
||||
aRunAttrSeq[ aPropVal.Name ] = aPropVal;
|
||||
}
|
||||
if ( pWeight )
|
||||
{
|
||||
css::beans::PropertyValue aPropVal;
|
||||
aPropVal.Name = "CharWeight";
|
||||
aPropVal.Handle = -1;
|
||||
aPropVal.Value = mapFontWeight( pWeight->getFontWeight() );
|
||||
aPropVal.State = css::beans::PropertyState_DIRECT_VALUE;
|
||||
css::beans::PropertyValue aPropVal{
|
||||
"CharWeight", -1,
|
||||
mapFontWeight(pWeight->getFontWeight()),
|
||||
css::beans::PropertyState_DIRECT_VALUE};
|
||||
aRunAttrSeq[ aPropVal.Name ] = aPropVal;
|
||||
}
|
||||
if ( !RequestedAttributes.hasElements() )
|
||||
|
|
Loading…
Reference in a new issue