summaryrefslogtreecommitdiff
path: root/src/lib/raw_image_proxy.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-04-16 23:10:28 +0100
committerCarl Hetherington <cth@carlh.net>2015-04-16 23:10:28 +0100
commit769c71b5c3e050ccfc1c13771d24328fbf76a495 (patch)
treef75d5c5c953884395b2e59358e2c7faff5d5ba4b /src/lib/raw_image_proxy.cc
parent91bd51ff82e99113860570b519459303802bd98f (diff)
Add our own raw_convert that uses SafeStringStream.
Diffstat (limited to 'src/lib/raw_image_proxy.cc')
-rw-r--r--src/lib/raw_image_proxy.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/raw_image_proxy.cc b/src/lib/raw_image_proxy.cc
index 8f05f5455..e73a1543d 100644
--- a/src/lib/raw_image_proxy.cc
+++ b/src/lib/raw_image_proxy.cc
@@ -17,14 +17,14 @@
*/
+#include "raw_image_proxy.h"
+#include "image.h"
+#include "raw_convert.h"
+#include <dcp/util.h>
extern "C" {
#include <libavutil/pixfmt.h>
}
#include <libcxml/cxml.h>
-#include <dcp/util.h>
-#include <dcp/raw_convert.h>
-#include "raw_image_proxy.h"
-#include "image.h"
#include "i18n.h"
@@ -58,9 +58,9 @@ void
RawImageProxy::add_metadata (xmlpp::Node* node) const
{
node->add_child("Type")->add_child_text (N_("Raw"));
- node->add_child("Width")->add_child_text (dcp::raw_convert<string> (_image->size().width));
- node->add_child("Height")->add_child_text (dcp::raw_convert<string> (_image->size().height));
- node->add_child("PixelFormat")->add_child_text (dcp::raw_convert<string> (_image->pixel_format ()));
+ node->add_child("Width")->add_child_text (raw_convert<string> (_image->size().width));
+ node->add_child("Height")->add_child_text (raw_convert<string> (_image->size().height));
+ node->add_child("PixelFormat")->add_child_text (raw_convert<string> (_image->pixel_format ()));
}
void