summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChristian M. Heller <christian.heller63@gmail.com>2014-03-02 18:10:01 -0500
committerCaolán McNamara <caolanm@redhat.com>2014-03-03 09:12:26 -0600
commit028a689a48dc11668e2a6546aec709490d056918 (patch)
treeb59161ee34b587553bc43a91eb6a5d3287d5f339 /vcl
parent0a4f02575f9dfbd6e5706bd025093d110ed97f65 (diff)
fdo#39468 Translate German Comments - vcl/source/window/msgbox.cxx
Change-Id: Ia0874709c03bc912fc4bf3efecf7ff3e84bbc82b Reviewed-on: https://gerrit.libreoffice.org/8428 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/msgbox.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx
index 64512d60a588..9efff517e601 100644
--- a/vcl/source/window/msgbox.cxx
+++ b/vcl/source/window/msgbox.cxx
@@ -262,15 +262,14 @@ void MessBox::ImplPosControls()
nMaxWidth -= mpWindowImpl->mnLeftBorder+mpWindowImpl->mnRightBorder+4;
- // MessageBox sollte min. so breit sein, das auch Title sichtbar ist
+ // MessagBox should be at least as wide as to see the title
// Extra-Width for Closer, because Closer is set after this call
nTitleWidth = CalcTitleWidth();
nTitleWidth += mpWindowImpl->mnTopBorder;
nMaxWidth -= (IMPL_DIALOG_OFFSET*2)+(IMPL_MSGBOX_OFFSET_EXTRA_X*2);
- // Wenn wir ein Image haben, dann deren Groesse ermitteln und das
- // entsprechende Control anlegen und positionieren
+ // for an image, get its size, create a suitable control and position it
aImageSize = maImage.GetSizePixel();
if ( aImageSize.Width() )
{
@@ -317,7 +316,7 @@ void MessBox::ImplPosControls()
aFormatRect = GetTextRect( aRect, aMessText, nTextStyle, &aTextInfo );
}
- // Style fuer VCLMultiLineEdit ermitteln
+ // get Style for VCLMultiLineEdit
aMEditSize.Width() = aTextInfo.GetMaxLineWidth()+1;
aMEditSize.Height() = aFormatRect.GetHeight();
aPageSize.Width() = aImageSize.Width();