summaryrefslogtreecommitdiff
path: root/src/lib/subtitle_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-08-23 23:36:06 +0100
committerCarl Hetherington <cth@carlh.net>2014-08-23 23:36:06 +0100
commitc2ad65492410eb40de5fea037a39c7a1a0693a43 (patch)
tree6c6a9071cc42fda0524dde2aec7d17b8dc529f39 /src/lib/subtitle_content.cc
parent8c7a308c03e4b4196b4e2379a26d432b100ae2b1 (diff)
Fix some errant stringstreams.
Diffstat (limited to 'src/lib/subtitle_content.cc')
-rw-r--r--src/lib/subtitle_content.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/subtitle_content.cc b/src/lib/subtitle_content.cc
index 3415ae613..24b4694e8 100644
--- a/src/lib/subtitle_content.cc
+++ b/src/lib/subtitle_content.cc
@@ -22,11 +22,11 @@
#include "subtitle_content.h"
#include "util.h"
#include "exceptions.h"
+#include "safe_stringstream.h"
#include "i18n.h"
using std::string;
-using std::stringstream;
using std::vector;
using std::cout;
using boost::shared_ptr;
@@ -160,7 +160,7 @@ SubtitleContent::set_subtitle_scale (double s)
string
SubtitleContent::identifier () const
{
- stringstream s;
+ SafeStringStream s;
s << Content::identifier()
<< "_" << raw_convert<string> (subtitle_scale())
<< "_" << raw_convert<string> (subtitle_x_offset())