mirror of https://github.com/odrling/Aegisub
A bit of const correctness for AssDialogue
Originally committed to SVN as r3025.
This commit is contained in:
parent
51c36f2803
commit
6e2240166f
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue