summaryrefslogtreecommitdiff
path: root/vcl/inc/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-12-04 16:16:14 +0000
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-01-11 01:01:06 +0000
commitc5c22a10d41ae79b43edbf36962245c824a32e17 (patch)
tree78219bb906951a7b6ae4ace875646edcf44dfe9d /vcl/inc/vcl
parent90fe1b210025c19e885b093bf2f556d5b62f9dd4 (diff)
Resolves: fdo#58301 make sure ScrollBar OptimalSize is up to date
if the scrollbar sizes haven't been calculated yet then the optimalsize will be wrong, so it's necessary to enforce calculating them in that case. (cherry picked from commit f41a2804dd4a23352b7af2dd28c03df02debfb13) Change-Id: I12e95c3594ffbb508c7f79bd512e07aaf44a6eab Reviewed-on: https://gerrit.libreoffice.org/1630 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Diffstat (limited to 'vcl/inc/vcl')
-rw-r--r--vcl/inc/vcl/scrbar.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/vcl/scrbar.hxx b/vcl/inc/vcl/scrbar.hxx
index 8dbe27008bcc..7c62d941d5fe 100644
--- a/vcl/inc/vcl/scrbar.hxx
+++ b/vcl/inc/vcl/scrbar.hxx
@@ -83,8 +83,9 @@ private:
SAL_DLLPRIVATE long ImplDoAction( sal_Bool bCallEndScroll );
SAL_DLLPRIVATE void ImplDoMouseAction( const Point& rPos, sal_Bool bCallAction = sal_True );
SAL_DLLPRIVATE void ImplInvert();
- SAL_DLLPRIVATE sal_Bool ImplDrawNative( sal_uInt16 nDrawFlags );
+ SAL_DLLPRIVATE sal_Bool ImplDrawNative( sal_uInt16 nDrawFlags );
SAL_DLLPRIVATE void ImplDragThumb( const Point& rMousePos );
+ SAL_DLLPRIVATE Size getCurrentCalcSize() const;
DECL_DLLPRIVATE_LINK( ImplTimerHdl, Timer* );
DECL_DLLPRIVATE_LINK( ImplAutoTimerHdl, void* );