From 6714f692bdfc86212fd026f087771b23df4c1738 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 1 May 2013 20:36:30 +1000 Subject: Replacing raw pointers and allocations with std::vector and std::string. --- src/Document.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Document.h') diff --git a/src/Document.h b/src/Document.h index cb2f00d7a..b14375acc 100644 --- a/src/Document.h +++ b/src/Document.h @@ -316,6 +316,7 @@ public: int FindColumn(int line, int column); void Indent(bool forwards, int lineBottom, int lineTop); static char *TransformLineEnds(int *pLenOut, const char *s, size_t len, int eolModeWanted); + static std::string TransformLineEnds(const char *s, size_t len, int eolModeWanted); void ConvertLineEnds(int eolModeSet); void SetReadOnly(bool set) { cb.SetReadOnly(set); } bool IsReadOnly() { return cb.IsReadOnly(); } -- cgit v1.2.3