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 51c36f2803
commit 6e2240166f
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
wxString AssDialogue::GetStrippedText() {
wxString AssDialogue::GetStrippedText() const {
wxString justtext = wxString(_T(""));
bool inCode = false;

View File

@ -177,7 +177,7 @@ public:
void ConvertTagsToSRT(); // Converts tags to SRT format
void StripTags(); // Strips all tags 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 UpdateText(); // Generates text from the override tags