Remove unused functions
diff --git a/splash/Splash.cc b/splash/Splash.cc index aabcf93..2c2cea9 100644 --- a/splash/Splash.cc +++ b/splash/Splash.cc
@@ -1592,11 +1592,6 @@ state->setFillPattern(fillPattern); } -void Splash::setScreen(SplashScreen *screen) -{ - state->setScreen(screen); -} - void Splash::setBlendFunc(SplashBlendFunc func) { state->blendFunc = func;
diff --git a/splash/Splash.h b/splash/Splash.h index 5576a15..7f69154 100644 --- a/splash/Splash.h +++ b/splash/Splash.h
@@ -116,7 +116,6 @@ void setMatrix(const std::array<SplashCoord, 6> &matrix); void setStrokePattern(SplashPattern *strokePattern); void setFillPattern(SplashPattern *fillPattern); - void setScreen(SplashScreen *screen); void setBlendFunc(SplashBlendFunc func); void setStrokeAlpha(SplashCoord alpha); void setFillAlpha(SplashCoord alpha);
diff --git a/splash/SplashState.cc b/splash/SplashState.cc index c63ae20..fb03c2f 100644 --- a/splash/SplashState.cc +++ b/splash/SplashState.cc
@@ -210,12 +210,6 @@ fillPattern = fillPatternA; } -void SplashState::setScreen(SplashScreen *screenA) -{ - delete screen; - screen = screenA; -} - void SplashState::setLineDash(std::vector<SplashCoord> &&lineDashA, SplashCoord lineDashPhaseA) { lineDash = lineDashA;
diff --git a/splash/SplashState.h b/splash/SplashState.h index a6e744e..4a10385 100644 --- a/splash/SplashState.h +++ b/splash/SplashState.h
@@ -74,9 +74,6 @@ // Set the fill pattern. This does not copy <fillPatternA>. void setFillPattern(SplashPattern *fillPatternA); - // Set the screen. This does not copy <screenA>. - void setScreen(SplashScreen *screenA); - // Set the line dash pattern. void setLineDash(std::vector<SplashCoord> &&lineDashA, SplashCoord lineDashPhaseA);