loplugin:saloverride

Change-Id: I6a3cdf840468d6508e8ffecdc50d79041b9b4797
make sure that we always delete the shader and not only the program

Change-Id: Ia02fb20d335e2172f607f13a0de78ea666d094f5
extract shaders to own file and use shared shader loading

Change-Id: I1af7e03a3e46f3cb49162be9351ce22f54d08c52
reuse OpenGLContext in OGL canvas

The only thing that needs to be reimplemented is the pbuffer based
custom sprite rendering. We should use a FBO with a texture backend
for that. This will also save several OpenGL context switches!

Change-Id: I4aef33ae2499e44c8b5f41c296d8721cb94a37a1
add possibility to generate FBO with texture

The caller is responsible to delete the buffers. Depending on bRenderbuffer either with glDeleteRenderbuffers or with glDeleteTextures.

Change-Id: I5ccbd49862c381abf04e812765cced485a083f89
fix variable name

Change-Id: I1cfd6d59e5569177d8ad23245435073d30fe1374
reimplement custom sprite rendering with FBO

Change-Id: I8d7a54fac61a3072d4f34615e71e37c70dec4e50
fdo#81945 [DOCX] Round Tripped file corrupted due to nested SDTs

Original File contains two separate SDTs which are getting
nested during RT as follows:-

sdtStart [MARK] rPr [MARK] sdtEND RunSTART
          ==PREPEND==> sdtStart [MARK] sdtEND RunSTART rPr RunEND
Now Another SDT starts
sdtStart [MARK] sdtEND RunSTART rPr RunEND [MARK] sdtStart
          ==PREPEND==>  sdtStart [MARK] sdtStart sdtEND RunSTART rPr RunEND

So, in such cases wait before closing the earlier sdt, to avoid nesting. Thus the [MARK]
can be retained in the corrrect position, to start the new SDT and end the earlier SDT.

Reviewed on:
	https://gerrit.libreoffice.org/10803

Change-Id: Ia86f94c0587a5d44ab23391ea9ac38f86b5dd250
java: remove dead methods

Change-Id: I9f2e705fd603a7c8832c0f0772bee9f395380a0d
java: remove unused fields

Change-Id: I25fef9590a34ec8d9aab182b3d267ae3cd649a87
java: remove unused variables

Change-Id: I1b04fbf4d4562ff8e74f6ccdb2fd989d79cc869b
java: remove unused imports

Change-Id: Idbba5bb89bee4d88ed0306d5151e238a1bc19cec
java: code some code to use non-deprecated constructors

Change-Id: I4194a3dfd361d1955cf5bb4fab915150eecfa21a
add a comment so I don't have to figure out this classes purpose again

Change-Id: I92f3cb3e9308e2d4e369c1ce216952b0eca09b17
java: use the non-deprecated constructor of URI

Specifically, org.apache.commons.httpclient.URI

Change-Id: Ib1f888559e9401d5fabbe8ea0585a716d9bb5a59
java: remove redundant super-interfaces

Change-Id: Iaf671ef87057362c804999a5154d8e8277bbc4b8
java: use an empty block rather than an empty statement

Change-Id: I05e60964521d6ec3694483816d91359fb12c8e4b
java: remove unnecessary semi-colons

Change-Id: Ibeeefc6e6ee8f7bed97a02f569f239ff035d38c4
java: variable cannot be null

remove null check where null-analyis reveals the variable cannot be null

Change-Id: Ied0a24665514bbf68c2ed5f15af9e5c2232a8033
java: redundant assignment, variable can only be null

Change-Id: I91209c5c185cf097a1609244419d73d4757d7d18