]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/ButtonPolicies.C
John's FormExternal patch, Edwin's Qt2 patch and Baruch's gnome patch.
[lyx.git] / src / frontends / ButtonPolicies.C
index 23812b42c1cfc1176d1822c8612bd36935e51aba..bde5f93816bed603e4c7823877f18bcb2c5e0b90 100644 (file)
@@ -21,6 +21,7 @@
 #include "ButtonPolicies.h"
 #include "debug.h"
 
+using std::endl;
 
 /// Helper function
 static inline
@@ -38,7 +39,7 @@ void nextState(ButtonPolicy::State & state,
                       << in
                       << " from state "
                       << state
-                      << std::endl;
+                      << endl;
        }
 }
 
@@ -98,7 +99,7 @@ PreferencesPolicy::PreferencesPolicy()
 
 void PreferencesPolicy::input(SMInput input)
 {
-       lyxerr << "PreferencesPolicy::input" << endl;
+       //lyxerr << "PreferencesPolicy::input" << endl;
        // CANCEL and HIDE always take us to INITIAL for all cases.
        // Note that I didn't put that special case in the helper function
        // because it doesn't belong there.  Some other 
@@ -160,7 +161,7 @@ OkCancelPolicy::OkCancelPolicy()
 
 void OkCancelPolicy::input(SMInput input)
 {
-       lyxerr << "OkCancelPolicy::input" << endl;
+       //lyxerr << "OkCancelPolicy::input" << endl;
        
        // CANCEL and HIDE always take us to INITIAL for all cases
        if (SMI_CANCEL == input
@@ -234,7 +235,7 @@ OkCancelReadOnlyPolicy::OkCancelReadOnlyPolicy()
 
 void OkCancelReadOnlyPolicy::input(SMInput input)
 {
-       lyxerr << "OkCancelReadOnlyPolicy" << endl;
+       //lyxerr << "OkCancelReadOnlyPolicy::input" << endl;
        
        // CANCEL and HIDE always take us to INITIAL for all cases
        if (SMI_CANCEL == input
@@ -312,7 +313,7 @@ NoRepeatedApplyReadOnlyPolicy::NoRepeatedApplyReadOnlyPolicy()
 
 void NoRepeatedApplyReadOnlyPolicy::input(SMInput input)
 {
-       lyxerr << "NoReapeatedApplyReadOnlyPolicy::input" << endl;
+       //lyxerr << "NoReapeatedApplyReadOnlyPolicy::input" << endl;
        
        // CANCEL and HIDE always take us to INITIAL for all cases
        if (SMI_CANCEL == input
@@ -404,7 +405,7 @@ OkApplyCancelReadOnlyPolicy::OkApplyCancelReadOnlyPolicy()
 
 void OkApplyCancelReadOnlyPolicy::input(SMInput input)
 {
-       lyxerr << "OkApplyCancelReadOnlyPolicy::input" << endl;
+       //lyxerr << "OkApplyCancelReadOnlyPolicy::input" << endl;
        
        // CANCEL and HIDE always take us to INITIAL for all cases
        if (SMI_CANCEL == input
@@ -470,7 +471,7 @@ OkApplyCancelPolicy::OkApplyCancelPolicy()
 
 void OkApplyCancelPolicy::input(SMInput input)
 {
-       lyxerr << "OkApplyCancelPolicy::input" << endl;
+       //lyxerr << "OkApplyCancelPolicy::input" << endl;
        
        // CANCEL and HIDE always take us to INITIAL for all cases
        if (SMI_CANCEL == input
@@ -528,7 +529,7 @@ NoRepeatedApplyPolicy::NoRepeatedApplyPolicy()
 
 void NoRepeatedApplyPolicy::input(SMInput input)
 {
-       lyxerr << "NoRepeatedApplyPolicy::input" << endl;
+       //lyxerr << "NoRepeatedApplyPolicy::input" << endl;
        
        // CANCEL and HIDE always take us to INITIAL for all cases
        if (SMI_CANCEL == input