Avoid undefined mis-aligned memory access

(assuming this shall always be little endian, given "Intel" in the function names)

Change-Id: Iff7e1305108dd0f8d9fae762c1f715e2e7b481b3
Fix memory leaks, by refcounting LwpObject

Change-Id: I1539597cd5bcabcbf0295d1acc320c503ad53604
bnc#880763: PPTX import: wrong z-order becuause of wrong import order

importExtDrawings() must be called as soon as possible,
before parser starts to parse the next shape.
Call it when graphicFrame tag is closed. This tag include
the reference to the SmartArt.

Plus fix up import tests.

Change-Id: I9e8d54c2b1afeb78a1122390dc4982d580c152ae
-Werror,-Wmismatched-tags

Change-Id: Iac83316d69e85f2da3de32d8023c228f678c8f08
loplugin:saloverride

Change-Id: I5ee17a1e5ea28e6ecf371bea30b36923586f41cc
oox: support non-TextFrame shapes in WpsContext::onCreateContext

Change-Id: I692fa22132cd3a722b58de22e3dbb759ff888e5d
fdo#78860: Swap the logic here: Disable -> Enable.

Because the UNO property logic had been swapped earlier.

Change-Id: I35af3e8cee3c4cbc8da43d7bc478f506048887b0
CppunitTest_sw_ooxmlexport: port testFdo66688 to textboxes

Change-Id: Iada46e037844b010959b153b5e895fd2be021d68
simplify SfxListener::EndListening and StartListening

No-one is using the return values, so we can simplify the methods

Change-Id: Icc2dbfb797bcd82afcbf42ed3bdc20b0426ccba1
Reviewed-on: https://gerrit.libreoffice.org/9542
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Resolves: #i125000# check last status of newly created...

<Gdiplus::Bitmap> instance before using it.

(cherry picked from commit b127235917610b9c68e19df29bb39af496906569)

Change-Id: I97364cf963424b0e8d0b52b3c995bd4defdca067
i#124999: - call <SwGrfNode::onGraphicChanged()> only when <Graphic>

instance has been set, too

- <SwGrfNode::onGraphicChanged()> - assure that graphic is swapped
  out in case its swap in has been triggered by this method.

(cherry-picked from commit 4dbdc0ce931d7686583a49e68f8df09827357beb)

Change-Id: I3e6aa68d9507095925dec37075abcdf9da58c804
revert sw part of "don't swap in all images when loading files"

Half of commit 9b9eb2e4f619c63eabdc54b5d749ac55d8eaf333 is obsoleted
by orw's fix for i#124999; not sure about the other half.

Change-Id: I337a4bbf79912c02be7c7c56c5705253b3d7b125
CppunitTest_sw_ooxmlexport: port testFdo58577 to textboxes

Change-Id: Ic309c7f2a3df46a4813646902a595408f4751fcd
sw html: Translate some german comments.

Change-Id: I4b8e83dc53e09ba18b5cd0e907ce2412d7f7dd98
sd html: Implement export of metadata in the single document case.

Change-Id: Icf99c9bcea187e2a3127b97050d6ddb072540b0d
html export: Close the <meta> tags.

Change-Id: Icca58dd1531f2442fe5878ed9524a3611c0601ea
sd html: Unit test for the metadata export.

Change-Id: I1e38e28b57e816a0829d1a56f2ffcb32d8f93718
sd html: Provide some minimal reasonable defaults.

Change-Id: I72b02f7d87cf6075d318c1cc0d7288e27bbe1b9c
fdo#76281: Fix wrong square brackets in exported citations

There was a pair of unbalanced ifs in the code to write the opening
and the closing bracket, they should have the same condition.

Change-Id: I9b3e64486d1b87a8df65d351f01eb4cc9a8b8c44
fixincludeguards: fix include guards

Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b
Reviewed-on: https://gerrit.libreoffice.org/9629
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>