[gnote] Remove boost::format from xsltargumentlist.cpp



commit f355a3a54c2a1bb5014dd51f1021e25d42ca6f6e
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Mon Jan 9 23:02:41 2017 +0200

    Remove boost::format from xsltargumentlist.cpp

 src/sharp/xsltargumentlist.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/sharp/xsltargumentlist.cpp b/src/sharp/xsltargumentlist.cpp
index 4fa3ba4..d7611b1 100644
--- a/src/sharp/xsltargumentlist.cpp
+++ b/src/sharp/xsltargumentlist.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2012 Aurimas Cernius
+ * Copyright (C) 2012,2017 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -26,7 +26,7 @@
 
 #include <stdlib.h>
 
-#include <boost/format.hpp>
+#include <glibmm/ustring.h>
 
 #include "sharp/map.hpp"
 #include "sharp/xsltargumentlist.hpp"
@@ -35,7 +35,7 @@ namespace sharp {
 
 void XsltArgumentList::add_param(const char* name, const char * /*uri*/, const std::string & value)
 {
-  std::string pv = str(boost::format("\"%1%\"") % value);
+  Glib::ustring pv = Glib::ustring::compose("\"%1\"", value);
   m_args.push_back(std::make_pair(name, pv));
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]