[Libreoffice-commits] .: vcl/inc vcl/source

Muthu Subramanian sumuthu at kemper.freedesktop.org
Tue Jan 24 23:46:45 PST 2012


 vcl/inc/vcl/outdev.hxx    |    2 +-
 vcl/source/gdi/outdev.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4d451439a5ae4b4f07a38c3712b974aa550625b7
Author: Muthu Subramanian <sumuthu at suse.com>
Date:   Wed Jan 25 13:32:49 2012 +0530

    Marking ImplDrawModeToColor as const.
    
    Missed it while reviewing commit:
    f9c09fbbb32f3808e2ef2eaa7148e10a130ccd20

diff --git a/vcl/inc/vcl/outdev.hxx b/vcl/inc/vcl/outdev.hxx
index f14943b..63458cb 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 76b09d0..0d73827 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();


More information about the Libreoffice-commits mailing list