diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-06-17 22:30:17 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-06-17 22:30:17 +0200 |
commit | 64be4292eb919396c2f06544b9bbaa5568dddb2a (patch) | |
tree | 32649f8c2ad93046d856361366e087b4d2845a0a /starmath | |
parent | cf0f2244fddea0d48e6f0c54909bd51dc4e9c54b (diff) |
Function can be const
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/visitors.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx index 5e8a574eab7b..f342b3dbb73a 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 ) : |