summaryrefslogtreecommitdiff
path: root/hwpfilter/source/mzstring.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/mzstring.cxx')
-rw-r--r--hwpfilter/source/mzstring.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/hwpfilter/source/mzstring.cxx b/hwpfilter/source/mzstring.cxx
index b99b9d0044ee..e5db9967f827 100644
--- a/hwpfilter/source/mzstring.cxx
+++ b/hwpfilter/source/mzstring.cxx
@@ -89,7 +89,7 @@ void MzString::append(const char *s, int slen)
return;
int new_len = Length + slen;
- if (resize(new_len))
+ if (allocate(new_len))
{
memcpy(Data + Length, s, slen);
Length = new_len;
@@ -259,9 +259,4 @@ bool MzString::allocate(int len)
}
-bool MzString::resize(int len)
-{
- return allocate(len);
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */