diff options
Diffstat (limited to 'sc/source/ui/app/client.cxx')
-rw-r--r-- | sc/source/ui/app/client.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/app/client.cxx b/sc/source/ui/app/client.cxx index 1553f37cc05c..68cefe7825a1 100644 --- a/sc/source/ui/app/client.cxx +++ b/sc/source/ui/app/client.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -123,8 +123,8 @@ void __EXPORT ScClient::RequestNewObjectArea( Rectangle& aLogicRect ) Size aSize = pPage->GetSize(); if ( aSize.Width() < 0 ) { - aPos.X() = aSize.Width() + 1; // negative - aSize.Width() = -aSize.Width(); // positive + aPos.X() = aSize.Width() + 1; // negative + aSize.Width() = -aSize.Width(); // positive } Rectangle aPageRect( aPos, aSize ); @@ -166,7 +166,7 @@ void __EXPORT ScClient::ObjectAreaChanged() return; } - // Position und Groesse ins Dokument uebernehmen + // Position und Groesse ins Dokument uebernehmen SdrOle2Obj* pDrawObj = GetDrawObj(); if (pDrawObj) { @@ -209,7 +209,7 @@ void __EXPORT ScClient::ViewChanged() MapUnit aMapUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( xObj->getMapUnit( GetAspect() ) ); Size aVisSize = OutputDevice::LogicToLogic( Size( aSz.Width, aSz.Height ), aMapUnit, MAP_100TH_MM ); - // Groesse ins Dokument uebernehmen + // Groesse ins Dokument uebernehmen SdrOle2Obj* pDrawObj = GetDrawObj(); if (pDrawObj) { @@ -236,7 +236,7 @@ void __EXPORT ScClient::ViewChanged() aLogicRect.SetSize( aVisSize ); pDrawObj->SetLogicRect( aLogicRect ); - // set document modified (SdrModel::SetChanged is not used) + // set document modified (SdrModel::SetChanged is not used) pViewSh->GetViewData()->GetDocShell()->SetDrawModified(); } } |