summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
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-07vcl: use FontSelectPattern, not FontSelectPatternAttributesChris Sherlock
Change-Id: I9e3759d1d5ae850a2bead62fb3b2fef02f43ec4a Reviewed-on: https://gerrit.libreoffice.org/21176 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-06Fix build with gtk2 older than 2.20 by using the old definitionTomáš Chvátal
Change-Id: I3355d25f04a3c57063fd3d03e72a75da32e16efc Reviewed-on: https://gerrit.libreoffice.org/21109 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-01-06We should compare an Intel version to 15.40.4.64, not 15.40.4.64.4256Tor Lillqvist
That's what the code originally did, when the versions were hardcoded in the C++ code. The 15.40.4.64.4256 is the "marketing" number for the version that was suggested to use instead. The code can not handle five-number versions anyway, and this blacklist entry was ignored. An actual version as reported by the system always has four numbers, to the best of my knowledge. Change-Id: If7e2e91bbd81fc75d03eacb38580df16c6e09d78
2016-01-06vcl: fix lifecycle errors & memory corruption.Michael Meeks
FixedTextureAtlasManager should use ref-counted textures properly. Also - dispose embedded textures early in VCL shutdown while we have a valid OpenGLContext. Also - dispose the native widget control cache earlier too. Change-Id: Id3f7a1c3b331496616f36cbf02f83737505278a5 Reviewed-on: https://gerrit.libreoffice.org/21148 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-06Bin unneeded forward declarationsTor Lillqvist
Change-Id: Ia5e53ab06c3c2097602520023cb53883baa434fe
2016-01-06vcl: opengl - if we can't get the context we want, fallback properly.Michael Meeks
Fixes crash on Linux / NVidea with GL manually enabled. We can cope with a non-double-buffered context if we have to. Change-Id: Ic7968b8576cfe0efb10718058bc69db5b4daef95
2016-01-06loplugin:defaultparamsStephan Bergmann
Change-Id: Ic5bfc72c75745d0a4d9ff165d840ab51c90a8690
2016-01-06vcl: opengl - Kill the last glErrors on common paths.Michael Meeks
Re-work the makeSomeOpenGLContextCurrent logic into a shared function with the existing AcquireContext logic in the SalOpenGLGraphics impl. Use an OpenGLVCLContextZone placeholder to do both context and zone management - to include destructors into the zone. Fix a number of error cases around SalBitmaps where we did not have a GL context associated when allocating, and/or freeing textures.. Don't drag a (potentially) slower context around in the OpenGLSalBitmap when we're going to check / fetch a better VCL context anyway. Change-Id: Ibbb2358c47156cd078ad28b6aad4f03af36aaf23 Reviewed-on: https://gerrit.libreoffice.org/21127 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-06Bin some unused functions and fieldsTor Lillqvist
Change-Id: I679bae7734c655afe956845980e885b6b68002cd
2016-01-06Bin unnecessary variableTor Lillqvist
Change-Id: I140785838f2665b735b288d689c873502d1d1cfb
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-05Make SotFactory private to sot/ and clean a bitMatúš Kukan
Change-Id: Ia683280a3e95eee995e036db6bde5d28852f92ff
2016-01-05Fix dbgutil build in case GL_DEBUG_SEVERITY_NOTIFICATION_ARB is undefinedTor Lillqvist
Change-Id: I14628e9dee8651e87b4782057c4681fded5e4643
2016-01-05Avoid indexing out of array boundsTor Lillqvist
Change-Id: I65022f30e21cb94fc8c653ef8e2797da3746875c
2016-01-05tdf#96687 - force validation after External InputJustin Luth
After external input (EndExtTextInput), the selection was marked as invalid, but bFormatted remained true, so all the functions that re-evaluated and marked the portion as valid again were skipped and therefore the invalid portion was not painted. Change-Id: Ibb2208bdaeb8ed17a4a34fa378a2fc750abf1b07 Reviewed-on: https://gerrit.libreoffice.org/20986 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-01-05vcl: Ignore i965’s shader compiler debugEmmanuel Gil Peyrot
Change-Id: I94c5759d47a17e93f0614bfd95b52d64f9d2d896
2016-01-05Remove unnecessary castStephan Bergmann
Change-Id: I5b9bb5231d65beb0ac5c98973a33f1cb369f0649
2016-01-05RC4 encrypt some WMF and TIFF test filesMichael Stahl
Reportedly some virus scanners warn about some of these files. Use a new "RC4" name prefix since the files don't come from external sources. http://permalink.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/69200 Change-Id: I6d4cff2fdd5c0134bf2c77558ea09b3196b39be9
2016-01-05loplugin:redundantcastStephan Bergmann
Change-Id: I8a5c0eddb784a23a2019c5315161b9bbb02e1e48
2016-01-05Fix memleak of strings allocated in VclGtkClipboard::makeGtkTargetEntryDennis Francis
This leak is produced when copy and paste of text/numbers is done in Calc/Writer. Following is the trace produced by valgrind (trimmed) malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) g_malloc (in /usr/lib64/libglib-2.0.so.0.4600.2) g_strdup (in /usr/lib64/libglib-2.0.so.0.4600.2) VclGtkClipboard::makeGtkTargetEntry(...) (gtk3gtkinst.cxx:467) VclGtkClipboard::setContents(...) (gtk3gtkinst.cxx:557) TransferableHelper::CopyToSelection(vcl::Window*) const (transfer.cxx:1019) ScTabView::CheckSelectionTransfer() (tabview3.cxx:319) ScTabView::UpdateAutoFillMark() (tabview3.cxx:144) ScTabView::SelectionChanged() (tabview3.cxx:365) ScViewFunc::PostPasteFromClip(ScRangeList const&, ScMarkData const&) (viewfun3.cxx:1753) ScViewFunc::PasteFromClip(...) (viewfun3.cxx:1415) ScClipUtil::PasteFromClipboard(ScViewData*, ScTabViewShell*, bool) (cliputil.cxx:69) ScCellShell::ExecuteEdit(SfxRequest&) (cellsh1.cxx:1285) SfxStubScCellShellExecuteEdit(SfxShell*, SfxRequest&) (scslots.hxx:7135) SfxShell::CallExec(void (*)(SfxShell*, SfxRequest&), SfxRequest&) (shell.hxx:206) SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, bool) (dispatch.cxx:258)... ... Change-Id: I12468e746f33a64e2b5f05e9ac1c6814c702ffd7 Reviewed-on: https://gerrit.libreoffice.org/20646 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-05tdf#96894 - get ordering right for TextureAtlas cleanup on shutdown.Michael Meeks
Do it much earlier - while we have a valid OpenGLContext. Change-Id: Ie258283147d02984b6f507c0075d114ae7288051 Reviewed-on: https://gerrit.libreoffice.org/21089 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-05tdf#89382 - vcl: unwind 'TODO' commentRas-al-Ghul
Have 'constified' ImplAddDel and ImplRemoveDel methods Change-Id: Id4aba9bda87b97b6a29971be802f83dea027ab22 Reviewed-on: https://gerrit.libreoffice.org/21100 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-04tdf#96690 - don't copy tiny non-rendered-to virtual devices.Michael Meeks
Change-Id: Ic9d90bb7f652599b5a6ce303aa026b7e4e255324
2016-01-04vcldemo: adjust benchmarking weights to fit changed workloads.Michael Meeks
Change-Id: I2cd8cdd541fd4095aea8abd2ea78b11e7df77440
2016-01-04Remove unused forward declarationsTor Lillqvist
Change-Id: Ic586d44d2ff0f913f655b8a7539326a6dea78477
2016-01-04Remove unused forward declarationsTor Lillqvist
Change-Id: I9db63e6c6b4df33387b9b4d59450494e8bd856f1
2016-01-04Get rid of silly stderr0 macroTor Lillqvist
Change-Id: Ibc51fb4cc72163fb643a85ad3f0b6061b7d77ccc
2016-01-04vcl: split classes out of metric.hxxChris Sherlock
Change-Id: Id3b155abec7b7a2ff43d0a35e98709f5ee51c6b9 Reviewed-on: https://gerrit.libreoffice.org/21069 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-04Cleanup after removing vcl::FontInfo classChris Sherlock
Change-Id: I544eac439cb7277e47a23a90c6fbc45496161c3b
2016-01-03vcl: Excise vcl::FontInfo classChris Sherlock
This may sound crazy, but literally vcl::FontInfo serves no purpose that I can see. The inheritance chain is like this: ┌────────────────────────┐ │ │ │ vcl::Font │ │ │ └────────────────────────┘ ^ ╱ ╲ │ │ ┌────────────────────────┐ │ │ │ vcl::FontInfo │ │ │ └────────────────────────┘ ^ ╱ ╲ │ │ ┌────────────────────────┐ │ │ │ FontMetric │ │ │ └────────────────────────┘ vcl::FontInfo (which, incidentally, needs to be put into the vcl namespace due to collisions with poppler!) literally does nothing and is acting as a bridge between FontMetric and vcl::Font. Unlike a bridge though, this bridge doesn't actually *do* anything. So I'm removing it, which means one less class to deal with in the vcl fonts world. Change-Id: I32725669c9bca7fbb0846b6a062135464046e4f6 Reviewed-on: https://gerrit.libreoffice.org/21058 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-03vcl: move Windows salgdi3.cxx to salfont.cxx - that's all it does!Chris Sherlock
Change-Id: I0a49bab5f410901d40c5b3b62a5a3f9d9946b8a0 Reviewed-on: https://gerrit.libreoffice.org/21057 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
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>
2016-01-03vcl: rename variables from metric names to font attribute namesChris Sherlock
Change-Id: Ib0a3d82af858304bf63a20bcb30b8de741491935 Reviewed-on: https://gerrit.libreoffice.org/21054 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-03vcl: merge ImplFontMetricData with ImplFontAttributesChris Sherlock
Change-Id: Ia2fe20559745e705667f23cdd73cbe50c6371aaa Reviewed-on: https://gerrit.libreoffice.org/21053 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-03vcl: convert ImplFontMetricData to accessor functionsChris Sherlock
Changed private variables to use accessor functions in ImplFontMetric. It turns out there are some variables that are redundant as they are already in ImplFontAttributes. These are: - meFamilyType - mbDevice I also needed to change ImplFontMetric::GetSlant() to GetSlantType() as the names conflicted. Change-Id: Ic06a374fb929e3b2ffb18a6c66577c526c3b31a7 Reviewed-on: https://gerrit.libreoffice.org/21050 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-03vcl: indent cleanup for outfont.hxxChris Sherlock
Change-Id: Ia35f2ec1b27373243736172f1d91c03bb2622c64
2016-01-02vcl: gtk2 - synchronous painting during initial expose to avoid flicker.Michael Meeks
Change-Id: Ib2520679c3d62991f4ae6c5a325a44ab3cce1d89
2016-01-02vcl: opengl - ensure we have the right GL context for rendering.Michael Meeks
Also significantly simplify, and remove paranoid ramblings from the flushing code. Change-Id: Ie7cc742caac290d77ac931c54cc4fe777a7872de
2016-01-02vcldemo - more clipping tests for RegionBand and Polygon cases.Michael Meeks
Change-Id: I959c0874c670027e79163ded6a1d8c8b55d66376 Reviewed-on: https://gerrit.libreoffice.org/21045 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-02tdf#96858 - opengl - fix off-by-1 in glScissor clipping.Michael Meeks
Change-Id: I3085e2d2848e2041c2faadbfce099ce75c62b712 Reviewed-on: https://gerrit.libreoffice.org/21043 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-02vcldemo: add clipping torture test.Michael Meeks
Change-Id: I5b09d1777c994acaf25457e786222886b2435af8 Reviewed-on: https://gerrit.libreoffice.org/21042 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-02tdf#84263 KDE4: unify includesJan-Marek Glogowski
Use Qt submodule notation for Qt includes and also "correct" some KDE headers AKA use <> notation for external headers. Change-Id: I9457f75baae56514989800b016a11348a72a242b
2016-01-01vcl: remove poor-man's RTTI in PhysicalFontFaceChris Sherlock
The *only* things relying on the in-built magic number are PDFFontCache and PDFWriterImpl. PDFWriterImpl::emitBuiltinFont has as its first parameter a const PhysicalFontFace*, but this is only called upon by PDFWriterImpl::emitFonts, which instantiates an ImplPdfBuiltinFontData object from a built-in font map... so basically it is always guaranteed to get a ImplPdfBuiltinFontData object. ImplPdfBuiltinFontData derives from PhysicalFontFace, so to prevent the need to check the class being used is a ImplPdfBuiltinFontData, just make emitBuiltinFont require as it's first parameter ImplPdfBuiltinFontData! Unfortunately, we can't get around RTTI completely, because PDFFontCache::FontIdentifier requires a way of distinguishing between two different PhysicalFontFaces... Change-Id: I74c8cd294580bbecd12dd2427ac405f97a7e7f7e Reviewed-on: https://gerrit.libreoffice.org/21030 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-01loplugin:passstuffbyrefStephan Bergmann
Change-Id: I5d15ab7f8d9b7cb3ff0124f20c840dd2a285b400
2016-01-01vcl: move comment to correct spot (cheers Norbert)Chris Sherlock
Change-Id: If8da668cba96364189de3b0aa89b43110cc41f9b Reviewed-on: https://gerrit.libreoffice.org/21034 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-02Revert "vcl: Get rid of FontMatchStatus structure"Chris Sherlock
This reverts commit 60676b3b376d5f3f6fb29fa68c34117c2149bbec. The FontMapStatus structure is passed as a reference to save the search state outside of the search loop in PhysicalFontFamily::FindBestFontFace. This *looked* like it would be an easy win, evidently not! Back to the drawing board. Change-Id: Icc7078543e50bc34221127d8df055f056e249cdb
2016-01-01Fix drawTransformedBitmap for NULL pAlphaBitmap #2.Michael Meeks
Change-Id: Ie4d03a01c557e93a3ba3b5925896e38ed07f9a27
2016-01-01vcl: un-bind render-buffer after setup & add debug.Michael Meeks
Change-Id: Ic94f94148397d46d4442f2290d331438c0799f75 Reviewed-on: https://gerrit.libreoffice.org/21029 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>