[Libreoffice-commits] core.git: Branch 'aoo/trunk' - odk/examples

Ariel Constenla-Haile arielch at apache.org
Wed Jun 5 21:07:11 PDT 2013


 odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 07c6343beaea37e8e6254e0f988e19f1eccf38ce
Author: Ariel Constenla-Haile <arielch at apache.org>
Date:   Thu Jun 6 03:23:59 2013 +0000

    Fix breaker when compiled with DEBUG=yes

diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx
index b887ba7..d55d387 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx
@@ -167,7 +167,7 @@ sal_Bool XFlatXml::importer(
     catch( Exception &exc)
     {
         // something went wrong
-        OSL_ENSURE(0, exc.Message);
+        OSL_ENSURE(0, rtl::OUStringToOString(exc.Message,RTL_TEXTENCODING_UTF8).getStr());
         return sal_False;
     }
 


More information about the Libreoffice-commits mailing list