summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2015-01-09 18:40:42 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2015-01-10 07:41:56 +1100
commitb3c6f2765602290fecd1f1e291e11667b6b446b6 (patch)
treec9215011540c181bbe8b3f6e4e2970117da60825 /vcl/unx
parent49a6d0151d85ddc64857c66c97c577ebd438a392 (diff)
vcl: CairoTextRender::nTextColor_ to mnTextColor
Change-Id: Ia53dc393e4284989f6e967c4fa42e7ba6fc58183
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/gdi/cairotextrender.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx b/vcl/unx/generic/gdi/cairotextrender.cxx
index 589b53ae2dd1..7b0438ea49bf 100644
--- a/vcl/unx/generic/gdi/cairotextrender.cxx
+++ b/vcl/unx/generic/gdi/cairotextrender.cxx
@@ -42,7 +42,7 @@
CairoTextRender::CairoTextRender(bool bPrinter):
mbPrinter(bPrinter),
- nTextColor_(MAKE_SALCOLOR(0x00, 0x00, 0x00)) //black
+ mnTextColor(MAKE_SALCOLOR(0x00, 0x00, 0x00)) //black
{
for( int i = 0; i < MAX_FALLBACK; ++i )
mpServerFont[i] = NULL;
@@ -229,9 +229,9 @@ void CairoTextRender::DrawServerFontLayout( const ServerFontLayout& rLayout )
clipRegion(cr);
cairo_set_source_rgb(cr,
- SALCOLOR_RED(nTextColor_)/255.0,
- SALCOLOR_GREEN(nTextColor_)/255.0,
- SALCOLOR_BLUE(nTextColor_)/255.0);
+ SALCOLOR_RED(mnTextColor)/255.0,
+ SALCOLOR_GREEN(mnTextColor)/255.0,
+ SALCOLOR_BLUE(mnTextColor)/255.0);
ServerFont& rFont = rLayout.GetServerFont();
@@ -380,9 +380,9 @@ sal_uInt16 CairoTextRender::SetFont( FontSelectPattern *pEntry, int nFallbackLev
void
CairoTextRender::SetTextColor( SalColor nSalColor )
{
- if( nTextColor_ != nSalColor )
+ if( mnTextColor != nSalColor )
{
- nTextColor_ = nSalColor;
+ mnTextColor = nSalColor;
}
}