13
0

add locale guards for export format

This commit is contained in:
Robin Gareus 2016-05-18 17:35:52 +02:00
parent 283376db4c
commit 69d644e979

View File

@ -272,6 +272,7 @@ ExportFormatSpecification::~ExportFormatSpecification ()
XMLNode &
ExportFormatSpecification::get_state ()
{
LocaleGuard lg;
XMLNode * node;
XMLNode * root = new XMLNode ("ExportFormatSpecification");
@ -340,6 +341,7 @@ ExportFormatSpecification::set_state (const XMLNode & root)
XMLProperty const * prop;
XMLNode const * child;
string value;
LocaleGuard lg;
if ((prop = root.property ("name"))) {
_name = prop->value();