Avoid possible memory leaks in case of exceptions

Change-Id: Ib74c40bb4ac11edf97b6843e983a911308fa4b98
fdo#78384: Fix for corruption if file contains symbols.

* In case of symbol, symbol character get imported first and then font of symbols.
* So we are storing symbol character and when we parse symbol font then create UNO object for text.

Change-Id: If5b79521c6a59aec02b165e8120dafdd472cdaeb
Reviewed-on: https://gerrit.libreoffice.org/9281
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
cid#705542 Unintentional integer overflow

Change-Id: Ibd3ef676de7d99ebdd273ee85665ddf9ec0f9c10
cid#982783 Unintentional integer overflow

Change-Id: Ida52d1fbe3d84c9c0070c91ae24cae58dc4aa13f
comphelper: remove SAL_INFO's that only mark function entry

Change-Id: I7807c1cdfd104f2a95973547908c359a5b01fb96
dbaccess: remove SAL_INFO's that only make function entry

Change-Id: Ibdf92698446d0a7aed7c474ec7d3ea720cd2c2a6
writerfilter: DomainMapper_Impl::SetSymbolData() should take an int

One wonders how did this work so far.

Change-Id: I6aee6a2f7e15c1c4931ca5d65b6ad39d025ff9ed
Find places where uno::Sequence is passed by value.

Implement a clang plugin to find them, and clean up existing code
to pass them by reference.

Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8
Reviewed-on: https://gerrit.libreoffice.org/9351
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Make it compile with Apple's Clang and libc++

Change-Id: I45feb0d715e6e823a42c7960fd87346412ebcc48
Revert "fdo#77683 the color in the toolbar buttons doesn't change."

This reverts commit f5dc536eae7dc28e09112ab9dd69e55fae015ee8.

This commit actually created a regression. A split button supposed
to show the last used color, not the current one.

I'll try to solve fdo#77683 in a different way, in a following commit.

Change-Id: I5df1ce49995e4755f54af977ca25d4e4dfdee629
Use transparent color directly

Change-Id: I47693666b3dd218eb8a74b936038c9169b054af1
Keep only one class for toolbox color controls

instead of 5 (mostly identical) classes.

Also the following bugs were fixed:

* All pickers now use split buttons. (fdo#45671)
* Color palette now indicates the current color. (fdo#73891)
  (Previous changes related to that bug are reverted as part
  of this commit.)
* Selecting a color from a float panel now updates the
  button. (fdo#77683)
* For Font color/background color in Writer, the color
  that is shown on the button, is always the one that's
  actually used. (Can be a different color after hiding
  the toolbar.)
* For Font color/background color in Writer, the button
  now indicates when we're in the format paintbrush mode.
  (Removed in 085e8a07e61ef2d3a82e11094d8773ab17cfdb3c
  for some reason.)

Change-Id: Idb4829552240c52fb0882aca627c8177bbe2f839
fdo#78599: Fixed for file corruption which contains fields and hyperlink

Field inside a hyperlink closed after the ending tag of hyperlink, which corrupted the RT file.

Change-Id: Ib89ead8d2f8a9eb6c8473ffd14853495ee1b2f62
Reviewed-on: https://gerrit.libreoffice.org/9330
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Unify utl::TempFile ctors

Change-Id: I0a781a86804808cebf7756506d9299971c13e2ff
use bundled (non-system) versions of libxml2 and libxslt for OS X <10.6

fixes fdo#78612 and fdo#77893

Change-Id: Iac36211095cc009a356f335a93a184ea5078214d
Reviewed-on: https://gerrit.libreoffice.org/9353
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
loplugin:passstringbyref

Change-Id: I0e97ab6ed479ba4057470946d45a0e8cda29470e
DomainMapper_Impl::AddDummyParaForTableInSection: shapes can't have sections

Trying to add (and later remove) a dummy paragraph is just not needed at
the moment, but it'll cause a real problem for textboxes.

Change-Id: I9f90b515171ce4b498de49c2381b7324002e3c20
Removed redundant private methods comments
Related: fdo#64161 ask pstoedit to mark out the bounding box

and tell pstoedit to use the original ps bounding box not its
own calculation of it

Change-Id: I06f3440a0def45ec8c3a4247c046ec499ed1012e
Fail the test if executing the validator fails

Change-Id: I15aac53a817ca309697cba8a962e788aea1619d0