summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBryan Quigley <gquigs@gmail.com>2015-10-08 16:23:28 -0400
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-10-14 06:01:24 +0000
commitfe4412c8850bd1212dce786510dd61ddd6c43b36 (patch)
tree3c3053a12710d343db35d7f60578d134fffba9c7 /include
parent78cf4ca4405d33d3f658da0d7f209afc8e6ee4a7 (diff)
Unused code removal DrawGradientWallpaper
Doesn't appear needed on Linux and tests have shown it isn't needed on Windows or Mac either. Change-Id: Iaaba6dcc4783557a4165d635b57a256402b0b4d2 Reviewed-on: https://gerrit.libreoffice.org/19259 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/outdev.hxx3
-rw-r--r--include/vcl/window.hxx6
2 files changed, 0 insertions, 9 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index f4cbc5f06704..33908fcf395d 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -999,9 +999,6 @@ public:
virtual void Erase();
virtual void Erase( const Rectangle& rRect ) { DrawWallpaper( rRect, GetBackground() ); }
-protected:
- virtual void DrawGradientWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper );
-
private:
SAL_DLLPRIVATE void DrawWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper );
SAL_DLLPRIVATE void DrawColorWallpaper( long nX, long nY, long nWidth, long nHeight, const Wallpaper& rWallpaper );
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 308760b3b357..9e0bbbcbe92f 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -812,12 +812,6 @@ protected:
virtual void ClipToPaintRegion( Rectangle& rDstRect ) override;
virtual bool UsePolyPolygonForComplexGradient() override;
- virtual void DrawGradientWallpaper(long nX, long nY, long nWidth, long nHeight,
- const Wallpaper& rWallpaper) override
- {
- OutputDevice::DrawGradientWallpaper(nX, nY, nWidth, nHeight, rWallpaper);
- }
-
virtual void ApplySettings(vcl::RenderContext& rRenderContext);
public:
bool HasMirroredGraphics() const override;