diff options
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/tools/emfphelperdata.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drawinglayer/source/tools/emfphelperdata.cxx b/drawinglayer/source/tools/emfphelperdata.cxx index c66c0728d808..cc0770c9a8fb 100644 --- a/drawinglayer/source/tools/emfphelperdata.cxx +++ b/drawinglayer/source/tools/emfphelperdata.cxx @@ -1566,10 +1566,9 @@ namespace emfplushelper } mrPropertyHolders.Current().setFont(vcl::Font(font->family, Size(font->emSize, font->emSize))); - const OUString emptyString; drawinglayer::attribute::FontAttribute fontAttribute( font->family, // font family - emptyString, // (no) font style + "", // (no) font style font->Bold() ? 8u : 1u, // weight: 8 = bold font->family == "SYMBOL", // symbol stringFormat && stringFormat->DirectionVertical(), // vertical @@ -2088,10 +2087,9 @@ namespace emfplushelper } // done reading - const OUString emptyString; drawinglayer::attribute::FontAttribute fontAttribute( font->family, // font family - emptyString, // (no) font style + "", // (no) font style font->Bold() ? 8u : 1u, // weight: 8 = bold font->family == "SYMBOL", // symbol optionFlags & 0x2, // vertical |