summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-20 13:19:51 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-20 13:22:41 +1000
commit4916dd570fb7bb5447f1d63fba46ac0b3a10dd14 (patch)
tree3659eb28b3e199574dea4bedd6b2f85eb0917537
parent31792ca5a2ac093bd922723acc2b07ed225e5eaa (diff)
Move VCL function SetAntialiasing outdev.cxx
Change-Id: I10f2fd5715d4781b68cb70c3a8df9ce37dc1e821
-rw-r--r--vcl/source/outdev/outdev.cxx17
-rw-r--r--vcl/source/outdev/text.cxx17
2 files changed, 17 insertions, 17 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx
index e8210f449404..997ccc476bf8 100644
--- a/vcl/source/outdev/outdev.cxx
+++ b/vcl/source/outdev/outdev.cxx
@@ -1675,4 +1675,21 @@ void OutputDevice::DrawCheckered(const Point& rPos, const Size& rSize, sal_uInt3
Pop();
}
+void OutputDevice::SetAntialiasing( sal_uInt16 nMode )
+{
+ if ( mnAntialiasing != nMode )
+ {
+ mnAntialiasing = nMode;
+ mbInitFont = true;
+
+ if(mpGraphics)
+ {
+ mpGraphics->setAntiAliasB2DDraw(mnAntialiasing & ANTIALIASING_ENABLE_B2DDRAW);
+ }
+ }
+
+ if( mpAlphaVDev )
+ mpAlphaVDev->SetAntialiasing( nMode );
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 485033999ef3..e7511c9bc023 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -735,23 +735,6 @@ long OutputDevice::ImplGetTextLines( ImplMultiTextLineInfo& rLineInfo,
return nMaxLineWidth;
}
-void OutputDevice::SetAntialiasing( sal_uInt16 nMode )
-{
- if ( mnAntialiasing != nMode )
- {
- mnAntialiasing = nMode;
- mbInitFont = true;
-
- if(mpGraphics)
- {
- mpGraphics->setAntiAliasB2DDraw(mnAntialiasing & ANTIALIASING_ENABLE_B2DDRAW);
- }
- }
-
- if( mpAlphaVDev )
- mpAlphaVDev->SetAntialiasing( nMode );
-}
-
void OutputDevice::SetLayoutMode( sal_uLong nTextLayoutMode )
{
if( mpMetaFile )