summaryrefslogtreecommitdiff
path: root/shared/globalFunctions.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:00:50 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:00:50 +0200
commit4ecfd41e36533d858c98d051ef70cab80e69e972 (patch)
treeca07d8745967d2c6a7123a5d32269cfbfaa7bd6c /shared/globalFunctions.cpp
parent2.2 (diff)
downloadFreeFileSync-4ecfd41e36533d858c98d051ef70cab80e69e972.tar.gz
FreeFileSync-4ecfd41e36533d858c98d051ef70cab80e69e972.tar.bz2
FreeFileSync-4ecfd41e36533d858c98d051ef70cab80e69e972.zip
2.3
Diffstat (limited to 'shared/globalFunctions.cpp')
-rw-r--r--shared/globalFunctions.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/shared/globalFunctions.cpp b/shared/globalFunctions.cpp
index cbdf29bb..f50a3097 100644
--- a/shared/globalFunctions.cpp
+++ b/shared/globalFunctions.cpp
@@ -5,6 +5,7 @@
#include <wx/stream.h>
#include <wx/stopwatch.h>
#include <cmath>
+#include "systemConstants.h"
wxString globalFunctions::numberToWxString(const unsigned int number)
@@ -50,7 +51,6 @@ int globalFunctions::wxStringToInt(const wxString& number)
return result;
else
return 0; //don't throw exceptions here: wxEmptyString shall be interpreted as 0
- //throw RuntimeException(wxString(_("Conversion error:")) + wxT(" wxString -> long"));
}
@@ -61,7 +61,6 @@ double globalFunctions::wxStringToDouble(const wxString& number)
return result;
else
return 0; //don't throw exceptions here: wxEmptyString shall be interpreted as 0
- //throw RuntimeException(wxString(_("Conversion error:")) + wxT(" wxString -> double"));
}
bgstack15