From 84b5cac8e0f148250c44fc91d7d9752dca13dbb6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 May 2015 17:16:36 +0000 Subject: - MS_UTILS_GETBITMAPFILTERSTRINGS - end of story, replaced with BmpFilterGetStrings(); - parasite mir_strncat's removed from bitmap filter creation; - CMString::AllocSysString/SetSysString removed due to complete uselessness; - CMString::Detouch - typo fixed. git-svn-id: http://svn.miranda-ng.org/main/trunk@13881 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_string.inl | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'include/m_string.inl') diff --git a/include/m_string.inl b/include/m_string.inl index 4615319416..5167a15028 100644 --- a/include/m_string.inl +++ b/include/m_string.inl @@ -1376,22 +1376,6 @@ typename CMStringT::PCXSTR CMStringT -BSTR CMStringT::AllocSysString() const -{ - return StringTraits::AllocSysString(this->GetString(), this->GetLength()); -} - -template< typename BaseType, class StringTraits > -BSTR CMStringT::SetSysString(BSTR* pbstr) const -{ - StringTraits::ReAllocSysString(this->GetString(), pbstr, this->GetLength()); - return *pbstr; -} - // Set the string to the value of environment variable 'pszVar' template< typename BaseType, class StringTraits > BOOL CMStringT::GetEnvironmentVariable(PCXSTR pszVar) @@ -1413,7 +1397,7 @@ BOOL CMStringT::GetEnvironmentVariable(PCXSTR pszVar) // Set the string to the value of environment variable 'pszVar' template< typename BaseType, class StringTraits > -typename CMStringT::PXSTR CMStringT::Detouch() const +typename CMStringT::PXSTR CMStringT::Detach() const { return StringTraits::MirCopy(CMStringT::GetString(), GetLength()); } -- cgit v1.2.3