diff options
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/main/3DChartObjects.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/main/DummyXShape.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/main/3DChartObjects.cxx b/chart2/source/view/main/3DChartObjects.cxx index 9a72479f544f..e8bb046add59 100644 --- a/chart2/source/view/main/3DChartObjects.cxx +++ b/chart2/source/view/main/3DChartObjects.cxx @@ -77,7 +77,7 @@ const TextCacheItem& TextCache::getText(OUString const & rText, bool bIs3dText) return *itr->second; ScopedVclPtrInstance< VirtualDevice > pDevice(*Application::GetDefaultDevice(), - DeviceFormat::FULLCOLOR, DeviceFormat::FULLCOLOR); + DeviceFormat::DEFAULT, DeviceFormat::DEFAULT); vcl::Font aFont; if(bIs3dText) aFont = vcl::Font("Brillante St",Size(0,0)); diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx index add14b383ca6..a6f9ed12c00d 100644 --- a/chart2/source/view/main/DummyXShape.cxx +++ b/chart2/source/view/main/DummyXShape.cxx @@ -836,7 +836,7 @@ DummyText::DummyText(const OUString& rText, const tNameSequence& rNames, vcl::Font aFont; std::for_each(maProperties.begin(), maProperties.end(), FontAttribSetter(aFont)); ScopedVclPtrInstance< VirtualDevice > pDevice(*Application::GetDefaultDevice(), - DeviceFormat::FULLCOLOR, DeviceFormat::FULLCOLOR); + DeviceFormat::DEFAULT, DeviceFormat::DEFAULT); pDevice->Erase(); Rectangle aRect; pDevice->SetFont(aFont); |