]> git.lyx.org Git - lyx.git/blobdiff - src/support/docstring.cpp
Cmake build: Omit also hidden header files from globbing
[lyx.git] / src / support / docstring.cpp
index 5a4ddccd3605d4175f9426093abda475eefb75a4..f44259d349335623789c34d891bd4d6a72aa3f36 100644 (file)
@@ -69,14 +69,6 @@ string const to_ascii(docstring const & ucs4)
 }
 
 
-IconvProcessor & utf8ToUcs4()
-{
-       static IconvProcessor iconv(ucs4_codeset, "UTF-8");
-       return iconv;
-}
-
-
-
 void utf8_to_ucs4(string const & utf8, docstring & ucs4)
 {
        size_t n = utf8.size();
@@ -771,7 +763,6 @@ private:
                // [+-]? [0-9]* .? [0-9]* ([eE] [+-]? [0-9]+)?
                string s;
                s.reserve(64);
-               char c;
                numpunct_facet p;
                char const dot = p.decimal_point();
                char const sep = p.thousands_sep();