diff options
author | Andre Fischer <andre.f.fischer <Andre Fischer<andre.f.fischer@oracle.com> | 2011-02-09 11:35:49 +0100 |
---|---|---|
committer | Andre Fischer <andre.f.fischer <Andre Fischer<andre.f.fischer@oracle.com> | 2011-02-09 11:35:49 +0100 |
commit | d3b03514dde317473db0d247f21405b5db6a727e (patch) | |
tree | c7526375c71327a195714e9e325b66a9ad013d74 /cppcanvas/source | |
parent | 61099481271709723469421181f65e6219cbc271 (diff) |
impress195: Minor adaptions due to last merge.
Diffstat (limited to 'cppcanvas/source')
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index dee6ce637813..d0cee1b4b976 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -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; |