diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 4 | ||||
-rw-r--r-- | basctl/source/basicide/basides1.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/layout.cxx | 4 | ||||
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx index fa22d43905b1..65896d018781 100644 --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -804,7 +804,7 @@ sal_Int32 ModulWindow::FormatAndPrint( Printer* pPrinter, sal_Int32 nPrintPage ) vcl::Font aFont( GetEditEngine()->GetFont() ); aFont.SetAlignment( ALIGN_BOTTOM ); aFont.SetTransparent( true ); - aFont.SetSize( Size( 0, 360 ) ); + aFont.SetFontSize( Size( 0, 360 ) ); pPrinter->SetFont( aFont ); pPrinter->SetMapMode( MAP_100TH_MM ); diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index bc6177c4e3d9..4821c1280f55 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -2870,12 +2870,12 @@ void CodeCompleteWindow::ResizeAndPositionListBox() pListBox->SetSizePixel( aSize ); //calculate position - const Rectangle aVisArea( pParent->GetEditView()->GetStartDocPos(), pParent->GetOutputSizePixel() );//the visible area + const Rectangle aVisArea( pParent->GetEditView()->GetStartDocPos(), pParent->GetOutputSizePixel() ); //the visible area const Point& aBottomPoint = aVisArea.BottomRight(); if( aVisArea.TopRight().getY() + aPos.getY() + aSize.getHeight() > aBottomPoint.getY() ) {//clipped at the bottom: move it up - const long& nParentFontHeight = pParent->GetEditEngine()->GetFont().GetHeight();//parent's font (in the IDE): needed for height + const long& nParentFontHeight = pParent->GetEditEngine()->GetFont().GetFontHeight(); //parent's font (in the IDE): needed for height aPos.Y() -= aSize.getHeight() + nParentFontHeight + nCursorPad; } diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index 3051308497fd..9e412f8089c3 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -1187,7 +1187,7 @@ void Shell::AdjustPosSizePixel( const Point &rPos, const Size &rSize ) return; Size aTabBarSize; - aTabBarSize.Height() = GetViewFrame()->GetWindow().GetFont().GetHeight() + 4; + aTabBarSize.Height() = GetViewFrame()->GetWindow().GetFont().GetFontHeight() + 4; aTabBarSize.Width() = rSize.Width(); Size aSz( rSize ); diff --git a/basctl/source/basicide/layout.cxx b/basctl/source/basicide/layout.cxx index e85168e8ef10..360d5f7bd3d3 100644 --- a/basctl/source/basicide/layout.cxx +++ b/basctl/source/basicide/layout.cxx @@ -43,9 +43,9 @@ Layout::Layout (vcl::Window* pParent) : SetBackground(GetSettings().GetStyleSettings().GetWindowColor()); vcl::Font aFont = GetFont(); - Size aSz = aFont.GetSize(); + Size aSz = aFont.GetFontSize(); aSz.Height() *= 1.5; - aFont.SetSize(aSz); + aFont.SetFontSize(aSz); aFont.SetWeight(WEIGHT_BOLD); aFont.SetColor(GetSettings().GetStyleSettings().GetWindowTextColor()); SetFont(aFont); diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index 52a4875275fd..4c58e37e72f4 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -1161,7 +1161,7 @@ void DlgEditor::Print( Printer* pPrinter, const OUString& rTitle ) // not wor pPrinter->SetMapMode( aMap ); vcl::Font aFont; aFont.SetAlignment( ALIGN_BOTTOM ); - aFont.SetSize( Size( 0, 360 )); + aFont.SetFontSize( Size( 0, 360 )); pPrinter->SetFont( aFont ); Size aPaperSz = pPrinter->GetOutputSize(); |