[Libreoffice-commits] core.git: vcl/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Sat Aug 29 09:38:43 UTC 2020
vcl/source/edit/vclmedit.cxx | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
New commits:
commit d996f9c70122218ab84a1b22a658b718c382c877
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Aug 28 13:15:49 2020 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Aug 29 11:37:46 2020 +0200
Fix typo in code
It passed "make check" on Linux
Change-Id: I4c8cdb74fe926f3269132d5cd0ad7c21cc2c74ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101612
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx
index c5fc8b52715f..6064787fcf9e 100644
--- a/vcl/source/edit/vclmedit.cxx
+++ b/vcl/source/edit/vclmedit.cxx
@@ -55,7 +55,7 @@ private:
protected:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
- void ImpUpdateSrollBarVis( WinBits nWinStyle );
+ void ImpUpdateScrollBarVis( WinBits nWinStyle );
void ImpInitScrollBars();
void ImpSetScrollBarRanges();
void ImpSetHScrollBarThumbPos();
@@ -126,7 +126,7 @@ ImpVclMEdit::ImpVclMEdit( VclMultiLineEdit* pEdt, WinBits nWinStyle )
StartListening( *mpTextWindow->GetTextEngine() );
}
-void ImpVclMEdit::ImpUpdateSrollBarVis( WinBits nWinStyle )
+void ImpVclMEdit::ImpUpdateScrollBarVis( WinBits nWinStyle )
{
const bool bHaveVScroll = mpVScrollBar->IsVisible();
const bool bHaveHScroll = mpHScrollBar->IsVisible();
@@ -175,7 +175,7 @@ void ImpVclMEdit::ImpUpdateSrollBarVis( WinBits nWinStyle )
void ImpVclMEdit::InitFromStyle( WinBits nWinStyle )
{
- ImpUpdateSrollBarVis( nWinStyle );
+ ImpUpdateScrollBarVis( nWinStyle );
SetAlign( nWinStyle );
if ( nWinStyle & WB_NOHIDESELECTION )
@@ -331,7 +331,7 @@ void ImpVclMEdit::Resize()
{
WinBits nWinStyle( pVclMultiLineEdit->GetStyle() );
if ( ( nWinStyle & WB_AUTOVSCROLL ) == WB_AUTOVSCROLL )
- ImpUpdateSrollBarVis( nWinStyle );
+ ImpUpdateScrollBarVis( nWinStyle );
Size aSz = pVclMultiLineEdit->GetOutputSizePixel();
Size aEditSize = aSz;
@@ -417,7 +417,7 @@ void ImpVclMEdit::SetText( const OUString& rStr )
WinBits nWinStyle( pVclMultiLineEdit->GetStyle() );
if ( ( nWinStyle & WB_AUTOVSCROLL ) == WB_AUTOVSCROLL )
- ImpUpdateSrollBarVis( nWinStyle );
+ ImpUpdateScrollBarVis( nWinStyle );
}
OUString ImpVclMEdit::GetText() const
@@ -475,7 +475,7 @@ void ImpVclMEdit::Notify( SfxBroadcaster&, const SfxHint& rHint )
break;
case SfxHintId::TextModified:
- ImpUpdateSrollBarVis(pVclMultiLineEdit->GetStyle());
+ ImpUpdateScrollBarVis(pVclMultiLineEdit->GetStyle());
pVclMultiLineEdit->Modify();
break;
More information about the Libreoffice-commits
mailing list