diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2012-01-25 13:32:49 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2012-01-25 13:32:49 +0530 |
commit | 4d451439a5ae4b4f07a38c3712b974aa550625b7 (patch) | |
tree | a539b5c9a9b9e5f516739c05f048430b53ef2637 | |
parent | f9c09fbbb32f3808e2ef2eaa7148e10a130ccd20 (diff) |
Marking ImplDrawModeToColor as const.
Missed it while reviewing commit:
f9c09fbbb32f3808e2ef2eaa7148e10a130ccd20
-rw-r--r-- | vcl/inc/vcl/outdev.hxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/outdev.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/vcl/outdev.hxx b/vcl/inc/vcl/outdev.hxx index f14943bb025f..63458cbddaf7 100644 --- a/vcl/inc/vcl/outdev.hxx +++ b/vcl/inc/vcl/outdev.hxx @@ -547,7 +547,7 @@ public: // tells whether this output device is RTL in an LTR UI or LTR in a RTL UI SAL_DLLPRIVATE bool ImplIsAntiparallel() const ; - SAL_DLLPRIVATE Color ImplDrawModeToColor( const Color& rColor ); + SAL_DLLPRIVATE Color ImplDrawModeToColor( const Color& rColor ) const; // #i101491# // Helper which holds the old line geometry creation and is extended to use AA when diff --git a/vcl/source/gdi/outdev.cxx b/vcl/source/gdi/outdev.cxx index 76b09d014640..0d7382706c70 100644 --- a/vcl/source/gdi/outdev.cxx +++ b/vcl/source/gdi/outdev.cxx @@ -1238,7 +1238,7 @@ void OutputDevice::SetLineColor() // ----------------------------------------------------------------------- -Color OutputDevice::ImplDrawModeToColor( const Color& rColor ) +Color OutputDevice::ImplDrawModeToColor( const Color& rColor ) const { Color aColor( rColor ); sal_uLong nDrawMode = GetDrawMode(); |