[Libreoffice-commits] core.git: 3 commits - canvas/source
Stephan Bergmann
sbergman at redhat.com
Tue Mar 1 16:19:57 UTC 2016
canvas/source/directx/dx_9rm.cxx | 2 --
canvas/source/directx/dx_sprite.hxx | 3 +++
canvas/source/directx/dx_spritehelper.cxx | 1 -
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 9582fd9807854c5ed69d272ecd064d2393ff5ed3
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Mar 1 17:19:31 2016 +0100
-Werror,-Wshadow
Change-Id: I007ea13a059d8b067e4819fb61f0ea2e15c638a5
diff --git a/canvas/source/directx/dx_spritehelper.cxx b/canvas/source/directx/dx_spritehelper.cxx
index 17c0292..c5352af 100644
--- a/canvas/source/directx/dx_spritehelper.cxx
+++ b/canvas/source/directx/dx_spritehelper.cxx
@@ -123,7 +123,6 @@ namespace dxcanvas
SAL_INFO("canva.directx", "SpriteHelper::redraw(): output pos is (" <<
rPos.getX() << "," << rPos.getY() << ")" );
- const double fAlpha( getAlpha() );
const ::basegfx::B2DVector& rSize( getSizePixel() );
const ::basegfx::B2DHomMatrix& rTransform( getTransformation() );
const uno::Reference< rendering::XPolyPolygon2D >& xClip( getClip() );
commit 377bb64b543b5cae297f184edaeedab7e0d83658
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Mar 1 17:19:12 2016 +0100
-Werror,-Wnon-virtual-dtor
Change-Id: Ibeed52359852451b800e083ddc4c221dea41a294
diff --git a/canvas/source/directx/dx_sprite.hxx b/canvas/source/directx/dx_sprite.hxx
index 2c014a5..680a75f 100644
--- a/canvas/source/directx/dx_sprite.hxx
+++ b/canvas/source/directx/dx_sprite.hxx
@@ -37,6 +37,9 @@ namespace dxcanvas
restoreTextures() call failed.
*/
virtual void redraw() const = 0;
+
+ protected:
+ ~Sprite() {}
};
}
commit 6d1a9af30eefe00dd8fc190a2434bc5c19d7584d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Mar 1 17:18:53 2016 +0100
-Werror,-Wunused-macros
Change-Id: I0269ae5c13c75327648c0018007d78dbf37f1648
diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx
index 8d697e1..81cecde 100644
--- a/canvas/source/directx/dx_9rm.cxx
+++ b/canvas/source/directx/dx_9rm.cxx
@@ -46,8 +46,6 @@
#include "dx_impltools.hxx"
#include "dx_rendermodule.hxx"
-
-#define MAX_TEXTURE_SIZE (2048)
#define MIN_TEXTURE_SIZE (32)
//#define FAKE_MAX_NUMBER_TEXTURES (2)
//#define FAKE_MAX_TEXTURE_SIZE (4096)
More information about the Libreoffice-commits
mailing list