summaryrefslogtreecommitdiffstats
path: root/kcron
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2018-08-08 08:52:13 +0200
committergregory guy <g-gregory@gmx.fr>2018-08-08 08:52:13 +0200
commitace129edbd67e379778e75bebf9ae2375e36f203 (patch)
tree57ac6121765083590ff714a16ba0b3f0f7bfda2b /kcron
parent5da22d48c7f006775a306a38534a4bf07307154a (diff)
downloadtdeadmin-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.cpp11
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) {