summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-04-21 15:09:19 -0700
committerTom Sepez <tsepez@chromium.org>2015-04-21 15:09:19 -0700
commitb014ca072970973164e0b3d244fbd8863dff2738 (patch)
tree280718986aae2b6704b89a57c8f2847bb30ed396 /core/src
parentba920211c9569a38a4494398ac271a32098d81da (diff)
downloadpdfium-b014ca072970973164e0b3d244fbd8863dff2738.tar.xz
Kill CFX_StringBufTemplate.
It's unused. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1098203002
Diffstat (limited to 'core/src')
-rw-r--r--core/src/fxcrt/fx_basic_bstring.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/core/src/fxcrt/fx_basic_bstring.cpp b/core/src/fxcrt/fx_basic_bstring.cpp
index 895c8e560e..ea9ca85021 100644
--- a/core/src/fxcrt/fx_basic_bstring.cpp
+++ b/core/src/fxcrt/fx_basic_bstring.cpp
@@ -1137,28 +1137,3 @@ CFX_ByteString CFX_ByteString::FormatFloat(FX_FLOAT d, int precision)
FX_STRSIZE len = FX_ftoa(d, buf);
return CFX_ByteString(buf, len);
}
-void CFX_StringBufBase::Copy(FX_BSTR str)
-{
- m_Size = str.GetLength();
- if (m_Size > m_Limit) {
- m_Size = m_Limit;
- }
- FX_CHAR* pBuffer = (FX_CHAR*)(this + 1);
- FXSYS_memcpy32(pBuffer, str.GetPtr(), m_Size);
-}
-void CFX_StringBufBase::Append(FX_BSTR str)
-{
- int len = str.GetLength();
- if (len > m_Limit - m_Size) {
- len = m_Limit - m_Size;
- }
- FX_CHAR* pBuffer = (FX_CHAR*)(this + 1);
- FXSYS_memcpy32(pBuffer + m_Size, str.GetPtr(), len);
- m_Size += len;
-}
-void CFX_StringBufBase::Append(int i, FX_DWORD flags)
-{
- char buf[32];
- int len = _Buffer_itoa(buf, i, flags);
- Append(CFX_ByteStringC(buf, len));
-}