diff options
| author | Erik Kundiman <erik@megapahit.org> | 2024-04-25 11:06:37 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2024-04-25 11:06:37 +0800 |
| commit | f7b2c0d7d95ca8609a948a7d11b44534d8ac5249 (patch) | |
| tree | b9d80bc52d207acf50ea01b465ab26749ba40f72 /indra/newview/llpreviewtexture.cpp | |
| parent | c82295910685c54acf597277e9dac0f70eb40239 (diff) | |
| parent | fc71a9c1ed96cb1cb97124e3cceabdfa11e1cc75 (diff) | |
Merge tag '7.1.6-release'
source for viewer 7.1.6.8745209917
Diffstat (limited to 'indra/newview/llpreviewtexture.cpp')
| -rw-r--r-- | indra/newview/llpreviewtexture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpreviewtexture.cpp b/indra/newview/llpreviewtexture.cpp index 975e2bb910..ea7d4800e0 100644 --- a/indra/newview/llpreviewtexture.cpp +++ b/indra/newview/llpreviewtexture.cpp @@ -653,7 +653,7 @@ void LLPreviewTexture::adjustAspectRatio() { // No existing ratio found, create an element that will show image at original ratio populateRatioList(); // makes sure previous custom ratio is cleared - std::string ratio = boost::lexical_cast<std::string>(num)+":" + boost::lexical_cast<std::string>(denom); + std::string ratio = std::to_string(num)+":" + std::to_string(denom); mRatiosList.push_back(ratio); combo->add(ratio); combo->setCurrentByIndex(mRatiosList.size()- 1); |
