diff options
| -rw-r--r-- | win32/ScintillaWin.cxx | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index bbe0a32ad..8007dc664 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -359,7 +359,7 @@ class ScintillaWin :  	void ToggleHanja();  	void AddWString(std::wstring_view wsv, CharacterSource charSource); -	UINT CodePageOfDocument() const; +	UINT CodePageOfDocument() const noexcept;  	bool ValidCodePage(int codePage) const override;  	std::string EncodeWString(std::wstring_view wsv);  	sptr_t DefWndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) override; @@ -1263,7 +1263,7 @@ UINT CodePageFromCharSet(DWORD characterSet, UINT documentCodePage) noexcept {  } -UINT ScintillaWin::CodePageOfDocument() const { +UINT ScintillaWin::CodePageOfDocument() const noexcept {  	return CodePageFromCharSet(vs.styles[STYLE_DEFAULT].characterSet, pdoc->dbcsCodePage);  } | 
