summaryrefslogtreecommitdiffstats
path: root/kgamma/kcmkgamma
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-08-15 15:18:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-08-15 15:18:28 +0900
commitd9b6e0bda45134852c38f60f25a5109923f8cd53 (patch)
treec3f28d048755ff8af5038717e4f6fe0474f74d66 /kgamma/kcmkgamma
parentb6cbb4874b8b5efd8e086b4ca7089f58c002103c (diff)
downloadtdegraphics-d9b6e0bda45134852c38f60f25a5109923f8cd53.tar.gz
tdegraphics-d9b6e0bda45134852c38f60f25a5109923f8cd53.zip
Removed old strstream code and switch to sstream permanently.
Inspired by similar work on tdeadmin. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kgamma/kcmkgamma')
-rw-r--r--kgamma/kcmkgamma/CMakeLists.txt4
-rw-r--r--kgamma/kcmkgamma/xvidextwrap.cpp7
2 files changed, 1 insertions, 10 deletions
diff --git a/kgamma/kcmkgamma/CMakeLists.txt b/kgamma/kcmkgamma/CMakeLists.txt
index 2f75f1dd..ade17bf5 100644
--- a/kgamma/kcmkgamma/CMakeLists.txt
+++ b/kgamma/kcmkgamma/CMakeLists.txt
@@ -30,10 +30,6 @@ install( FILES kgamma.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
#### kcmkgamma (module) #########################
-if( HAVE_SSTREAM )
- set_source_files_properties( xvidextwrap.cpp PROPERTIES COMPILE_FLAGS "-DHAVE_SSTREAM" )
-endif( )
-
tde_add_kpart( kcm_kgamma AUTOMOC
SOURCES
xf86configpath.cpp xvidextwrap.cpp
diff --git a/kgamma/kcmkgamma/xvidextwrap.cpp b/kgamma/kcmkgamma/xvidextwrap.cpp
index f7bf532b..9cbbf250 100644
--- a/kgamma/kcmkgamma/xvidextwrap.cpp
+++ b/kgamma/kcmkgamma/xvidextwrap.cpp
@@ -28,15 +28,10 @@
#include <vector>
#include <string>
+#include <sstream>
#include <config.h>
-#ifdef HAVE_SSTREAM
-#include <sstream>
-#else
-#include <strstream.h>
-#define istringstream istrstream
-#endif
#include <kdebug.h>