From e4a2236693452eb1199f47ce25064ee28dc09920 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Tue, 20 Nov 2001 20:34:56 +0000 Subject: [PATCH] added (another) missing const git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/tex2rtf/src/tex2any.cpp | 2 +- utils/tex2rtf/src/tex2any.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/tex2rtf/src/tex2any.cpp b/utils/tex2rtf/src/tex2any.cpp index 3add6ea1b9..b86f28a724 100644 --- a/utils/tex2rtf/src/tex2any.cpp +++ b/utils/tex2rtf/src/tex2any.cpp @@ -243,7 +243,7 @@ CustomMacro::~CustomMacro() delete [] macroBody; } -void TexOutput(char *s, bool ordinaryText) +void TexOutput(const char *s, bool ordinaryText) { int len = strlen(s); diff --git a/utils/tex2rtf/src/tex2any.h b/utils/tex2rtf/src/tex2any.h index 259b1d5882..0fc16cd94e 100644 --- a/utils/tex2rtf/src/tex2any.h +++ b/utils/tex2rtf/src/tex2any.h @@ -159,7 +159,7 @@ extern FILE *CurrentOutput2; void AddMacroDef(int the_id, const char *name, int n, bool ignore = FALSE, bool forbidden = FALSE); void TexInitialize(int bufSize); void TexCleanUp(void); -void TexOutput(char *s, bool ordinaryText = FALSE); +void TexOutput(const char *s, bool ordinaryText = FALSE); char *GetArgData(TexChunk *chunk); char *GetArgData(void); // Get the string for the current argument int GetNoArgs(void); // Get the number of arguments for the current macro -- 2.47.2