summaryrefslogtreecommitdiff
path: root/vcl/inc/fontattributes.hxx
AgeCommit message (Collapse)Author
2022-11-21remove FontAttributes::meCharSetCaolán McNamara
its baked in that Symbol means RTL_TEXTENCODING_SYMBOL, so accept that status quo and make it explicit Change-Id: I78d90965e3d6b4543cd74a7847e13246485380d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143010 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-09-21use more string_view in vclNoel Grandin
Change-Id: I66f96a305bb095716023ae1e565950971826bce0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140242 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-06-13tdf#42949 Fix IWYU warnings in vcl/inc/*Gabor Kelemen
Platform-specific subdirs are left alone: android, ios, osx, quartz, win Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Icbb906b7fbc960240c73c56d3dae2a78b06a0f53 Reviewed-on: https://gerrit.libreoffice.org/73754 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-01-07tdf#42949 Fix IWYU warnings in include/vcl/[v-x]*Gabor Kelemen
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I98f49765c6b74808dcbd692e0f375dd2848fcfd4 Reviewed-on: https://gerrit.libreoffice.org/65614 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-07-31Add missing sal/log.hxx headersGabor Kelemen
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. This is a continuation of commit 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 to be able to remove those unneeded includes. This commit adds missing headers to every file found by: grep -FwL sal/log.hxx $(git grep -Elw 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF|SAL_DETAIL_LOG_STREAM|SAL_WHERE|SAL_STREAM|SAL_DEBUG') to directory vcl Change-Id: I205fe0f4e80a66cd9c3b19f7e9716411da1d1cf5 Reviewed-on: https://gerrit.libreoffice.org/58221 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-07-27vcl: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9)Stephan Bergmann
...by explicitly defaulting the copy/move functions (and, where needed in turn, also a default ctor) for classes that have a user-declared dtor that does nothing other than an implicitly-defined one would do, but needs to be user- declared because it is virtual and potentially serves as a key function to emit the vtable, or is non-public, etc.; and by removing explicitly user- provided functions that do the same as their implicitly-defined counterparts, but may prevent implicitly declared copy functions from being defined as non- deleted in the future. (Even if such a user-provided function was declared non-inline in an include file, the apparently-used implicitly-defined copy functions are already include, so why bother with non-inline functions.) Change-Id: Ife5d8eb699b8b6c84b9229ae275dc386fa189bce Reviewed-on: https://gerrit.libreoffice.org/58105 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-06KF5 add FontFace implementationJan-Marek Glogowski
To pass the "Application error: no fonts and no vcl resource found on your system" failure from OutputDevice::ImplInitFontList. Just saw there is a SAL_NO_FONT_LOOKUP, which probably also would have helped. Change-Id: I2c818313c4f8b0f1d36242281e5c51973315b642
2017-05-19remove unused languagetag.hxx includesJochen Nitschke
and fix the fallout Change-Id: I8f59944bcc01a8e2ab371808c40eaf9b5198c143 Reviewed-on: https://gerrit.libreoffice.org/37785 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-29Drop a bunch of font metrics flagsKhaled Hosny
These flags mean nothing these days, there are either always true or always false, since we no longer support bitmap or Type 1 fonts. Change-Id: Ie14ca480225a6346d868a44e58e7666c3a06931d Reviewed-on: https://gerrit.libreoffice.org/31346 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-06-27loplugin:singlevalfields in vcl(part2)Noel Grandin
Change-Id: I4782c6f6d3d090ba0f9e29af8afdd7d88aa2d382 Reviewed-on: https://gerrit.libreoffice.org/26598 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-01loplugin:unusedmethodsNoel Grandin
Change-Id: Ia7981447e96d9ac87526ad1276585ab3077d7f08 Reviewed-on: https://gerrit.libreoffice.org/25707 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-14loplugin:passstuffbyref in vclNoel Grandin
Change-Id: I17a4dc73c3fc81b0bfebdf442021af65f8f6166c Reviewed-on: https://gerrit.libreoffice.org/24075 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-09Remove excess newlinesChris Sherlock
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-29vcl: inline FontAttributes::AddMapNameChris Sherlock
Change-Id: I5d38fa30bc4a74a626c67ce18610f15e83eacd68
2016-01-29vcl: changes to included vcl headersChris Sherlock
Changes made to allow for harmonization of vcl/inc/impfont.hxx and vcl/inc/fontattributes: - comment added showing the similarities between impfont.hxx and fontattributes.hxx (made in fontattributes.hxx) - extra line space added for my own convinience as I tend to switch between tabs listing vcl/inc/impfont.hxx and vcl/inc/fontattributes.hxx in OpenGrok because that's how I roll - fontattributes.hxx doesn't need rtl/textenc.hxx, that's already included in rtl/ustring.hxx, so swapped to use this instead - fontattibutes.hxx now includes i18nlangtag/languagetag.hxx - this will be needed when I add the LanguageTag properties that exist in impfont.hxx - unotools/fontdefs.hxx added to: + vcl/source/font/PhysicalFontCollection.cxx + vcl/source/font/PhysicalFontFamily.cxx + vcl/source/font/PhysicalFontFace.cxx + vcl/source/font/font.cxx These are the only specific files that actually need this include. Thus this has been removed as an included header from fontattributes.hxx - vcl/inc/fontinstance.hxx doesn't need the reference counter to be a sal_uLong, a sal_uInt32 will suffice (if we need more references than that then I suggest there is a problem somewhere in the code!) - rearranged vcl/source/font/font.cxx's included headers Change-Id: I8d61a5c05989356c056b962adc5aa670940addd2
2016-01-29vcl: add text alignment functions to ImplFont and FontAttributesChris Sherlock
ImplFont and FontAttributes now have GetAlignment and SetAlignment, and I have renamed Font::GetAlign to Font::GetAlignment, and Font::SetAlign to Font::SetAlignment. See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor and mutator for font scaling in FontMetric") for reasoning behind patch. Unit test added to vcl/qa/cppunit/font.cxx to test text alignment. Change-Id: I6272c84fc9416c90616d957d1897eba9469fe7ba Reviewed-on: https://gerrit.libreoffice.org/21876 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-28vcl: add in copy constructor for FontAttributesChris Sherlock
Change-Id: I0627ee8ee699abd2afc87639c87f8c17f42c6e70
2016-01-21vcl: tabify fontattributes.hxxChris Sherlock
Change-Id: I309f900abc105d7bcdfbcef5a41eb41c59d62190 Reviewed-on: https://gerrit.libreoffice.org/21648 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-20vcl: add more property functions to FontChris Sherlock
Added increase and decrease quality functions to Font class, and also charset mutator and accessor function. See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor and mutator for font scaling in FontMetric") for reasoning behind patch. Unit test change in vcl/qa/cppunit/font.cxx: - enhanced to check increase and decrease quality functions Change-Id: I2f5970438f6ef1ad185163d5fdcec5bbc88912a4 Reviewed-on: https://gerrit.libreoffice.org/21622 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-19vcl: FontAttributes::GetSlantType() -> FontAttributes::GetItalic()Chris Sherlock
This brings FontAttributes into line with ImplFont and Font, which is important to the refactoring work I am doing. Change-Id: I08160992834f3732738b40aae9264df00443795a Reviewed-on: https://gerrit.libreoffice.org/21576 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16revert vcl patch series that brok Mac and WindowsNorbert Thiebaud
revert: 9bc2f3de8672e812f3a67541c6d7069b434a7e42 vcl: add comment about ImplFontMetric::{Get|Set}LineHeight() 26371f105bc44e04469ec03fc5bb12505e651c6b vcl: FontAttributes::GetSlantType() -> FontAttributes::GetItalic() 2dd0b4317372b8022efe3911b38b4fa02956d8b9 vcl: font.hxx and metric.hxx cleanup, make ctors explicit and the dtor virtual 5ab13bf3ead3539e4ad847656da81e7eb6029652 vcl: tabify font.hxx f99550dae55e40e49bf9c9875053fe2abb4c71ca vcl: change Font::SetName() to Font::SetFamilyName() 2b297116cb6bb1061c43e5714e2609c8ee9f57d2 vcl: rename Font::GetName to Font::GetFamilyName Change-Id: I23f38921187d66b970ca815eb30dda4222a2da62
2016-01-16vcl: FontAttributes::GetSlantType() -> FontAttributes::GetItalic()Chris Sherlock
This brings FontAttributes into line with ImplFont and Font, which is important to the refactoring work I am doing. Change-Id: I2a2ca2f18fc7b5be45d6f350c0328fad62bf2bc9 Reviewed-on: https://gerrit.libreoffice.org/21517 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-15loplugin:simplifyboolNoel Grandin
Change-Id: Ida569b2158ad1126409b568c6ee7b2d911738bfa
2016-01-15vcl: add symbol and charset accessors and mutators to FontChris Sherlock
Rules for the vcl::Font class for setting character set and the symbol flag: If the characterset changes to anything other than RTL_TEXTENCODING_SYMBOL then the symbol flag should be off. If the characterset changes to RTL_TEXTENCODING_SYMBOL then the symbol flag should be on. If the symbol flag is set to false and the characterset is already RTL_TEXTENCODING_SYMBOL then set the characterset to RTL_TEXTENCODING_DONTKNOW and set the symbol flag to false. However, if we are setting the symbol flag from false to false (i.e. we know the characterset) then we can keep the characterset as it is. Unit test written in this commit to test this is working. Change-Id: Iced44659ab88ff66b711c560cb68bd4681ecb537
2016-01-15vcl: add the meCharSet attribute into FontAttributesChris Sherlock
Change-Id: Ic6d42ac5cc46d5091116dccc0c1317b9e2950415
2016-01-15vcl: create a default FontAttributes constructorChris Sherlock
Change-Id: If2f297c9c4ee1dd4aff5d24ddd55fa4bb33073e0
2016-01-14vcl: cleanup - remove unnecessary includes and fwd declsChris Sherlock
Change-Id: I031516292a9cc1f47fe193df5f5d98273dc003af
2016-01-12vcl: resplit FontAttributes from ImplFontMetricDataChris Sherlock
The change I made in commit 7b974e056df3 ("vcl: merge ImplFontMetricData with ImplFontAttributes") was... ill-advised. For starters, there really needs to be this split as FontSelectPattern needs it, and PhysicalFontFace only requires the font attributes, not the metric data. So the merge was unfortunately, in my mind, a failure and I'm manually backing it out now. Change-Id: Iac38f0815f984541e2f55099c965376dd88eeb43 Reviewed-on: https://gerrit.libreoffice.org/21380 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-10vcl: promote ImplFontAttributes to FontAttributesChris Sherlock
ImplFontAttributes is no longer merely a pImpl (or "compilation firewall", take your pick) but is a fully fledged class in its own right that is used by a number of classes, including FontSelectPattern, LogicalFontInstance and PhysicalFontFace. Thus I'm "promoting" the use of this class in the codebase. Change-Id: I26866080a64796978d1c25efbcd16e3e6f94aaa5 Reviewed-on: https://gerrit.libreoffice.org/21305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-10vcl: add missing mutator operations to ImplFontAttributesChris Sherlock
Change-Id: I631114978ed6f23711502dd1b5f16e9e982265eb Reviewed-on: https://gerrit.libreoffice.org/21303 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-07vcl: tabify fontattributes.hxxChris Sherlock
Change-Id: I1318acdcd9fbf1d0b363248266e913954cc97e9b
2016-01-07vcl: cleanup headers - remove unnecessary includes and fwd declsChris Sherlock
Change-Id: Ib3cb2d905242d2a15935c074cb6d0634102de4e5
2016-01-07vcl: split more font classes from outfont.hxxChris Sherlock
Change-Id: Ifa10c3b954dd245ff8357b790b59316b3fb111a9
2016-01-07vcl: remove unnecessary includes in font headersChris Sherlock
Change-Id: Idb18436c578ae6d745bb2177688cb3f5435df7a2 Reviewed-on: https://gerrit.libreoffice.org/21177 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-06vcl: init font metric variables in ImplFontAttributes constructorsChris Sherlock
If you run valgrind on a number of the unit tests, you get errors, mostly because mbKernable has not been initialized and is in indeterminate state. I am initializing all font metric variables to default variables explicitly in the constructor now. Snippet from output of CppunitTest_sd_filter_test before change follows: make CppunitTest_sd_filters_test VALGRIND=memcheck [cut lots of irrelevant stuff] Testing file:///home/chris/repos/libreoffice/sd/qa/unit/data/odg/pass/CVE-2012-4233-2.odg: ==24149== Conditional jump or move depends on uninitialised value(s) ==24149== at 0xD75BBDC: OutputDevice::GetFontMetric() const (font.cxx:212) ==24149== by 0x1A358682: ImpEditEngine::RecalcFormatterFontMetrics(FormatterFontMetric&, SvxFont&) (impedit3.cxx:2826) ==24149== by 0x1A35AF86: ImpEditEngine::CreateAndInsertEmptyLine(ParaPortion*, unsigned int) (impedit3.cxx:1649) ==24149== by 0x1A362A3D: ImpEditEngine::CreateLines(int, unsigned int) (impedit3.cxx:625) ==24149== by 0x1A364BA0: ImpEditEngine::FormatDoc() (impedit3.cxx:390) ==24149== by 0x1A369982: ImpEditEngine::FormatAndUpdate(EditView*) (impedit3.cxx:4199) ==24149== by 0x1A31BCA4: EditEngine::SetUpdateMode(bool) (editeng.cxx:1436) ==24149== by 0x1D2DF8D0: SdrTextObj::AdjustTextFrameWidthAndHeight(Rectangle&, bool, bool) const (svdotxat.cxx:167) ==24149== by 0x1D2DFA4D: SdrTextObj::NbcAdjustTextFrameWidthAndHeight(bool, bool) (svdotxat.cxx:263) ==24149== by 0x1D1F15D0: sdr::properties::TextProperties::SetStyleSheet(SfxStyleSheet*, bool) (textproperties.cxx:356) ==24149== by 0x1D1EE027: sdr::properties::RectangleProperties::SetStyleSheet(SfxStyleSheet*, bool) (rectangleproperties.cxx:65) ==24149== by 0x1D1F324B: sdr::properties::AttributeProperties::SetModel(SdrModel*, SdrModel*) (attributeproperties.cxx:471) ==24149== by 0x1D2D0810: SdrTextObj::SetModel(SdrModel*) (svdotext.cxx:532) ==24149== by 0x1D284924: SdrObject::SetPage(SdrPage*) (svdobj.cxx:462) ==24149== by 0x1D286A74: SdrObjFactory::MakeNewObject(unsigned int, unsigned short, Rectangle const&, SdrPage*) (svdobj.cxx:3312) ==24149== by 0x1D3BEAB5: SvxDrawPage::_CreateSdrObject(com::sun::star::uno::Reference<com::sun::star::drawing::XShape> const&) (unopage.cxx:508) ==24149== by 0x1D53F88C: SvxFmDrawPage::_CreateSdrObject(com::sun::star::uno::Reference<com::sun::star::drawing::XShape> const&) (fmdpage.cxx:78) ==24149== by 0x1B59ECDF: SdGenericDrawPage::_CreateSdrObject(com::sun::star::uno::Reference<com::sun::star::drawing::XShape> const&) (unopage.cxx:401) ==24149== by 0x1D3BF1AF: SvxDrawPage::CreateSdrObject(com::sun::star::uno::Reference<com::sun::star::drawing::XShape> const&, bool) (unopage.cxx:838) ==24149== by 0x1D3BF37C: SvxDrawPage::add(com::sun::star::uno::Reference<com::sun::star::drawing::XShape> const&) (unopage.cxx:213) ==24149== by 0x1E6CFA87: SdXMLShapeContext::AddShape(com::sun::star::uno::Reference<com::sun::star::drawing::XShape>&) (ximpshap.cxx:427) ==24149== by 0x1E6D053A: SdXMLShapeContext::AddShape(rtl::OUString const&) (ximpshap.cxx:520) ==24149== by 0x1E6D3C93: SdXMLTextBoxShapeContext::StartElement(com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&) (ximpshap.cxx:1689) ==24149== by 0x1E608E3A: SvXMLImport::startElement(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&) (xmlimp.cxx:737) ==24149== by 0x1FA10639: callbackStartElement (sax_expat.cxx:749) ==24149== by 0x1FA10639: call_callbackStartElement (sax_expat.cxx:247) ==24149== by 0x1FA303B9: doContent (xmlparse.c:2443) ==24149== by 0x1FA310CB: contentProcessor (xmlparse.c:2105) ==24149== by 0x1FA2F418: doProlog (xmlparse.c:4016) ==24149== by 0x1FA2FB94: prologProcessor (xmlparse.c:3739) ==24149== by 0x1FA3312F: XML_ParseBuffer (xmlparse.c:1651) ==24149== by 0x1FA0D359: (anonymous namespace)::SaxExpatParser_Impl::parse() (sax_expat.cxx:687) ==24149== by 0x1FA0E47E: (anonymous namespace)::SaxExpatParser::parseStream(com::sun::star::xml::sax::InputSource const&) (sax_expat.cxx:484) ==24149== by 0x1B30B4A2: ReadThroughComponent (sdxmlwrp.cxx:220) ==24149== by 0x1B30B4A2: (anonymous namespace)::ReadThroughComponent(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&, com::sun::star::uno::Reference<com::sun::star::lang::XComponent>, char const*, char const*, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>&, char const*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, rtl::OUString const&, bool) (sdxmlwrp.cxx:392) ==24149== by 0x1B30E582: SdXMLFilter::Import(unsigned int&) (sdxmlwrp.cxx:660) ==24149== by 0x1B3CEA64: sd::DrawDocShell::ConvertFrom(SfxMedium&) (docshel4.cxx:462) ==24149== by 0x1BDEBBF4: SfxObjectShell::DoLoad(SfxMedium*) (objstor.cxx:785) ==24149== by 0x19CD3D1A: SdFiltersTest::load(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int) (filters-test.cxx:75) ==24149== by 0x1E2524AB: test::FiltersTest::recursiveScan(test::filterStatus, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) (filters-test.cxx:131) ==24149== by 0x1E252FE9: test::FiltersTest::testDir(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) (filters-test.cxx:157) ==24149== by 0x19CD3A32: SdFiltersTest::testCVEs() (filters-test.cxx:97) ==24149== by 0x4E94843: CppUnit::TestCaseMethodFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x6C44812: (anonymous namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (unoexceptionprotector.cxx:63) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E85FF0: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F476: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E9F4C4: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*, std::string const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94291: CppUnit::TestCase::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== ==24149== Conditional jump or move depends on uninitialised value(s) ==24149== at 0xD75A8E8: OutputDevice::ImplNewFont() const (font.cxx:1619) ==24149== by 0xD75E294: OutputDevice::GetTextHeight() const (text.cxx:942) ==24149== by 0x1A3A9EF5: SvxFont::QuickGetTextSize(OutputDevice const*, rtl::OUString const&, int, int, long*) const (svxfont.cxx:403) ==24149== by 0x1A360D3A: ImpEditEngine::CreateLines(int, unsigned int) (impedit3.cxx:1092) ==24149== by 0x1A364BA0: ImpEditEngine::FormatDoc() (impedit3.cxx:390) ==24149== by 0x1A369982: ImpEditEngine::FormatAndUpdate(EditView*) (impedit3.cxx:4199) ==24149== by 0x1A31BCA4: EditEngine::SetUpdateMode(bool) (editeng.cxx:1436) ==24149== by 0x1A3EA098: Outliner::SetText(OutlinerParaObject const&) (outliner.cxx:616) ==24149== by 0x1D2DF8EE: SdrTextObj::AdjustTextFrameWidthAndHeight(Rectangle&, bool, bool) const (svdotxat.cxx:172) ==24149== by 0x1D2DFA4D: SdrTextObj::NbcAdjustTextFrameWidthAndHeight(bool, bool) (svdotxat.cxx:263) ==24149== by 0x1D2D0B55: SdrTextObj::NbcSetOutlinerParaObjectForText(OutlinerParaObject*, SdrText*) (svdotext.cxx:1433) ==24149== by 0x1D451C49: SvxTextEditSourceImpl::UpdateData() (unoshtxt.cxx:877) ==24149== by 0x1D451F3C: SvxTextEditSourceImpl::unlock() (unoshtxt.cxx:909) ==24149== by 0x1D43C0DD: SvxShape::removeActionLock() (unoshape.cxx:3866) ==24149== by 0x1E6D96CE: SdXMLShapeContext::EndElement() (ximpshap.cxx:409) ==24149== by 0x1E5FB704: SvXMLImport::endElement(rtl::OUString const&) (xmlimp.cxx:768) ==24149== by 0x1FA101C9: callbackEndElement (sax_expat.cxx:761) ==24149== by 0x1FA101C9: call_callbackEndElement (sax_expat.cxx:251) ==24149== by 0x1FA307B2: doContent (xmlparse.c:2532) ==24149== by 0x1FA310CB: contentProcessor (xmlparse.c:2105) ==24149== by 0x1FA2F418: doProlog (xmlparse.c:4016) ==24149== by 0x1FA2FB94: prologProcessor (xmlparse.c:3739) ==24149== by 0x1FA3312F: XML_ParseBuffer (xmlparse.c:1651) ==24149== by 0x1FA0D359: (anonymous namespace)::SaxExpatParser_Impl::parse() (sax_expat.cxx:687) ==24149== by 0x1FA0E47E: (anonymous namespace)::SaxExpatParser::parseStream(com::sun::star::xml::sax::InputSource const&) (sax_expat.cxx:484) ==24149== by 0x1B30B4A2: ReadThroughComponent (sdxmlwrp.cxx:220) ==24149== by 0x1B30B4A2: (anonymous namespace)::ReadThroughComponent(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&, com::sun::star::uno::Reference<com::sun::star::lang::XComponent>, char const*, char const*, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>&, char const*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, rtl::OUString const&, bool) (sdxmlwrp.cxx:392) ==24149== by 0x1B30E582: SdXMLFilter::Import(unsigned int&) (sdxmlwrp.cxx:660) ==24149== by 0x1B3CEA64: sd::DrawDocShell::ConvertFrom(SfxMedium&) (docshel4.cxx:462) ==24149== by 0x1BDEBBF4: SfxObjectShell::DoLoad(SfxMedium*) (objstor.cxx:785) ==24149== by 0x19CD3D1A: SdFiltersTest::load(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int) (filters-test.cxx:75) ==24149== by 0x1E2524AB: test::FiltersTest::recursiveScan(test::filterStatus, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) (filters-test.cxx:131) ==24149== by 0x1E252FE9: test::FiltersTest::testDir(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) (filters-test.cxx:157) ==24149== by 0x19CD3A32: SdFiltersTest::testCVEs() (filters-test.cxx:97) ==24149== by 0x4E94843: CppUnit::TestCaseMethodFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x6C44812: (anonymous namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (unoexceptionprotector.cxx:63) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E85FF0: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F476: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E9F4C4: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*, std::string const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94291: CppUnit::TestCase::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94F1D: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94DA7: CppUnit::TestComposite::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94F1D: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94DA7: CppUnit::TestComposite::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4EA3A3F: CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E9F253: CppUnit::TestResult::runTest(CppUnit::Test*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4EA3CCC: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x404152: (anonymous namespace)::ProtectedFixtureFunctor::run() const (cppunittester.cxx:281) ==24149== ==24149== Conditional jump or move depends on uninitialised value(s) ==24149== at 0xD75A8E8: OutputDevice::ImplNewFont() const (font.cxx:1619) ==24149== by 0xD75C28F: OutputDevice::GetFontMetric() const (font.cxx:189) ==24149== by 0x1A358682: ImpEditEngine::RecalcFormatterFontMetrics(FormatterFontMetric&, SvxFont&) (impedit3.cxx:2826) ==24149== by 0x1A3607BE: ImpEditEngine::CreateLines(int, unsigned int) (impedit3.cxx:1332) ==24149== by 0x1A364BA0: ImpEditEngine::FormatDoc() (impedit3.cxx:390) ==24149== by 0x1A369982: ImpEditEngine::FormatAndUpdate(EditView*) (impedit3.cxx:4199) ==24149== by 0x1A31BCA4: EditEngine::SetUpdateMode(bool) (editeng.cxx:1436) ==24149== by 0x1A3EA098: Outliner::SetText(OutlinerParaObject const&) (outliner.cxx:616) ==24149== by 0x1D2DF8EE: SdrTextObj::AdjustTextFrameWidthAndHeight(Rectangle&, bool, bool) const (svdotxat.cxx:172) ==24149== by 0x1D2DFA4D: SdrTextObj::NbcAdjustTextFrameWidthAndHeight(bool, bool) (svdotxat.cxx:263) ==24149== by 0x1D2D0B55: SdrTextObj::NbcSetOutlinerParaObjectForText(OutlinerParaObject*, SdrText*) (svdotext.cxx:1433) ==24149== by 0x1D451C49: SvxTextEditSourceImpl::UpdateData() (unoshtxt.cxx:877) ==24149== by 0x1D451F3C: SvxTextEditSourceImpl::unlock() (unoshtxt.cxx:909) ==24149== by 0x1D43C0DD: SvxShape::removeActionLock() (unoshape.cxx:3866) ==24149== by 0x1E6D96CE: SdXMLShapeContext::EndElement() (ximpshap.cxx:409) ==24149== by 0x1E5FB704: SvXMLImport::endElement(rtl::OUString const&) (xmlimp.cxx:768) ==24149== by 0x1FA101C9: callbackEndElement (sax_expat.cxx:761) ==24149== by 0x1FA101C9: call_callbackEndElement (sax_expat.cxx:251) ==24149== by 0x1FA307B2: doContent (xmlparse.c:2532) ==24149== by 0x1FA310CB: contentProcessor (xmlparse.c:2105) ==24149== by 0x1FA2F418: doProlog (xmlparse.c:4016) ==24149== by 0x1FA2FB94: prologProcessor (xmlparse.c:3739) ==24149== by 0x1FA3312F: XML_ParseBuffer (xmlparse.c:1651) ==24149== by 0x1FA0D359: (anonymous namespace)::SaxExpatParser_Impl::parse() (sax_expat.cxx:687) ==24149== by 0x1FA0E47E: (anonymous namespace)::SaxExpatParser::parseStream(com::sun::star::xml::sax::InputSource const&) (sax_expat.cxx:484) ==24149== by 0x1B30B4A2: ReadThroughComponent (sdxmlwrp.cxx:220) ==24149== by 0x1B30B4A2: (anonymous namespace)::ReadThroughComponent(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&, com::sun::star::uno::Reference<com::sun::star::lang::XComponent>, char const*, char const*, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>&, char const*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, rtl::OUString const&, bool) (sdxmlwrp.cxx:392) ==24149== by 0x1B30E582: SdXMLFilter::Import(unsigned int&) (sdxmlwrp.cxx:660) ==24149== by 0x1B3CEA64: sd::DrawDocShell::ConvertFrom(SfxMedium&) (docshel4.cxx:462) ==24149== by 0x1BDEBBF4: SfxObjectShell::DoLoad(SfxMedium*) (objstor.cxx:785) ==24149== by 0x19CD3D1A: SdFiltersTest::load(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int) (filters-test.cxx:75) ==24149== by 0x1E2524AB: test::FiltersTest::recursiveScan(test::filterStatus, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) (filters-test.cxx:131) ==24149== by 0x1E252FE9: test::FiltersTest::testDir(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) (filters-test.cxx:157) ==24149== by 0x19CD3A32: SdFiltersTest::testCVEs() (filters-test.cxx:97) ==24149== by 0x4E94843: CppUnit::TestCaseMethodFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x6C44812: (anonymous namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (unoexceptionprotector.cxx:63) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E85FF0: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F476: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E9F4C4: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*, std::string const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94291: CppUnit::TestCase::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94F1D: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94DA7: CppUnit::TestComposite::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94F1D: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94DA7: CppUnit::TestComposite::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4EA3A3F: CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E9F253: CppUnit::TestResult::runTest(CppUnit::Test*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4EA3CCC: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x404152: (anonymous namespace)::ProtectedFixtureFunctor::run() const (cppunittester.cxx:281) ==24149== ==24149== Conditional jump or move depends on uninitialised value(s) ==24149== at 0xD75BBDC: OutputDevice::GetFontMetric() const (font.cxx:212) ==24149== by 0x1A358682: ImpEditEngine::RecalcFormatterFontMetrics(FormatterFontMetric&, SvxFont&) (impedit3.cxx:2826) ==24149== by 0x1A3607BE: ImpEditEngine::CreateLines(int, unsigned int) (impedit3.cxx:1332) ==24149== by 0x1A364BA0: ImpEditEngine::FormatDoc() (impedit3.cxx:390) ==24149== by 0x1A369982: ImpEditEngine::FormatAndUpdate(EditView*) (impedit3.cxx:4199) ==24149== by 0x1A31BCA4: EditEngine::SetUpdateMode(bool) (editeng.cxx:1436) ==24149== by 0x1A3EA098: Outliner::SetText(OutlinerParaObject const&) (outliner.cxx:616) ==24149== by 0x1D2DF8EE: SdrTextObj::AdjustTextFrameWidthAndHeight(Rectangle&, bool, bool) const (svdotxat.cxx:172) ==24149== by 0x1D2DFA4D: SdrTextObj::NbcAdjustTextFrameWidthAndHeight(bool, bool) (svdotxat.cxx:263) ==24149== by 0x1D2D0B55: SdrTextObj::NbcSetOutlinerParaObjectForText(OutlinerParaObject*, SdrText*) (svdotext.cxx:1433) ==24149== by 0x1D451C49: SvxTextEditSourceImpl::UpdateData() (unoshtxt.cxx:877) ==24149== by 0x1D451F3C: SvxTextEditSourceImpl::unlock() (unoshtxt.cxx:909) ==24149== by 0x1D43C0DD: SvxShape::removeActionLock() (unoshape.cxx:3866) ==24149== by 0x1E6D96CE: SdXMLShapeContext::EndElement() (ximpshap.cxx:409) ==24149== by 0x1E5FB704: SvXMLImport::endElement(rtl::OUString const&) (xmlimp.cxx:768) ==24149== by 0x1FA101C9: callbackEndElement (sax_expat.cxx:761) ==24149== by 0x1FA101C9: call_callbackEndElement (sax_expat.cxx:251) ==24149== by 0x1FA307B2: doContent (xmlparse.c:2532) ==24149== by 0x1FA310CB: contentProcessor (xmlparse.c:2105) ==24149== by 0x1FA2F418: doProlog (xmlparse.c:4016) ==24149== by 0x1FA2FB94: prologProcessor (xmlparse.c:3739) ==24149== by 0x1FA3312F: XML_ParseBuffer (xmlparse.c:1651) ==24149== by 0x1FA0D359: (anonymous namespace)::SaxExpatParser_Impl::parse() (sax_expat.cxx:687) ==24149== by 0x1FA0E47E: (anonymous namespace)::SaxExpatParser::parseStream(com::sun::star::xml::sax::InputSource const&) (sax_expat.cxx:484) ==24149== by 0x1B30B4A2: ReadThroughComponent (sdxmlwrp.cxx:220) ==24149== by 0x1B30B4A2: (anonymous namespace)::ReadThroughComponent(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&, com::sun::star::uno::Reference<com::sun::star::lang::XComponent>, char const*, char const*, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>&, char const*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, rtl::OUString const&, bool) (sdxmlwrp.cxx:392) ==24149== by 0x1B30E582: SdXMLFilter::Import(unsigned int&) (sdxmlwrp.cxx:660) ==24149== by 0x1B3CEA64: sd::DrawDocShell::ConvertFrom(SfxMedium&) (docshel4.cxx:462) ==24149== by 0x1BDEBBF4: SfxObjectShell::DoLoad(SfxMedium*) (objstor.cxx:785) ==24149== by 0x19CD3D1A: SdFiltersTest::load(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int) (filters-test.cxx:75) ==24149== by 0x1E2524AB: test::FiltersTest::recursiveScan(test::filterStatus, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) (filters-test.cxx:131) ==24149== by 0x1E252FE9: test::FiltersTest::testDir(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) (filters-test.cxx:157) ==24149== by 0x19CD3A32: SdFiltersTest::testCVEs() (filters-test.cxx:97) ==24149== by 0x4E94843: CppUnit::TestCaseMethodFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x6C44812: (anonymous namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (unoexceptionprotector.cxx:63) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E85FF0: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F476: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E9F4C4: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*, std::string const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94291: CppUnit::TestCase::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94F1D: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94DA7: CppUnit::TestComposite::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94F1D: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94DA7: CppUnit::TestComposite::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4EA3A3F: CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E9F253: CppUnit::TestResult::runTest(CppUnit::Test*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4EA3CCC: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x404152: (anonymous namespace)::ProtectedFixtureFunctor::run() const (cppunittester.cxx:281) ==24149== by 0x40495A: sal_main() (cppunittester.cxx:431) ==24149== warn:legacy.osl:24149:1:embeddedobj/source/general/xcreator.cxx:202: No media type is specified for the object! ==24149== Conditional jump or move depends on uninitialised value(s) ==24149== at 0xD75A8E8: OutputDevice::ImplNewFont() const (font.cxx:1619) ==24149== by 0xD75E294: OutputDevice::GetTextHeight() const (text.cxx:942) ==24149== by 0x1A3A9DBA: SvxFont::GetPhysTxtSize(OutputDevice const*, rtl::OUString const&) (svxfont.cxx:383) ==24149== by 0x1A35AF13: ImpEditEngine::CreateAndInsertEmptyLine(ParaPortion*, unsigned int) (impedit3.cxx:1644) ==24149== by 0x1A362A3D: ImpEditEngine::CreateLines(int, unsigned int) (impedit3.cxx:625) ==24149== by 0x1A364BA0: ImpEditEngine::FormatDoc() (impedit3.cxx:390) ==24149== by 0x1A369982: ImpEditEngine::FormatAndUpdate(EditView*) (impedit3.cxx:4199) ==24149== by 0x1A31BCA4: EditEngine::SetUpdateMode(bool) (editeng.cxx:1436) ==24149== by 0x1A3EA098: Outliner::SetText(OutlinerParaObject const&) (outliner.cxx:616) ==24149== by 0x1D2DF8EE: SdrTextObj::AdjustTextFrameWidthAndHeight(Rectangle&, bool, bool) const (svdotxat.cxx:172) ==24149== by 0x1D2DFA4D: SdrTextObj::NbcAdjustTextFrameWidthAndHeight(bool, bool) (svdotxat.cxx:263) ==24149== by 0x1D2D0B55: SdrTextObj::NbcSetOutlinerParaObjectForText(OutlinerParaObject*, SdrText*) (svdotext.cxx:1433) ==24149== by 0x1D451C49: SvxTextEditSourceImpl::UpdateData() (unoshtxt.cxx:877) ==24149== by 0x1D451F3C: SvxTextEditSourceImpl::unlock() (unoshtxt.cxx:909) ==24149== by 0x1D43C0DD: SvxShape::removeActionLock() (unoshape.cxx:3866) ==24149== by 0x1E6D96CE: SdXMLShapeContext::EndElement() (ximpshap.cxx:409) ==24149== by 0x1E5FB704: SvXMLImport::endElement(rtl::OUString const&) (xmlimp.cxx:768) ==24149== by 0x1FA101C9: callbackEndElement (sax_expat.cxx:761) ==24149== by 0x1FA101C9: call_callbackEndElement (sax_expat.cxx:251) ==24149== by 0x1FA307B2: doContent (xmlparse.c:2532) ==24149== by 0x1FA310CB: contentProcessor (xmlparse.c:2105) ==24149== by 0x1FA3312F: XML_ParseBuffer (xmlparse.c:1651) ==24149== by 0x1FA0D359: (anonymous namespace)::SaxExpatParser_Impl::parse() (sax_expat.cxx:687) ==24149== by 0x1FA0E47E: (anonymous namespace)::SaxExpatParser::parseStream(com::sun::star::xml::sax::InputSource const&) (sax_expat.cxx:484) ==24149== by 0x1B30B4A2: ReadThroughComponent (sdxmlwrp.cxx:220) ==24149== by 0x1B30B4A2: (anonymous namespace)::ReadThroughComponent(com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&, com::sun::star::uno::Reference<com::sun::star::lang::XComponent>, char const*, char const*, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>&, char const*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, rtl::OUString const&, bool) (sdxmlwrp.cxx:392) ==24149== by 0x1B30E582: SdXMLFilter::Import(unsigned int&) (sdxmlwrp.cxx:660) ==24149== by 0x1B3CEA64: sd::DrawDocShell::ConvertFrom(SfxMedium&) (docshel4.cxx:462) ==24149== by 0x1BDEBBF4: SfxObjectShell::DoLoad(SfxMedium*) (objstor.cxx:785) ==24149== by 0x19CD3D1A: SdFiltersTest::load(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int) (filters-test.cxx:75) ==24149== by 0x1E2524AB: test::FiltersTest::recursiveScan(test::filterStatus, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) (filters-test.cxx:131) ==24149== by 0x1E252FE9: test::FiltersTest::testDir(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) (filters-test.cxx:157) ==24149== by 0x19CD3A32: SdFiltersTest::testCVEs() (filters-test.cxx:97) ==24149== by 0x4E94843: CppUnit::TestCaseMethodFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x6C44812: (anonymous namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (unoexceptionprotector.cxx:63) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E85FF0: CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F5E2: CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E8F476: CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E9F4C4: CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*, std::string const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94291: CppUnit::TestCase::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94F1D: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94DA7: CppUnit::TestComposite::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94F1D: CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E94DA7: CppUnit::TestComposite::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4EA3A3F: CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4E9F253: CppUnit::TestResult::runTest(CppUnit::Test*) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x4EA3CCC: CppUnit::TestRunner::run(CppUnit::TestResult&, std::string const&) (in /home/chris/repos/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.2) ==24149== by 0x404152: (anonymous namespace)::ProtectedFixtureFunctor::run() const (cppunittester.cxx:281) ==24149== by 0x40495A: sal_main() (cppunittester.cxx:431) ==24149== warn:legacy.tools:24149:1:svl/source/items/poolitem.cxx:114: destroying item in use warn:legacy.tools:24149:1:svl/source/items/poolitem.cxx:114: destroying item in use warn:legacy.tools:24149:1:svl/source/items/poolitem.cxx:114: destroying item in use Change-Id: Id662aaa279d8df75551fd4ff47f0043cd39e54b0
2016-01-03vcl: split out ImplFontAttributes into own headerChris Sherlock
Change-Id: I74cde57e328047ac149593c5bb065d7a6066941d Reviewed-on: https://gerrit.libreoffice.org/21056 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>