diff options
author | gregory guy <g-gregory@gmx.fr> | 2018-08-08 08:52:13 +0200 |
---|---|---|
committer | gregory guy <g-gregory@gmx.fr> | 2018-08-08 08:52:13 +0200 |
commit | ace129edbd67e379778e75bebf9ae2375e36f203 (patch) | |
tree | 57ac6121765083590ff714a16ba0b3f0f7bfda2b /kcron | |
parent | 5da22d48c7f006775a306a38534a4bf07307154a (diff) | |
download | tdeadmin-ace129edbd67e379778e75bebf9ae2375e36f203.tar.gz tdeadmin-ace129edbd67e379778e75bebf9ae2375e36f203.zip |
remove strstream in ktview.cpp, strstream has been deprecated since C++98
Diffstat (limited to 'kcron')
-rw-r--r-- | kcron/ktview.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/kcron/ktview.cpp b/kcron/ktview.cpp index 2cab70b..beab6a1 100644 --- a/kcron/ktview.cpp +++ b/kcron/ktview.cpp @@ -16,12 +16,7 @@ #include <config.h> -#ifdef HAVE_SSTREAM #include <sstream> -#else -#include <strstream.h> -#endif - #include <string> #include <tqstring.h> @@ -291,13 +286,7 @@ void KTView :: pageHeading (KTListItem* user, KTPrint &printer) const void KTView :: pageFooter (KTListItem* user, KTPrint &printer) const { -#ifdef HAVE_SSTREAM ostringstream oss; -#else - char buffer[4096]; - ostrstream oss(buffer, sizeof(buffer)); -#endif - oss<<*(user->getCTCron())<<ends; if (oss) { |