summaryrefslogtreecommitdiff
path: root/RealtimeSync/main_dlg.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:17 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:17 +0200
commitb654dbfa5f3e4a4d02f72023f7c5895635aa6396 (patch)
tree8c1dfe7f638c0fc7afc1d08bc2fc0fd0f8646e5e /RealtimeSync/main_dlg.cpp
parent3.17 (diff)
downloadFreeFileSync-b654dbfa5f3e4a4d02f72023f7c5895635aa6396.tar.gz
FreeFileSync-b654dbfa5f3e4a4d02f72023f7c5895635aa6396.tar.bz2
FreeFileSync-b654dbfa5f3e4a4d02f72023f7c5895635aa6396.zip
3.18
Diffstat (limited to 'RealtimeSync/main_dlg.cpp')
-rw-r--r--RealtimeSync/main_dlg.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/RealtimeSync/main_dlg.cpp b/RealtimeSync/main_dlg.cpp
index b11ff848..5a89e4cd 100644
--- a/RealtimeSync/main_dlg.cpp
+++ b/RealtimeSync/main_dlg.cpp
@@ -63,9 +63,9 @@ MainDialog::MainDialog(wxDialog* dlg, const wxString& cfgFileName)
rts::readRealOrBatchConfig(currentConfigFile, newConfig);
loadCfgSuccess = true;
}
- catch (const xmlAccess::XmlError& error)
+ catch (const xmlAccess::FfsXmlError& error)
{
- if (error.getSeverity() == xmlAccess::XmlError::WARNING)
+ if (error.getSeverity() == xmlAccess::FfsXmlError::WARNING)
wxMessageBox(error.msg(), _("Warning"), wxOK | wxICON_WARNING);
else
wxMessageBox(error.msg(), _("Error"), wxOK | wxICON_ERROR);
@@ -99,7 +99,7 @@ MainDialog::~MainDialog()
{
writeRealConfig(currentCfg, lastConfigFileName());
}
- catch (const xmlAccess::XmlError& error)
+ catch (const xmlAccess::FfsXmlError& error)
{
wxMessageBox(error.msg().c_str(), _("Error"), wxOK | wxICON_ERROR);
}
@@ -237,9 +237,9 @@ void MainDialog::loadConfig(const wxString& filename)
{
rts::readRealOrBatchConfig(filename, newConfig);
}
- catch (const xmlAccess::XmlError& error)
+ catch (const xmlAccess::FfsXmlError& error)
{
- if (error.getSeverity() == xmlAccess::XmlError::WARNING)
+ if (error.getSeverity() == xmlAccess::FfsXmlError::WARNING)
wxMessageBox(error.msg(), _("Warning"), wxOK | wxICON_WARNING);
else
{
bgstack15