]> git.lyx.org Git - lyx.git/blobdiff - src/Bullet.C
citation patch from Angus
[lyx.git] / src / Bullet.C
index be6db83efeb91164670b5f12a0f09c2741231a20..70b842608a1b000b34117629e59475a8bb5daf22 100644 (file)
@@ -8,7 +8,7 @@
  *
  *           LyX, The Document Processor
  *
- *           Copyright (C) 1997-1998 Allan Rae
+ *           Copyright 1997-1998 Allan Rae
  *           and the LyX Team
  *
  * ====================================================== */
@@ -34,7 +34,7 @@ Bullet const ITEMIZE_DEFAULTS[4] = { Bullet( 0, 8 ),//"\\(\\bullet\\)"
 // and wasysym when that panel is created
 
 
-Bullet::Bullet(const int f, const int c, const int s)
+Bullet::Bullet(int f, int c, int s)
   : font(f), character(c), size(s), user_text(0)
 {
        if (f < MIN || f >= FONTMAX) {
@@ -53,7 +53,7 @@ Bullet::Bullet(const int f, const int c, const int s)
 }
 
 
-string Bullet::getText()
+string const & Bullet::getText() const
 {
        if (user_text == 0) {
                generateText();
@@ -83,7 +83,7 @@ bool operator == (const Bullet & b1, const Bullet & b2)
 /*--------------------Private Member Functions-------------------*/
 
 
-void Bullet::generateText()
+void Bullet::generateText() const
 {
        // Assumption:
        // user hasn't defined their own text and/or I haven't generated