diff --git a/Applications/DataExplorer/VtkVis/VtkRaster.cpp b/Applications/DataExplorer/VtkVis/VtkRaster.cpp
index db80c188292ca0a16f1155a8400eb933dc8a2056..188af8f2139697da867d8b9f4a30f3d73f2ad4e2 100644
--- a/Applications/DataExplorer/VtkVis/VtkRaster.cpp
+++ b/Applications/DataExplorer/VtkVis/VtkRaster.cpp
@@ -388,13 +388,3 @@ bool VtkRaster::readWorldFile(std::string const& filename,
     image->SetDataOrigin(x0, vtk_y0, 0);
     return true;
 }
-
-void VtkRaster::uint32toRGBA(const unsigned int s, int* p)
-{
-    p[3]   = s / (256 * 256 * 256);
-    int r  = s % (256 * 256 * 256);
-    p[2]   = r / (256 * 256);
-    r     %= (256 * 256);
-    p[1]   = r / 256;
-    p[0]   = r % 256;
-}
diff --git a/Applications/DataExplorer/VtkVis/VtkRaster.h b/Applications/DataExplorer/VtkVis/VtkRaster.h
index a8e70c8d4f3c8de1adcc81f79f948a1eb49eb4e1..65e87013562a66edc91909e1daed9a193f372b7d 100644
--- a/Applications/DataExplorer/VtkVis/VtkRaster.h
+++ b/Applications/DataExplorer/VtkVis/VtkRaster.h
@@ -72,7 +72,4 @@ private:
      * BMP/JPG/PNG-file and create a RasterHeader for the image.
      */
     static bool readWorldFile(std::string const& filename, vtkImageReader2* image);
-
-    /// Converts an uint32-number into a quadruple representing RGBA-colours for a pixel.
-    static void uint32toRGBA(const unsigned int s, int* p);
 };