impress195: Minor adaptions due to last merge.
This commit is contained in:
parent
6109948127
commit
d3b03514dd
2 changed files with 3 additions and 3 deletions
|
@ -137,7 +137,7 @@ namespace cppcanvas
|
|||
::boost::optional< sal_Int8 > maFontLetterForm;
|
||||
|
||||
/// Optionally forces the given font proportion (condensed, monospaced etc.) for all text actions
|
||||
::comphelper::OptionalValue< sal_Int8 > maFontProportion;
|
||||
::boost::optional< sal_Int8 > maFontProportion;
|
||||
|
||||
/// Optionally forces underlining for all text actions
|
||||
::boost::optional< bool > maFontUnderline;
|
||||
|
|
|
@ -852,8 +852,8 @@ namespace cppcanvas
|
|||
*rParms.mrParms.maFontLetterForm :
|
||||
(rFont.GetItalic() == ITALIC_NONE) ? 0 : 9;
|
||||
aFontRequest.FontDescription.FontDescription.Proportion =
|
||||
rParms.mrParms.maFontProportion.isValid() ?
|
||||
rParms.mrParms.maFontProportion.getValue() :
|
||||
rParms.mrParms.maFontProportion.is_initialized() ?
|
||||
*rParms.mrParms.maFontProportion :
|
||||
(rFont.GetPitch() == PITCH_FIXED)
|
||||
? rendering::PanoseProportion::MONO_SPACED
|
||||
: rendering::PanoseProportion::ANYTHING;
|
||||
|
|
Loading…
Reference in a new issue