[gnote] Replace std::string by Glib::ustring in export to GTG



commit 9075f81538ce18f8824d72b217db58b467b4f724
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Feb 4 15:44:46 2017 +0200

    Replace std::string by Glib::ustring in export to GTG

 src/addins/exporttogtg/exporttogtgnoteaddin.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/addins/exporttogtg/exporttogtgnoteaddin.cpp b/src/addins/exporttogtg/exporttogtgnoteaddin.cpp
index d6a8662..e6a98e1 100644
--- a/src/addins/exporttogtg/exporttogtgnoteaddin.cpp
+++ b/src/addins/exporttogtg/exporttogtgnoteaddin.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2013-2014,2016 Aurimas Cernius
+ * Copyright (C) 2013-2014,2016-2017 Aurimas Cernius
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -107,8 +107,8 @@ void ExportToGTGNoteAddin::export_button_clicked(const Glib::VariantBase&)
     }
 
     gnote::Note::Ptr note(get_note());
-    std::string title = note->get_title();
-    std::string body = sharp::string_trim(sharp::string_replace_first(note->text_content(), title, ""));
+    Glib::ustring title = note->get_title();
+    Glib::ustring body = sharp::string_trim(sharp::string_replace_first(note->text_content(), title, ""));
 
     std::vector<Glib::VariantBase> parameters;
     parameters.reserve(2);


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