]> git.lyx.org Git - lyx.git/blobdiff - src/BiblioInfo.cpp
char * for string literals is deprecated...
[lyx.git] / src / BiblioInfo.cpp
index 0dd050a45c53e84a0acefd518a5397b55460f5aa..76c0a87aac6330a658dfdc59e38633357b870b9b 100644 (file)
@@ -24,7 +24,7 @@
 #include "insets/InsetBibtex.h"
 #include "insets/InsetInclude.h"
 
-#include "support/assert.h"
+#include "support/lassert.h"
 #include "support/docstream.h"
 #include "support/gettext.h"
 #include "support/lstrings.h"
@@ -470,7 +470,7 @@ CitationStyle citationStyleFromString(string const & command)
        size_t const n = cmd.size() - 1;
        if (cmd != "cite" && cmd[n] == '*') {
                s.full = true;
-               cmd = cmd.substr(0,n);
+               cmd = cmd.substr(0, n);
        }
 
        char const * const * const last = citeCommands + nCiteCommands;