A bit of const correctness for AssDialogue

Originally committed to SVN as r3025.
This commit is contained in:
Niels Martin Hansen 2009-06-06 19:32:17 +00:00
parent d1fe4bc8ea
commit 9e931f341c
2 changed files with 2 additions and 2 deletions

View File

@ -771,7 +771,7 @@ bool AssDialogue::CollidesWith(AssDialogue *target) {
//////////////////////// ////////////////////////
// Return just the text without any overrides // Return just the text without any overrides
wxString AssDialogue::GetStrippedText() { wxString AssDialogue::GetStrippedText() const {
wxString justtext = wxString(_T("")); wxString justtext = wxString(_T(""));
bool inCode = false; bool inCode = false;

View File

@ -177,7 +177,7 @@ public:
void ConvertTagsToSRT(); // Converts tags to SRT format void ConvertTagsToSRT(); // Converts tags to SRT format
void StripTags(); // Strips all tags from the text void StripTags(); // Strips all tags from the text
void StripTag(wxString tagName);// Strips a specific tag from the text void StripTag(wxString tagName);// Strips a specific tag from the text
wxString GetStrippedText(); // Gets text without tags wxString GetStrippedText() const; // Gets text without tags
void UpdateData(); // Updates raw data from current values + text void UpdateData(); // Updates raw data from current values + text
void UpdateText(); // Generates text from the override tags void UpdateText(); // Generates text from the override tags