[Libreoffice-commits] .: vcl/unx

Lubos Lunak llunak at kemper.freedesktop.org
Mon Apr 18 10:17:30 PDT 2011


 vcl/unx/source/gdi/gcach_xpeer.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bf369e24ed193a92a45d11e19790466e8418c7ea
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Mon Apr 18 19:17:13 2011 +0200

    needless reinterpret_cast changed to static_cast

diff --git a/vcl/unx/source/gdi/gcach_xpeer.hxx b/vcl/unx/source/gdi/gcach_xpeer.hxx
index 7795162..30aa1d8 100644
--- a/vcl/unx/source/gdi/gcach_xpeer.hxx
+++ b/vcl/unx/source/gdi/gcach_xpeer.hxx
@@ -87,7 +87,7 @@ public:
     X11GlyphCache( X11GlyphPeer& );
     X11GlyphPeer& GetPeer()
     {
-        return reinterpret_cast<X11GlyphPeer&>(mrPeer);
+        return static_cast<X11GlyphPeer&>(mrPeer);
     }
     static X11GlyphCache& GetInstance();
     static void  KillInstance();


More information about the Libreoffice-commits mailing list