summaryrefslogtreecommitdiff
path: root/hwpfilter/source/mzstring.h
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-06-04 09:02:42 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-06-04 09:02:42 +0000
commitd1af3a5fc102f9bb3464541d83ef0fa4bb2ce2a1 (patch)
treea726a21ba243271e82a98762e3817bee42a20386 /hwpfilter/source/mzstring.h
parent2ec4fd903a90f02fabd273071ff625c46db9ab94 (diff)
INTEGRATION: CWS sw30bf04 (1.4.2); FILE MERGED
2008/04/16 14:07:55 ama 1.4.2.1: Patch #i86356#: Remove unused methods
Diffstat (limited to 'hwpfilter/source/mzstring.h')
-rw-r--r--hwpfilter/source/mzstring.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/hwpfilter/source/mzstring.h b/hwpfilter/source/mzstring.h
index b6b884da4afd..729cd21a6877 100644
--- a/hwpfilter/source/mzstring.h
+++ b/hwpfilter/source/mzstring.h
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: mzstring.h,v $
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
* This file is part of OpenOffice.org.
*
@@ -97,15 +97,10 @@ class MzString
{
public:
MzString(); // Create an empty string
- MzString(int init); // initial allocated length
- MzString(const char *s); // from null terminated s
- MzString(const char *s, int len); // from s with length len
- MzString(MzString const *s); // Copy constructor
// if len = 0, len becomes s.length)
MzString(MzString const &s, int len = 0);
~MzString();
- bool empty(void) const;
int length() const;
const char* c_str() const;
operator char*() { return (char *)c_str(); }
@@ -161,10 +156,6 @@ class MzString
void append (MzString const &s);
void append (const char *s);
void append (const char *s, int n);
- void append (const char ch);
-
-/** Ʈ ڸ . */
- MzString &chop(int n = 1);
private:
int Length; // Current Length
@@ -174,18 +165,8 @@ class MzString
// Allocate some space for the data.
// Delete Data if it has been allocated.
bool allocate(int len);
- void copy(const char *s, int len);
};
-//
-// Inline methods.
-//
-inline bool MzString::empty(void) const
-{
- return Data == 0L || Data[0] == '\0';
-}
-
-
inline int MzString::length() const
{
return Length;