From 2c9ee17c3b18d82680f4949d029a7caff4029c03 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 20 Apr 2015 14:26:46 +0200 Subject: convert SCRWIN_ constants to scoped enum Change-Id: I345b2d6779b1d2595e949da0030f7acb299256f9 --- svtools/source/control/scrwin.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svtools/source') diff --git a/svtools/source/control/scrwin.cxx b/svtools/source/control/scrwin.cxx index 09d32acecfc6..44dbf55d8dea 100644 --- a/svtools/source/control/scrwin.cxx +++ b/svtools/source/control/scrwin.cxx @@ -24,9 +24,9 @@ void ScrollableWindow::ImpInitialize( ScrollableWindowFlags nFlags ) { - bHandleDragging = (bool) ( nFlags & SCRWIN_THUMBDRAGGING ); - bVCenter = (nFlags & SCRWIN_VCENTER) == SCRWIN_VCENTER; - bHCenter = (nFlags & SCRWIN_HCENTER) == SCRWIN_HCENTER; + bHandleDragging = bool( nFlags & ScrollableWindowFlags::THUMBDRAGGING ); + bVCenter = bool(nFlags & ScrollableWindowFlags::VCENTER); + bHCenter = bool(nFlags & ScrollableWindowFlags::HCENTER); bScrolling = false; // set the handlers for the scrollbars -- cgit opia/zeta-7-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/codemaker
AgeCommit message (Expand)Author
2012-02-16Reduce verbiage slightlyTor Lillqvist
2012-02-06Added READMEs for modules related to URE, with content from the wikiJosh Heidenreich
2012-01-26Code cleanup: ( () ) replaced by (())Alexander Bergmann
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann
2012-01-03Leak comprehensive type descriptions to avoid problems at exit.Stephan Bergmann
2012-01-02tabs -> spacesStephan Bergmann
2012-01-02Temporary hack around cppu_detail_getCppuType variants violating ODR.Stephan Bergmann
2011-12-22callcatcher: remove unused typeToPrefixCaolán McNamara
2011-12-13Fix for fdo43460 Part VI getLength() to isEmpty()Olivier Hallot
2011-11-27remove precompiled_xxx.hxx/cxxNorbert Thiebaud
2011-11-27remove include of pch header in codemakerNorbert Thiebaud
2011-11-27remove PCH support in dmake-moduleNorbert Thiebaud
2011-11-02Make .hpp/.hdl more robust against accidental include of .hdl instead of .hpp.Stephan Bergmann
2011-10-18Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on L...Stephan Bergmann
2011-10-07cppcheck scope reduction in codemake/... cpputype.cxxPierre-André Jacquod