diff options
author | Christian Lippka <cl@openoffice.org> | 2001-02-13 16:03:18 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-02-13 16:03:18 +0000 |
commit | c95b00d78fde248567b7af7ee95dfd8deae010dc (patch) | |
tree | ee8f5c92c197f209f9261f1fa75c095832bd1242 /svx/source/dialog/hyperdlg.cxx | |
parent | 46b2b69c5bb4f75b08f0e312ea2041d151b39a96 (diff) |
#78749# set help id for name warning msg boxes
Diffstat (limited to 'svx/source/dialog/hyperdlg.cxx')
-rw-r--r-- | svx/source/dialog/hyperdlg.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/dialog/hyperdlg.cxx b/svx/source/dialog/hyperdlg.cxx index 194ce88808f0..989d6032e4fb 100644 --- a/svx/source/dialog/hyperdlg.cxx +++ b/svx/source/dialog/hyperdlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: hyperdlg.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: pw $ $Date: 2000-11-22 13:56:12 $ + * last change: $Author: cl $ $Date: 2001-02-13 17:03:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -144,11 +144,11 @@ SvxHlinkDlgWrapper::SvxHlinkDlgWrapper( Window* pParent, USHORT nId, Size aDlgSize ( GetSizePixel () ); if( aParentSize.Width() < pInfo->aPos.X() ) - pInfo->aPos.setX( aParentSize.Width()-aDlgSize.Width() < 0.1*aParentSize.Width() ? - 0.1*aParentSize.Width() : aParentSize.Width()-aDlgSize.Width() ); + pInfo->aPos.setX( aParentSize.Width()-aDlgSize.Width() < long(0.1*aParentSize.Width()) ? + long(0.1*aParentSize.Width()) : aParentSize.Width()-aDlgSize.Width() ); if( aParentSize.Height() < pInfo->aPos. Y() ) - pInfo->aPos.setY( aParentSize.Height()-aDlgSize.Height() < 0.1*aParentSize.Height() ? - 0.1*aParentSize.Height() : aParentSize.Height()-aDlgSize.Height() ); + pInfo->aPos.setY( aParentSize.Height()-aDlgSize.Height() < long(0.1*aParentSize.Height()) ? + long(0.1*aParentSize.Height()) : aParentSize.Height()-aDlgSize.Height() ); pWindow->SetPosPixel( pInfo->aPos ); } @@ -275,20 +275,20 @@ void SvxHpLinkDlg::Move() if( aDlgPos.X() - ( 0.02*aDlgSize.Width() ) - aExtraWndSize.Width() < 0 ) { // Pos Extrawindow anywhere - bDoInvalid = pCurrentPage->MoveToExtraWnd( Point( 1, 1.1*aDlgPos.Y() ), TRUE ); + bDoInvalid = pCurrentPage->MoveToExtraWnd( Point( 1, long(1.1*aDlgPos.Y()) ), TRUE ); } else { // Pos Extrawindow on the left side of Dialog bDoInvalid = pCurrentPage->MoveToExtraWnd( aDlgPos - - Point( 0.02*aDlgSize.Width(), 0 ) - + Point( long(0.02*aDlgSize.Width()), 0 ) - Point( aExtraWndSize.Width(), 0 ) ); } } else { // Pos Extrawindow on the right side of Dialog - bDoInvalid = pCurrentPage->MoveToExtraWnd ( aDlgPos + Point( 1.02*aDlgSize.Width(), 0 ) ); + bDoInvalid = pCurrentPage->MoveToExtraWnd ( aDlgPos + Point( long(1.02*aDlgSize.Width()), 0 ) ); } if ( bDoInvalid ) |