fix memory leak on pasting metafiles into writer

copying from mspaint to writer and then deleting the image in a loop will
eventually exhaust all memory.

regression since 004a29b9ac66f68af5ea12a2303a4b2be77d8145

Change-Id: I381285cda3823de7df0c1725a339943caf9536fe
valgrind: SfxBaseModel's pImpl of fallback TargetDocument for paste leaks

e.g. repeatedly pasting a metafile into writer and deleting it.

==13369== 342 (232 direct, 110 indirect) bytes in 1 blocks are definitely lost in loss record 19,396 of 22,170
==13369==    at 0x4A06965: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==13369==    by 0x686D72E: SfxBaseModel::SfxBaseModel(SfxObjectShell*) (sfxbasemodel.cxx:518)
==13369==    by 0x288CA9C1: SvxUnoDrawingModel::SvxUnoDrawingModel(SdrModel*) (unomod.cxx:255)
==13369==    by 0x28961055: SvxDrawingLayerImport(SdrModel*, com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&, com::sun::star::uno::Reference<com::sun::star::lang::XComponent> const&, char const*) (xmlexport.cxx:164)
==13369==    by 0x28960FA2: SvxDrawingLayerImport(SdrModel*, com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&, com::sun::star::uno::Reference<com::sun::star::lang::XComponent> const&) (xmlexport.cxx:148)
==13369==    by 0x2896175E: SvxDrawingLayerImport(SdrModel*, com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&) (xmlexport.cxx:254)
==13369==    by 0x240B1002: SwFEShell::Paste(SvStream&, unsigned short, Point const*) (fecopy.cxx:1333)
==13369==    by 0x247B981A: SwTransferable::_PasteSdrFormat(TransferableDataHelper&, SwWrtShell&, unsigned short, Point const*, unsigned char, bool) (swdtflvr.cxx:2207)
==13369==    by 0x247B678E: SwTransferable::PasteData(TransferableDataHelper&, SwWrtShell&, unsigned short, unsigned long, unsigned short, bool, bool, Point const*, signed char, bool) (swdtflvr.cxx:1481)
==13369==    by 0x247B5AE4: SwTransferable::Paste(SwWrtShell&, TransferableDataHelper&) (swdtflvr.cxx:1150)
==13369==    by 0x2488FCCE: SwBaseShell::ExecClpbrd(SfxRequest&) (basesh.cxx:277)

     Reference< lang::XComponent > xTargetDocument( xComponent );
     if( !xTargetDocument.is() )
     {
>        xTargetDocument = new SvxUnoDrawingModel( pModel );
         pModel->setUnoModel( Reference< XInterface >::query( xTargetDocument ) );
     }

Change-Id: I3bd0fc983d9b6bdcdc91071a4ec3d2c584397ebf
strangely obvious leaky code

Change-Id: I968cbb784d53e0cff0649061c58f752939226a09
more SvxLanguageBoxBase interfacing

Change-Id: Ife9317d40756099ae4d8ecb84cccea91bd75a14c
OGLPlayer: set a timer which call redrawing to show animation

Change-Id: I7c98ba61be0510e9f86cb80fda73d18f7f7957cf
Collada2gltf: add -lrt to fix compilation problems

Change-Id: I1c0c9459cb716512dc726ee96fb811d03084aa62
OGLPlayer: fix playing of animation in edit mode

gltf_animation_set_time doesn't work but stops the animation.

Change-Id: Ia17724c36e2007451e24f97e04a09240359ad969
use SvxLanguageBoxBase* in the general routines

... so we can switch later to an SvxLanguageComboBox for some.

Change-Id: I1a48ee7207a14b2666be09f091c47f09fcbce192
fdo#77315: When in cell edit mode, use the EditView instance already there.

This prevents creation of a temporary EditView instance which would mess up
the cursor state while the mouse pointer is hovering.

Change-Id: I7759667b105b4389dd4de2673cd2fbe32082c95d
Fix typo: this is a static library

Change-Id: I663e8da9ee3f4b860d727abb3783e322eedd7d9f
WaE: unused parameter 'fTime'

Change-Id: I1f44de228fe09584699a1e158c32882cd9e7eac7
fdo#78799 - ignore overlayed monitors with co-incident origin.

This happens with certain fglrx drivers etc. where 'cloned' is not
set but instead both monitors are placed over the top of each other
(by XFCE) -> work around that.

Change-Id: I9d1846bfae2692681606717f7f5e8408df532d95
OGLPlayer: comment out gltf_animation_get_time

It leads confusing behavior. Time is not set by now
because set method does not work.

Change-Id: I447d07d4193e25e6916ee05ee335d4cf150380a2
sw: fix indentation in rtf{export,import} test

Change-Id: Ie777de47dc70da136b145028a08ea17a0de7a87d
unused XGradient::VclGradient

Change-Id: Ia0c416ce7c1323f9c0c20b969bd57e9a2174a3dc
coverity#704866 Unchecked dynamic_cast

Change-Id: Ib1108a6641635bbbb0d88968754d7bb19a8c9e73
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part14

Change-Id: Ibccaa2138426c22cd63d273a1b6cdc927ebe80dc
Fix previous commit

Change-Id: I22ded05f328aeb4479c90e79b12729eb3835b3ec
More fix

Change-Id: Iadb275a3799195a8c2eb57a975315f21d8215b31
Fixes

Change-Id: Iaecba29cb5958787ec2581198943d373e37a3934