diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 08:54:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 11:20:02 +0100 |
commit | 5b51b98b668925f955d50d0fe796762ee05eb487 (patch) | |
tree | 7f534edd3dcb35272e697f5626476668caec9349 /vcl/source/window/split.cxx | |
parent | 843fa5ff69f2bc502a6fa35878104d067b2a1e77 (diff) |
loplugin:staticmethods in vcl
Change-Id: I00333677db711761510a35dfae5ce70d61fb9491
Reviewed-on: https://gerrit.libreoffice.org/63397
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/split.cxx')
-rw-r--r-- | vcl/source/window/split.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/split.cxx b/vcl/source/window/split.cxx index bedb5ab01009..5955ea174ab8 100644 --- a/vcl/source/window/split.cxx +++ b/vcl/source/window/split.cxx @@ -61,12 +61,12 @@ void Splitter::ImplInitHorVer(bool bNew) if ( mbHorzSplit ) { ePointerStyle = PointerStyle::HSplit; - SetSizePixel( Size( rSettings.GetSplitSize(), rSettings.GetScrollBarSize() ) ); + SetSizePixel( Size( StyleSettings::GetSplitSize(), rSettings.GetScrollBarSize() ) ); } else { ePointerStyle = PointerStyle::VSplit; - SetSizePixel( Size( rSettings.GetScrollBarSize(), rSettings.GetSplitSize() ) ); + SetSizePixel( Size( rSettings.GetScrollBarSize(), StyleSettings::GetSplitSize() ) ); } SetPointer( Pointer( ePointerStyle ) ); @@ -199,7 +199,7 @@ bool Splitter::ImplSplitterActive() bool bActive = true; const StyleSettings& rSettings = GetSettings().GetStyleSettings(); long nA = rSettings.GetScrollBarSize(); - long nB = rSettings.GetSplitSize(); + long nB = StyleSettings::GetSplitSize(); Size aSize = GetOutputSize(); if ( mbHorzSplit ) |