Kaydet (Commit) 8c8d7ef3 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Revert "sc tiled rendering: We keep increasing the precision here..."

This reverts commit 27ca6387, at least together
with f7962f59 "sc rowlimit: Make the cursor
better fit the rendering" it makes CppunitTest_desktop_lib fail.
üst 42bffebf
......@@ -519,9 +519,9 @@ void ScGlobal::Init()
void ScGlobal::InitPPT()
{
OutputDevice* pDev = Application::GetDefaultDevice();
nScreenPPTX = double(pDev->GetDPIX()) / double(TWIPS_PER_INCH);
nScreenPPTY = double(pDev->GetDPIY()) / double(TWIPS_PER_INCH);
Point aPix1000 = pDev->LogicToPixel( Point(100000,100000), MapUnit::MapTwip );
nScreenPPTX = aPix1000.X() / 100000.0;
nScreenPPTY = aPix1000.Y() / 100000.0;
}
const OUString& ScGlobal::GetClipDocName()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment