Remove these useless static bool variables.

Change-Id: I7a8ad7814231f129d5d1146ceb36eb2c22b2aff1
More useless static bool variables.

Change-Id: If09aa23768f73bbf659966e4e5aac82dca83d1b6
Paint background images always via drawinglayer

Painting via GraphicObject is obsolete.
See fdo#68927 where the problem was the quality of svg
graphics, it seems a good idea to extend this improvement
to all graphic type.

Change-Id: I57a26d4fcfea8e4f666504a90281365e8a9a7e1d
DrawWithPDFHandling() is unused now

Change-Id: I599ee9de92f57b549606f355677b6de92d6dcdda
Remove unused IsInSwap() method

Change-Id: Ib295bd71b5cf16fd75d04818dfd415ff24cb2655
Printing: remove an other manual swap out call

Change-Id: I2b6d6eaa072d9948eb5734e978d68d3bc37701b2
SvxGraphicObject: remove more manual swap out calls

Tested with importing large *.rtf and *.docx test documents
with lots of images -> auto swapp out works.

Change-Id: Ib040edaa89c9bcb966c58b75f0392e6d9f7a165e
SdrUndoDelObj: one more manual swap out call

This thing seems a good optimization to me, but
it would be good to hide all of this swapping thing
inside GraphicObject class, to make our code more
robust (e.g. no image loss because of missing
manual swap in / swap out call).
Auto swapping mechanism will take care of that, anyway.

Change-Id: I933dafd95597ffff038dc6aeb0a64fcaa3941bd8
Remove duplicated swapping methods

Change-Id: I0e61aeb0705ed13872d252ee1594f9ab4aab4f8a
ForceSwap{In,Out}Objects method are unused now

They are called only by themselves recuirsively,
but not from outside.

Change-Id: I1cde392c95bbc60ac7937d0bf3cd4b0fd062568b
More unused swapping related method / member of SdrPage

Change-Id: I4a979dd09418df4526409d9026d6abb98c6bf954
Make GetTwipSize() call SwapIn() by itself in case of invalid size

Change-Id: I5bc6cf097e61d65007dde531af4a213b19e8ca5b
SwapIn by SwGrfNode::GetGrf(bool)/GetGrfObj() methods and not manually

Change-Id: Ie56584c03af8a6d3ea8f8d4294f5492a841933b7