summaryrefslogtreecommitdiff
path: root/vcl/inc/win/winlayout.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/win/winlayout.hxx')
-rw-r--r--vcl/inc/win/winlayout.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/win/winlayout.hxx b/vcl/inc/win/winlayout.hxx
index 042e30e9f299..279c155b0a97 100644
--- a/vcl/inc/win/winlayout.hxx
+++ b/vcl/inc/win/winlayout.hxx
@@ -127,7 +127,7 @@ public:
void PutDrawElementInCache(const OpenGLGlyphDrawElement& rElement, int nGlyphIndex)
{
assert(!IsGlyphCached(nGlyphIndex));
- maOpenGLTextureCache[nGlyphIndex] = OpenGLGlyphDrawElement(rElement);
+ maOpenGLTextureCache[nGlyphIndex] = rElement;
}
OpenGLGlyphDrawElement& GetDrawElement(int nGlyphIndex)