]> git.lyx.org Git - lyx.git/blobdiff - src/support/lstrings.C
in addition to the changes mentioned in ChangeLog, there is the usual batch of whites...
[lyx.git] / src / support / lstrings.C
index b5428c06f222273b83bd298cea6f6366391c7e53..071e0dce00778e092139177ecb9977b2142c778e 100644 (file)
@@ -60,6 +60,7 @@ string tostr(long i)
        return string(str);
 }
 
+
 string tostr(unsigned long i)
 {
        char str[30];
@@ -67,6 +68,7 @@ string tostr(unsigned long i)
        return string(str);
 }
 
+
 string tostr(void * v)
 {
        return tostr(long(v));
@@ -78,21 +80,25 @@ string tostr(int i)
        return tostr(long(i));
 }
 
+
 string tostr(unsigned int ui)
 {
        return tostr(long(ui));
 }
 
+
 string tostr(char c)
 {
        return string(1, c);
 }
 
+
 string tostr(bool b)
 {
        return b ? "true" : "false";
 }
 
+
 #if 0
 string tostr(float f)
 {
@@ -100,6 +106,7 @@ string tostr(float f)
 }
 #endif
 
+
 string tostr(double d)
 {
        char tmp[40];
@@ -241,7 +248,7 @@ string subst(string const & a, char oldchar, char newchar)
 
 
 string subst(string const & a,
-             char const * oldstr, string const & newstr)
+            char const * oldstr, string const & newstr)
 {
        string lstr(a);
        string::size_type i = 0;