[Libreoffice-commits] .: starmath/source

Julien Nabet serval2412 at kemper.freedesktop.org
Fri Jun 17 13:30:29 PDT 2011


 starmath/source/visitors.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 87ae7d484268a106c314bc5c374cdd12c42187c0
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Fri Jun 17 22:30:17 2011 +0200

    Function can be const

diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx
index 5e8a574..f342b3d 100644
--- a/starmath/source/visitors.cxx
+++ b/starmath/source/visitors.cxx
@@ -486,7 +486,7 @@ public:
     void SetFillColor( const Color& rColor )    { rOutDev.SetFillColor( Impl_GetColor( rColor ) ); }
     void SetTextColor( const Color& rColor )    { rOutDev.SetTextColor( Impl_GetColor( rColor ) ); }
 
-    operator OutputDevice & ( ) { return rOutDev; }
+    operator OutputDevice & ( ) const { return rOutDev; }
 };
 
 SmTmpDevice2::SmTmpDevice2( OutputDevice &rTheDev, bool bUseMap100th_mm ) :


More information about the Libreoffice-commits mailing list