diff options
author | Stefan Knorr (astron) <heinzlesspam@gmail.com> | 2011-11-28 14:14:12 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-12-06 17:29:56 +0100 |
commit | 210f2dc0afa9e40eed4166152210364f0c206aaa (patch) | |
tree | a3641bce0c03f3f3c708907b570a04e3a21eabf6 /svx/source/svdraw/svdomedia.cxx | |
parent | 88a4a8d997921309a7886ed0d1dc383ee3c2f767 (diff) |
Translation of comments in svdraw (part two)
Big thanks to Eike Rathke who rescued the ASCII imagery in svdoedge.cxx.
Diffstat (limited to 'svx/source/svdraw/svdomedia.cxx')
-rw-r--r-- | svx/source/svdraw/svdomedia.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdomedia.cxx b/svx/source/svdraw/svdomedia.cxx index f75fb3e68672..875d263e033f 100644 --- a/svx/source/svdraw/svdomedia.cxx +++ b/svx/source/svdraw/svdomedia.cxx @@ -200,8 +200,7 @@ void SdrMediaObj::AdjustToMaxRect( const Rectangle& rMaxRect, bool bShrinkOnly / { Point aPos( rMaxRect.TopLeft() ); - // Falls Grafik zu gross, wird die Grafik - // in die Seite eingepasst + // if graphic is too large, fit it to the page if ( (!bShrinkOnly || ( aSize.Height() > aMaxSize.Height() ) || ( aSize.Width() > aMaxSize.Width() ) )&& @@ -212,7 +211,7 @@ void SdrMediaObj::AdjustToMaxRect( const Rectangle& rMaxRect, bool bShrinkOnly / float fWinWH = (float)aMaxSize.Width() / (float)aMaxSize.Height(); - // Grafik an Pagesize anpassen (skaliert) + // scale graphic to page size if ( fGrfWH < fWinWH ) { aSize.Width() = (long)(aMaxSize.Height() * fGrfWH); |