[gnote] Replace std::string by Glib::ustring in XslTransform
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Replace std::string by Glib::ustring in XslTransform
- Date: Fri, 27 Jan 2017 21:18:11 +0000 (UTC)
commit f391155af2a91671e8471bd763b374a0422db40d
Author: Aurimas Černius <aurisc4 gmail com>
Date: Fri Jan 27 23:13:14 2017 +0200
Replace std::string by Glib::ustring in XslTransform
src/sharp/xsltransform.cpp | 4 ++--
src/sharp/xsltransform.hpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/sharp/xsltransform.cpp b/src/sharp/xsltransform.cpp
index 72417b3..4270d2c 100644
--- a/src/sharp/xsltransform.cpp
+++ b/src/sharp/xsltransform.cpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2012-2013 Aurimas Cernius
+ * Copyright (C) 2012-2013,2017 Aurimas Cernius
* Copyright (C) 2009 Hubert Figuiere
*
* Permission is hereby granted, free of charge, to any person obtaining a
@@ -50,7 +50,7 @@ XslTransform::~XslTransform()
}
-void XslTransform::load(const std::string & sheet)
+void XslTransform::load(const Glib::ustring & sheet)
{
if(m_stylesheet) {
xsltFreeStylesheet(m_stylesheet);
diff --git a/src/sharp/xsltransform.hpp b/src/sharp/xsltransform.hpp
index 78032f4..3dcd682 100644
--- a/src/sharp/xsltransform.hpp
+++ b/src/sharp/xsltransform.hpp
@@ -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
@@ -50,7 +50,7 @@ public:
~XslTransform();
/** load the stylesheet */
- void load(const std::string &);
+ void load(const Glib::ustring &);
/** run the XLS transformation */
void transform(xmlDocPtr, const XsltArgumentList &, StreamWriter &, const XmlResolver &);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]