X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_Preferences_SelectionDlg.cxx;h=087739f47522937266ae15f295097613da2cc26b;hp=1f041af2ec2236783f749fd3fff8a0e52303e45c;hb=c29c4a6a7a2656ab48e5c3565ef416901e83bb63;hpb=c3bf92bd87b770fd81631a3853f7f5bb1ac6a4e8 diff --git a/src/SMESHGUI/SMESHGUI_Preferences_SelectionDlg.cxx b/src/SMESHGUI/SMESHGUI_Preferences_SelectionDlg.cxx index 1f041af2e..087739f47 100644 --- a/src/SMESHGUI/SMESHGUI_Preferences_SelectionDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_Preferences_SelectionDlg.cxx @@ -26,7 +26,6 @@ // Module : SMESH // $Header$ -using namespace std; #include "SMESHGUI_Preferences_SelectionDlg.h" #include "SMESHGUI.h" @@ -40,6 +39,8 @@ using namespace std; #include #include +using namespace std; + //================================================================================= // class : SMESHGUI_LineEdit // purpose : @@ -303,5 +304,6 @@ void SMESHGUI_Preferences_SelectionDlg::SetPrecision(int type, double value) double SMESHGUI_Preferences_SelectionDlg::GetPrecision(int type) { if (type > 0 && type <= 2) - return myPrecision[type-1]->text().toDouble(); + return myPrecision[type-1]->text().toDouble(); + return 0; }