Commit Graph

386210 Commits

Author SHA1 Message Date
Stephan Bergmann
43de9a5b0f What these SAL_INFO probably want to tell us...
...given the oldest incarnation of the code still available is

  HACK( "fuer Image, dort gibt es derzeit keine Statics - Bug" )
  if ( ppStaticDefaults )

and

  HACK( "fuer Image, dort gibt es derzeit keine Statics - Bug" )
  if ( ppStaticDefaults )

from cf7e1f9cc9 "INTEGRATION:
CWS visibility03: #i45006# Moved from svtools/source/items/ (for
svl/items1.lib)"...

...is that ppStaticDefaults should really be non-null, but "Image" (Draw?
Impress?) needed a temporary (?) hack there.

Test that assumption by asserting that ppStaticDefaults is non-null.

Change-Id: I2a75547618da1d211c44176e4593f6951a0e0298
2016-01-06 16:21:44 +01:00
Dennis Francis
3b70b84650 Fix tdf#96524 : Do not change view when...
...entire column or row is selected using row/col
header and keyboard shortcuts are used to amend
the ref selection.

Change-Id: I97f05ae2192aff65933fec53e6e79024420d8d5b
Reviewed-on: https://gerrit.libreoffice.org/20837
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-01-06 14:49:50 +00:00
Takeshi Abe
3c42024f46 WIP: Fix build with --disable-atl on Windows
This avoids finding emboleobj's component in such case.

Change-Id: Ie1bdef629a55b4ddb6be2538939867c182c184b3
Reviewed-on: https://gerrit.libreoffice.org/21075
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
Tested-by: Matúš Kukan <matus@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-01-06 14:31:55 +00:00
Philipp Weissenbacher
da952d821d tdf#39468 Translate German comments - include/svx
Change-Id: I5344af095e52efb1f1569d2b67ee3cc6b449dd22
Signed-off-by: Michael Stahl <mstahl@redhat.com>
2016-01-06 15:06:46 +01:00
Dennis Francis
33455023a9 Fix tdf#96523 : Correct the behavior when Ctrl key is pressed
Also changed the bool member bDoneInitRef to bInRefMode which
better indicate what it does.

Change-Id: I1698202add7876b89c95f737d4b5ad2243af31ab
Reviewed-on: https://gerrit.libreoffice.org/20836
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-01-06 13:57:07 +00:00
Takeshi Abe
6a5349f1a2 starmath: Fix bogus warning
RID_PRINTUIOPTIONS has 9 items.

Change-Id: Ie7aee00e0219151b1573217ca670a93925de67cc
Reviewed-on: https://gerrit.libreoffice.org/21154
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-01-06 13:38:18 +00:00
Takeshi Abe
4ae319ae46 tdf#90341 Clean up excessive const_cast'ing
RequestApplyChanges()'s call sites do not require its constness.

Change-Id: Iaf9108375db7503fe1a3bd8275e13dbdddf95ab5
Reviewed-on: https://gerrit.libreoffice.org/21068
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-01-06 13:34:42 +00:00
Douglas Mencken
b3afc03bcc jvmfwk/plugins: clean-up in util.cxx
These are some remnants from the-good-old-days of Mac OS X 10.4 support
and 2005's commit b8871d23ea

Change-Id: I9a14aaac94e4a6e4961a2fa9a5020d9cf3a07c9d
Reviewed-on: https://gerrit.libreoffice.org/21124
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-01-06 13:32:12 +00:00
Stephan Bergmann
55a5ac48c2 Get parenthesisation right
...for

  #define COMMA ,
  if (SAL_LIKELY(void() COMMA true)) ...

Change-Id: I607d3da52e769035b35cefe1103675d89d5a3b9b
2016-01-06 13:46:48 +01:00
Tor Lillqvist
409d1817b8 Bin unneeded forward declarations
Change-Id: Ia5e53ab06c3c2097602520023cb53883baa434fe
2016-01-06 14:35:41 +02:00
Stephan Bergmann
fd6263e376 Make E3dScene3D::GetCamera return non-reference
I stumbled over this when Valgrind'ing CppunitTest_sd_filters_test somewhat
erroneously reported

  Source and destination overlap in memcpy(0x2fde4af8, 0x2fde4af8, 96)

for

  aCamera = rNewCamera;

in E3dScene::SetCamera (svx/source/engine3d/scene3d.cxx), where the compiler
chose to use memcpy in the implicit definition of the Viewport3D (being a base
class of Camera3D) copy assignment operator, and the call pattern of
Get/SetCamera in EnhancedCustomShape3d::Create3DObject
(svx/source/customshapes/EnhancedCustomShape3d.cxx) causes that assignment to be
a self-assignment.

Upon closer inspection, some calls of GetCamera already create a copy from the
returned reference, while others modified the returned reference, but then would
also always call SetCamera on it.  An alternative to the given change would have
been to instead change SetCamera(Camera3D&) to UpdateCamera() and require all
call sites of GetCamera/UpdateCamera to modify the reference returned from
GetCamera, but it looks safer overall to go this way.

Change-Id: I578e72db57630dca1b09124a3b11d177005b797d
2016-01-06 13:22:26 +01:00
Michael Stahl
cd103a888b sal: don't use reserved identifiers, much less in public API
rename to SAL_DETAIL_BOOLEAN_EXPR

Change-Id: Ifb2b2d09a421313e021062cb37ade8777c30f25a
2016-01-06 13:04:50 +01:00
Michael Meeks
0bc3b393c6 vcl: opengl - if we can't get the context we want, fallback properly.
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-06 12:16:04 +00:00
Juergen Funk
be0b369929 unused SalGraphics::drawTransformedBitmap(
basegfx::B2DPoint const&, basegfx::B2DPoint const&,
       basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*)

it used here
  http://opengrok.libreoffice.org/xref/core/vcl/quartz/salgdicommon.cxx#669
and
  http://opengrok.libreoffice.org/xref/core/vcl/win/gdi/gdiimpl.cxx#2305

Change-Id: Ia177e27fe1dcec0ca441547db0240fb3f62650a7
Reviewed-on: https://gerrit.libreoffice.org/21085
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-06 11:20:29 +00:00
Andrzej Hunt
65650d6432 Use OUStringBuffer when constructing string in loop
Change-Id: Ic29e301d0162d41ea5e38070e296610115735983
Reviewed-on: https://gerrit.libreoffice.org/20191
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-06 11:19:28 +00:00
Tor Lillqvist
e4968cfb09 Revert "This probably is not worth displaying a warning about"
It might be a useful warning.

This reverts commit d202f85171.
2016-01-06 12:33:01 +02:00
Stephan Bergmann
f1d3b68f3c loplugin:defaultparams
Change-Id: Ic5bfc72c75745d0a4d9ff165d840ab51c90a8690
2016-01-06 11:26:32 +01:00
Michael Meeks
e75406e54c tdf#39631 - branch hints: comment, and tweak variously, also use.
Find a few million mis-predicted branches (according to callgrind)
and annotate them. Mark string acquire/release as hot, and a number of
deprecated methods as cold.

Change-Id: I678b3981794221c97f9ebb70fd0161c0fda5dceb
2016-01-06 09:38:16 +00:00
Sheikha AL-Hinai
eafb1ebf74 tdf#39631: Add optimisation helpers
Change-Id: I3d09eea11e7acabcd9b692bf5abd7676b89f1323
2016-01-06 09:38:16 +00:00
Michael Meeks
1479ad1c63 vcl: opengl - Kill the last glErrors on common paths.
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-06 09:17:16 +00:00
Tor Lillqvist
3576a87d72 Bin some unused functions and fields
Change-Id: I679bae7734c655afe956845980e885b6b68002cd
2016-01-06 10:59:38 +02:00
Tor Lillqvist
2b9ec36ed7 Bin unnecessary variable
Change-Id: I140785838f2665b735b288d689c873502d1d1cfb
2016-01-06 10:52:43 +02:00
Miklos Vajna
e514a55831 xmlsecurity: allow creating multiple signatures with the same certificate
Now that the user can provide a description of the signature, it makes
sense to allow multiple signatures from the same user, assuming that the
descriptions explain the purpose of the different signatures.

Change-Id: I2cd4680594732d6b40dc3ffbcb6b4a9a6ca87919
2016-01-06 09:43:27 +01:00
Miklos Vajna
ef16f72de9 xmlsecurity: add UI to provide a description when signing
Change-Id: I6fdbcb342d06e05b4965ccf7f593ac130426828a
2016-01-06 09:43:27 +01:00
Miklos Vajna
ac6bfd85df tdf#92045 DOCX import: <w:effect w:val="none"/> doesn't mean blinking
Regression from commit eeb8297e47 (Use
constants for ST_TextEffect values, 2014-09-22), the problem was that
while the tokenizer stopped using hardcoded token values, the matching
dmapper code wasn't adapted.

Change-Id: Id61912e9c9458efc87e0a6f8e461663942c555f0
2016-01-06 08:59:07 +01:00
Markus Mohrhard
a30a36b3c7 disable test on OSX
The table seems to be on page 4 on OSX and not page 5. This makes the
xpath expression fail.

Change-Id: Ife16b25923041c66b2d9f352dbd3cfb6893f4ef5
Reviewed-on: https://gerrit.libreoffice.org/21139
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-01-06 07:29:17 +00:00
Stephan Bergmann
d79efb6070 Missing include
Change-Id: Iaa59ae222c4d0453cbacb33018036802d606affc
2016-01-06 08:04:19 +01:00
Stephan Bergmann
5af3256f92 Missing include
Change-Id: I958c2baf2ee1e0505e961d1a9c420df2881dab3f
2016-01-06 07:58:40 +01:00
Stephan Bergmann
3a459b52c5 std::swap is in <utility>, not <algorithm>
Change-Id: I8b93f053276ff273f2f79ed29d7605d976f7d866
2016-01-06 07:53:23 +01:00
Stephan Bergmann
6c1cab5680 Missing include
Change-Id: Icba84b4921cdb7c4a9e88975ec98dddc91e9f79b
2016-01-06 07:52:56 +01:00
Chris Sherlock
5a014c49b3 vcl: init font metric variables in ImplFontAttributes constructors
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::uno::Reference<com::sun::drawing::XShape> const&) (unopage.cxx:508)
==24149==    by 0x1D53F88C: SvxFmDrawPage::_CreateSdrObject(com::sun::uno::Reference<com::sun::drawing::XShape> const&) (fmdpage.cxx:78)
==24149==    by 0x1B59ECDF: SdGenericDrawPage::_CreateSdrObject(com::sun::uno::Reference<com::sun::drawing::XShape> const&) (unopage.cxx:401)
==24149==    by 0x1D3BF1AF: SvxDrawPage::CreateSdrObject(com::sun::uno::Reference<com::sun::drawing::XShape> const&, bool) (unopage.cxx:838)
==24149==    by 0x1D3BF37C: SvxDrawPage::add(com::sun::uno::Reference<com::sun::drawing::XShape> const&) (unopage.cxx:213)
==24149==    by 0x1E6CFA87: SdXMLShapeContext::AddShape(com::sun::uno::Reference<com::sun::drawing::XShape>&) (ximpshap.cxx:427)
==24149==    by 0x1E6D053A: SdXMLShapeContext::AddShape(rtl::OUString const&) (ximpshap.cxx:520)
==24149==    by 0x1E6D3C93: SdXMLTextBoxShapeContext::StartElement(com::sun::uno::Reference<com::sun::xml::sax::XAttributeList> const&) (ximpshap.cxx:1689)
==24149==    by 0x1E608E3A: SvXMLImport::startElement(rtl::OUString const&, com::sun::uno::Reference<com::sun::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::xml::sax::InputSource const&) (sax_expat.cxx:484)
==24149==    by 0x1B30B4A2: ReadThroughComponent (sdxmlwrp.cxx:220)
==24149==    by 0x1B30B4A2: (anonymous namespace)::ReadThroughComponent(com::sun::uno::Reference<com::sun::embed::XStorage> const&, com::sun::uno::Reference<com::sun::lang::XComponent>, char const*, char const*, com::sun::uno::Reference<com::sun::uno::XComponentContext>&, char const*, com::sun::uno::Sequence<com::sun::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::xml::sax::InputSource const&) (sax_expat.cxx:484)
==24149==    by 0x1B30B4A2: ReadThroughComponent (sdxmlwrp.cxx:220)
==24149==    by 0x1B30B4A2: (anonymous namespace)::ReadThroughComponent(com::sun::uno::Reference<com::sun::embed::XStorage> const&, com::sun::uno::Reference<com::sun::lang::XComponent>, char const*, char const*, com::sun::uno::Reference<com::sun::uno::XComponentContext>&, char const*, com::sun::uno::Sequence<com::sun::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::xml::sax::InputSource const&) (sax_expat.cxx:484)
==24149==    by 0x1B30B4A2: ReadThroughComponent (sdxmlwrp.cxx:220)
==24149==    by 0x1B30B4A2: (anonymous namespace)::ReadThroughComponent(com::sun::uno::Reference<com::sun::embed::XStorage> const&, com::sun::uno::Reference<com::sun::lang::XComponent>, char const*, char const*, com::sun::uno::Reference<com::sun::uno::XComponentContext>&, char const*, com::sun::uno::Sequence<com::sun::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::xml::sax::InputSource const&) (sax_expat.cxx:484)
==24149==    by 0x1B30B4A2: ReadThroughComponent (sdxmlwrp.cxx:220)
==24149==    by 0x1B30B4A2: (anonymous namespace)::ReadThroughComponent(com::sun::uno::Reference<com::sun::embed::XStorage> const&, com::sun::uno::Reference<com::sun::lang::XComponent>, char const*, char const*, com::sun::uno::Reference<com::sun::uno::XComponentContext>&, char const*, com::sun::uno::Sequence<com::sun::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::xml::sax::InputSource const&) (sax_expat.cxx:484)
==24149==    by 0x1B30B4A2: ReadThroughComponent (sdxmlwrp.cxx:220)
==24149==    by 0x1B30B4A2: (anonymous namespace)::ReadThroughComponent(com::sun::uno::Reference<com::sun::embed::XStorage> const&, com::sun::uno::Reference<com::sun::lang::XComponent>, char const*, char const*, com::sun::uno::Reference<com::sun::uno::XComponentContext>&, char const*, com::sun::uno::Sequence<com::sun::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-06 15:10:16 +11:00
Andrea Gelmini
11262803d6 writefilter: removed superfluous #includes
Change-Id: If9a563767cd1165c4a7363b513447cd975cb20c9
Reviewed-on: https://gerrit.libreoffice.org/15850
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-06 02:23:55 +00:00
Eike Rathke
22e5170af7 create closing bracket token only when necessary
Change-Id: Ifb705279ff01d4c886678a183de0499ec5bb119e
2016-01-05 23:42:08 +01:00
Eike Rathke
4ae7b66286 use new'ed FormulaToken and FormulaTokenArray::Add()
... instead of a temporary instance and AddToken() that just clones it
again.

Add function comment describing the difference.

Change-Id: I3f089965d394b33d7bbbb9a1c3f69dc1c4182fd2
2016-01-05 23:42:07 +01:00
Jan-Marek Glogowski
d7e0d0135b tdf#93565 Use multiple docs for individual PDF MM
There is actually a comment in the mail merge code:

  // convert fields to text if we are exporting to PDF
  // this prevents a second merge while updating the fields
  // in SwXTextDocument::getRendererCount()

This was included to fix i#93714.

But the reference to 2005-05-23 #122919# in the actual code
doesn't help to understand, why the original code is needed.
I would like to get rid of it, but currently don't have time
for tests.

So the optimization to skip ConvertFieldsToText() and use a
single working document for individual document mail merge
breaks for PDF, as the working document won't contain any
fields after the first document is written.
This uses multiple working documents for PDF export again.

Change-Id: I0cf1c64da27863fc5fb4bb6c7812fed90b737d13
2016-01-05 22:41:43 +01:00
Maxim Monastirsky
cdd14dbd78 Kill one indentation level
Change-Id: Id7a7b33dbfc902fcf5130f3dc8ae23012d1f2310
2016-01-05 23:39:50 +02:00
Gulsah Kose
1949cc74b9 tdf#90187 Added uno command for track changes bar.
v2: Solved dimmed button problem and changed controller class
for listen trackchangesbar button.

Change-Id: I5a921ad9bb6c8e53d3043e86492d0923a998f3d2
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/21064
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-01-05 21:39:21 +00:00
Matúš Kukan
d929e3a6b4 sot_component_getFactory is gone
Change-Id: I4c0360b088f7de8bbcd598fcf3f35c6de13b6c66
2016-01-05 22:29:52 +01:00
Eike Rathke
c3d2313eca for new'ed FormulaToken use FormulaTokenArray::Add()
... instead of AddToken() that just clones it again.

Change-Id: I99b02b0924d0a0c070435501f8ecd45f030e9c2c
2016-01-05 22:18:24 +01:00
Andrea Gelmini
2851683d8a Fix typos
Change-Id: I7c40d7eb90a5c2b5d9808683c83b664707c27cb1
Reviewed-on: https://gerrit.libreoffice.org/21128
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-05 19:43:28 +00:00
Matúš Kukan
7f36d2e255 tdf#74608: Ctor function for css.embed.OLESimpleStorage
Change-Id: I20b91ad65514e27094ff702d1d94a48ef9a82fe6
2016-01-05 20:41:12 +01:00
Matúš Kukan
3b7150c0ab SotFactory is in fact not used: remove + cleanup
Also SotData_Impl is used only in exchange.cxx now. Move there.

Change-Id: I548095c2226d92aea4193bb1a3671e2381996435
2016-01-05 20:41:12 +01:00
Matúš Kukan
5b22663e37 Make SotFactory private to sot/ and clean a bit
Change-Id: Ia683280a3e95eee995e036db6bde5d28852f92ff
2016-01-05 20:41:11 +01:00
Takeshi Abe
62b274fd7f starmath: Drop nonexistent friend
SmClipboardChangeListener was gone at 5ed3fa4c39.

Change-Id: Ia826ecbeb53eb1d5cb41bd39fe250cdaf60268cd
Reviewed-on: https://gerrit.libreoffice.org/20987
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2016-01-05 19:08:45 +00:00
Eike Rathke
902c593196 tdf#96198 add WEEKNUM_OOO compatibility function, tdf#50950 follow-up
The remaining cases when loading old and wrong ISOWEEKNUM that can't be
mapped to either new WEEKNUM or ISOWEEKNUM now are mapped to
WEEKNUM_OOO(date,mode) with calculations identical to the old and wrong
OOo WEEKNUM.

These WEEKNUM_OOO cases are still wrongly saved as ISOWEEKNUM so can be
read by 5.0 or earlier versions as the old WEEKNUM, which should be
changed for 5.3 or later.

WEEKNUM_OOO is not offered in the Function Wizard to prevent deliberate
usage.

Also reverts the interim unit test change to
sc/qa/unit/data/contentCSV/date-time-functions.csv
that was necessary to catch the error generated by ISOWEEKNUM with two
arguments.

Change-Id: I874c4c7225900f03b879f2947512ae02270cbd4f
2016-01-05 19:29:17 +01:00
David Tardon
5f98164288 add more URLs to appdata files
Change-Id: If32565d244d7882e1fca514214e5be1351ead41f
2016-01-05 17:09:17 +01:00
Markus Mohrhard
058dea3b1a Revert "Time wraparound validation feature"
This reverts commit c01bcbc885.

It still needs to be determined if this really was a good idea or a
brain fart from me.

There are some serious interop issues around the issue.
2016-01-05 16:50:03 +01:00
rezso
2ec813b4bb don't use bash completion compatibility dir
Change-Id: I575f6fc9c1605bb7ec07842928f85c2eeadc72f8
Reviewed-on: https://gerrit.libreoffice.org/20954
Reviewed-by: rezso <rezso@rezso.net>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-01-05 15:40:28 +00:00
Stephan Bergmann
c83b55564d Use OUString::replaceAll
...instead of a local function using a static (!) buffer, which just cannot work
in a multi-threaded environment.

Change-Id: Id28e1c55c32aa2e35cd3c1756f5d392241092a30
2016-01-05 15:41:52 +01:00
Tor Lillqvist
1fd7994a4e Fix dbgutil build in case GL_DEBUG_SEVERITY_NOTIFICATION_ARB is undefined
Change-Id: I14628e9dee8651e87b4782057c4681fded5e4643
2016-01-05 16:19:29 +02:00