Replace incorrect uses of raw_convert with a new locale_convert.
[dcpomatic.git] / src / lib / content.cc
index 9c7e790402c157aa7ffec1ad20a7b1e79e30948d..536036ff7e2f047c0b46ad4cc5f309b18725c00d 100644 (file)
 #include "content_factory.h"
 #include "exceptions.h"
 #include "film.h"
+#include "locale_convert.h"
 #include "job.h"
 #include "compose.hpp"
-#include "raw_convert.h"
+#include <dcp/raw_convert.h>
 #include <libcxml/cxml.h>
 #include <libxml++/libxml++.h>
 #include <boost/thread/mutex.hpp>
@@ -44,6 +45,7 @@ using std::vector;
 using std::max;
 using std::pair;
 using boost::shared_ptr;
+using dcp::raw_convert;
 
 int const ContentProperty::PATH = 400;
 int const ContentProperty::POSITION = 401;
@@ -364,7 +366,7 @@ Content::add_properties (list<UserProperty>& p) const
                                UserProperty (
                                        UserProperty::VIDEO,
                                        _("Frame rate"),
-                                       raw_convert<string> (_video_frame_rate.get(), 5),
+                                       locale_convert<string> (_video_frame_rate.get(), 5),
                                        _("frames per second")
                                        )
                                );
@@ -373,7 +375,7 @@ Content::add_properties (list<UserProperty>& p) const
                                UserProperty (
                                        UserProperty::GENERAL,
                                        _("Prepared for video frame rate"),
-                                       raw_convert<string> (_video_frame_rate.get(), 5),
+                                       locale_convert<string> (_video_frame_rate.get(), 5),
                                        _("frames per second")
                                        )
                                );