summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hwpeq.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/hwpeq.cxx')
-rw-r--r--hwpfilter/source/hwpeq.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/hwpfilter/source/hwpeq.cxx b/hwpfilter/source/hwpeq.cxx
index 519a4457dc03..5be9ad7c2603 100644
--- a/hwpfilter/source/hwpeq.cxx
+++ b/hwpfilter/source/hwpeq.cxx
@@ -388,7 +388,7 @@ static const hwpeq eq_tbl[] = {
{ "zeta", nullptr, 0, EQ_CASE }
};
-static const hwpeq *lookup_eqn(char *str)
+static const hwpeq *lookup_eqn(char const *str)
{
static const int eqCount = SAL_N_ELEMENTS(eq_tbl);
int l = 0, r = eqCount;
@@ -459,7 +459,7 @@ struct eq_stack {
istream *strm;
eq_stack() { strm = nullptr; };
- bool state(istream *s) {
+ bool state(istream const *s) {
if( strm != s) { white = nullptr; token = nullptr; }
return token.length() != 0;
}
@@ -467,7 +467,7 @@ struct eq_stack {
static eq_stack *stk = nullptr;
-void push_token(MzString &white, MzString &token, istream *strm)
+void push_token(MzString const &white, MzString const &token, istream *strm)
{
// one time stack
assert(stk->token.length() == 0);
@@ -749,7 +749,7 @@ static char eq2ltxconv(MzString& sstr, istream *strm, const char *sentinel)
return token[0];
}
-void eq2latex(MzString& outs, char *s)
+void eq2latex(MzString& outs, char const *s)
{
assert(s);
if( stk == nullptr )