]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/logicalmkup.module
Two places where coverity urges us to limit string length
[lyx.git] / lib / layouts / logicalmkup.module
index 33b954d474d5bfb0a063efb1219f027f67545b40..5f75acdf6eed116ffa8c823ce91d2122d970cddd 100644 (file)
@@ -52,7 +52,7 @@ InsetLayout Flex:Strong
          Series              Bold
        EndFont
        Preamble
-       \newcommand{\strong}[1]{\textbf{#1}}
+       \providecommand*{\strong}[1]{\textbf{#1}}
        EndPreamble
        InToc                 true
        HTMLTag               strong
@@ -69,7 +69,7 @@ InsetLayout Flex:Code
          Family              Typewriter
        EndFont
        Preamble
-       \newcommand{\code}[1]{\texttt{#1}}
+       \providecommand*{\code}[1]{\texttt{#1}}
        EndPreamble
        InToc                 true
        HTMLTag               code