use boost rather then extstd
This commit is contained in:
@@ -138,7 +138,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;
|
||||
|
@@ -868,8 +868,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;
|
||||
|
Reference in New Issue
Block a user