diff options
author | Graham Linden <graham@lindenlab.com> | 2019-08-12 14:39:24 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-08-12 14:39:24 -0700 |
commit | 6fbb35b712d25843d9fe10945a232749a89601c5 (patch) | |
tree | 590214e711014823df3148a82232e30c9b46506d /indra/llrender/lluiimage.inl | |
parent | 5937a4222473131d0cec4238fc234646e9aba91e (diff) |
Fix line-endings on new inline file.
Diffstat (limited to 'indra/llrender/lluiimage.inl')
-rw-r--r-- | indra/llrender/lluiimage.inl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/indra/llrender/lluiimage.inl b/indra/llrender/lluiimage.inl index 3b23d77d62..f5227556f0 100644 --- a/indra/llrender/lluiimage.inl +++ b/indra/llrender/lluiimage.inl @@ -64,14 +64,14 @@ void LLUIImage::drawBorder(S32 x, S32 y, S32 width, S32 height, const LLColor4& } // returns dimensions of underlying textures, which might not be equal to ui image portion -S32 LLUIImage::getTextureWidth() const
-{
- mCachedW = (mCachedW == -1) ? getWidth() : mCachedW;
- return mCachedW;
-}
-
-S32 LLUIImage::getTextureHeight() const
-{
- mCachedH = (mCachedH == -1) ? getHeight() : mCachedH;
- return mCachedH;
-}
+S32 LLUIImage::getTextureWidth() const +{ + mCachedW = (mCachedW == -1) ? getWidth() : mCachedW; + return mCachedW; +} + +S32 LLUIImage::getTextureHeight() const +{ + mCachedH = (mCachedH == -1) ? getHeight() : mCachedH; + return mCachedH; +} |