diff --git a/aegisub/src/ass_dialogue.cpp b/aegisub/src/ass_dialogue.cpp index ff504bd17..3a5e57efe 100644 --- a/aegisub/src/ass_dialogue.cpp +++ b/aegisub/src/ass_dialogue.cpp @@ -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; diff --git a/aegisub/src/ass_dialogue.h b/aegisub/src/ass_dialogue.h index 805abcb35..f43feb7db 100644 --- a/aegisub/src/ass_dialogue.h +++ b/aegisub/src/ass_dialogue.h @@ -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