diff libgui/src/m-editor/file-editor.cc @ 19944:3fa35defe495

Adjust spacing of static_cast<> calls to follow Octave coding conventions. * __init_qt__.cc, file-editor.cc, main-window.cc, bsxfun.cc, data.cc, filter.cc, gammainc.cc, ls-hdf5.cc, mex.cc, oct-stream.cc, lo-mappers.cc, lo-specfun.cc, data-conv.cc, lo-regexp.cc, oct-inttypes.h: Adjust spacing of static_cast<> calls to follow Octave coding conventions.
author Rik <rik@octave.org>
date Tue, 17 Feb 2015 13:34:32 -0800
parents 21015ca26566
children 415864f5b85f
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.cc
+++ b/libgui/src/m-editor/file-editor.cc
@@ -937,7 +937,7 @@
 file_editor::request_close_file (bool)
 {
   file_editor_tab *editor_tab =
-      static_cast <file_editor_tab *> (_tab_widget->currentWidget ());
+      static_cast<file_editor_tab *> (_tab_widget->currentWidget ());
   editor_tab->conditional_close ();
 }
 
@@ -949,7 +949,7 @@
   // loop over all tabs starting from last one otherwise deletion changes index
   for (int index = _tab_widget->count ()-1; index >= 0; index--)
     {
-      editor_tab = static_cast <file_editor_tab *> (_tab_widget->widget (index));
+      editor_tab = static_cast<file_editor_tab *> (_tab_widget->widget (index));
       editor_tab->conditional_close ();
     }
 }
@@ -966,7 +966,7 @@
       if (tabID != _tab_widget->widget (index))
         {
           editor_tab =
-              static_cast <file_editor_tab *> (_tab_widget->widget (index));
+              static_cast<file_editor_tab *> (_tab_widget->widget (index));
           editor_tab->conditional_close ();
         }
     }
@@ -977,7 +977,7 @@
 file_editor::handle_tab_close_request (int index)
 {
   file_editor_tab *editor_tab =
-       static_cast <file_editor_tab *> (_tab_widget->widget (index));
+       static_cast<file_editor_tab *> (_tab_widget->widget (index));
   editor_tab->conditional_close ();
 }