diff options
author | gregory guy <g-gregory@gmx.fr> | 2018-08-08 08:52:13 +0200 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-08-15 00:38:36 +0900 |
commit | 96b37ce1bade4876fff870b9c4c57052e8ba550b (patch) | |
tree | a4252d31613c682dce1665d417eb9e925453473a | |
parent | 6287051d2bfffc382790a2c3c251befcce5e5d8e (diff) | |
download | tdeadmin-96b37ce1bade4876fff870b9c4c57052e8ba550b.tar.gz tdeadmin-96b37ce1bade4876fff870b9c4c57052e8ba550b.zip |
remove strstream in ktview.cpp, strstream has been deprecated since C++98
(cherry picked from commit ace129edbd67e379778e75bebf9ae2375e36f203)
-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) { |