Rename IsFallbackEncoding() to IsUsingFallbackEncoding()

This commit is contained in:
Pavel Tyunin
2020-10-05 15:21:35 +03:00
parent 45adce8561
commit 4832565e10
3 changed files with 3 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ public:
wxFontEncoding GetEncoding() const;
// Return true if the fall-back encoding is used
bool IsFallbackEncoding() const
bool IsUsingFallbackEncoding() const
{
return m_ownsConv && m_bomType == wxBOM_None;
}

View File

@@ -160,7 +160,7 @@ public:
@since 3.1.5
*/
bool IsFallbackEncoding() const;
bool IsUsingFallbackEncoding() const;
/**
Return a pointer to the characters that makes up this BOM.

View File

@@ -69,7 +69,7 @@ private:
{
CPPUNIT_ASSERT( conv.GetBOM() == m_bom );
CPPUNIT_ASSERT( conv.GetEncoding() == m_enc );
CPPUNIT_ASSERT( conv.IsFallbackEncoding() == m_fallback );
CPPUNIT_ASSERT( conv.IsUsingFallbackEncoding() == m_fallback );
CPPUNIT_ASSERT( conv.IsUTF8() == (m_enc == wxFONTENCODING_UTF8) );
}