]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inset.C
change to use ostreams instead of string when writing files. fiddling with insettext...
[lyx.git] / src / insets / inset.C
index 02b733c9a76b7461824fde8fa946a2175eeaf508..a8dce4e1b83fd59aa38e0babd3b87896483c255c 100644 (file)
@@ -110,12 +110,11 @@ void UpdatableInset::ToggleInsetCursor(BufferView *)
 
 void UpdatableInset::Edit(BufferView * bv, int, int, unsigned int)
 {
-    LyXFont
-       font;
+    LyXFont font;
 
     scx = 0;
 
-    mx_scx=abs((width(bv->getPainter(), font) - bv->paperWidth())/2);
+    mx_scx=abs((width(bv->getPainter(), font) - bv->paperWidth()) / 2);
 }
 
 
@@ -132,6 +131,7 @@ void UpdatableInset::SetFont(BufferView *, LyXFont const &, bool )
 {
 }
 
+
 ///  An updatable inset could handle lyx editing commands
 #ifdef SCROLL_INSET
 UpdatableInset::RESULT