summaryrefslogtreecommitdiffstats
path: root/src/object/sp-paint-server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-paint-server.cpp')
-rw-r--r--src/object/sp-paint-server.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/object/sp-paint-server.cpp b/src/object/sp-paint-server.cpp
index 286360efb..1ec4db841 100644
--- a/src/object/sp-paint-server.cpp
+++ b/src/object/sp-paint-server.cpp
@@ -38,9 +38,7 @@ SPPaintServer::~SPPaintServer() = default;
bool SPPaintServer::isSwatch() const
{
- if( this ) // Protect against assumption that "vector" always exists.
- return swatch;
- return( false );
+ return swatch;
}