------------------------------------------------------------------------------
| 1901 | |
| 1902 | //------------------------------------------------------------------------------ |
| 1903 | void vtkAlgorithm::SetProgressText(const char* ptext) |
| 1904 | { |
| 1905 | if (!this->ProgressText && !ptext) |
| 1906 | { |
| 1907 | return; |
| 1908 | } |
| 1909 | if (this->ProgressText && ptext && (strcmp(this->ProgressText, ptext)) == 0) |
| 1910 | { |
| 1911 | return; |
| 1912 | } |
| 1913 | delete[] this->ProgressText; |
| 1914 | this->ProgressText = vtksys::SystemTools::DuplicateString(ptext); |
| 1915 | } |
| 1916 | |
| 1917 | // This is here to shut off warnings about deprecated functions |
| 1918 | // calling deprecated functions. |
no outgoing calls
no test coverage detected