]> git.lyx.org Git - lyx.git/blobdiff - src/Bullet.C
Fix crash when running lyx -dbg insets -e ...
[lyx.git] / src / Bullet.C
index 70b842608a1b000b34117629e59475a8bb5daf22..b24403532109c30a443ea85d037d962d653dfbab 100644 (file)
@@ -1,4 +1,3 @@
-// -*- C++ -*-
 /* Completes the implementation of the Bullet class
  * It defines the various LaTeX commands etc. required to
  * generate the bullets in the bullet-panel's.
@@ -62,7 +61,7 @@ string const & Bullet::getText() const
 }
 
 
-bool operator == (const Bullet & b1, const Bullet & b2)
+bool operator==(const Bullet & b1, const Bullet & b2)
 {
        bool result = false;
 
@@ -109,7 +108,7 @@ void Bullet::generateText() const
 }
 
 
-string Bullet::bulletSize(short int s)
+string const Bullet::bulletSize(short int s)
 {
        // use a parameter rather than hard code `size' in here
        // in case some future function may want to retrieve
@@ -125,7 +124,7 @@ string Bullet::bulletSize(short int s)
 }
 
 
-string Bullet::bulletEntry(short int f, short int c)
+string const Bullet::bulletEntry(short int f, short int c)
 {
        // Despite how this may at first appear the static local variables
        // are only initialized once..