Commit Graph

12 Commits

Author SHA1 Message Date
Daniel Robertson
b7f4940c15 canvas: replace while loops with range-based for
Change-Id: Ide16bee666cf4df41646f9336a585e22a7fe53bd
Reviewed-on: https://gerrit.libreoffice.org/18131
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-30 13:03:22 +00:00
Daniel Robertson
849f1d37d5 canvas: replace for_each with range-based for-loop
Replace ::std::for_each for a more readable range-based for loop in
cases in which the function object to be applied by for_each is more
readable as the body of a for loop.

Change-Id: I6f96833d7f251d44e2308278bb92a7d49fd49bcd
Reviewed-on: https://gerrit.libreoffice.org/17763
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-15 18:51:31 +00:00
Norbert Thiebaud
e5ec630414 stop inclduing canvas/verbosetraces.hxx and canvas/debug.hxx
also clean-up and 'standardize' the include sections of canvas' source code

Change-Id: Ib437a41ea41ae2ea6528f755ae5b2828775aaf73
Reviewed-on: https://gerrit.libreoffice.org/17633
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-08-11 03:57:18 +00:00
Michael Meeks
bdc909b07d re-base on ALv2 code. 2012-06-19 18:00:37 +01:00
Caolán McNamara
df34ccb01d remove unneeded include of boost/bind.hpp
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-16 15:05:36 +01:00
Norbert Thiebaud
24c0f87615 remove include of pch header in canvas 2011-11-27 12:57:22 -06:00
Sebastian Spaeth
4905a19032 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:02:15 +02:00
Jens-Heiner Rechtien
8764506704 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Rüdiger Timm
84944fc174 INTEGRATION: CWS changefileheader (1.4.28); FILE MERGED
2008/03/28 16:35:12 rt 1.4.28.1: #i87441# Change license header to LPGL v3.
2008-04-11 08:37:44 +00:00
Jens-Heiner Rechtien
b408a15d38 INTEGRATION: CWS dxliberate01 (1.3.52); FILE MERGED
2007/07/24 09:55:01 thb 1.3.52.1: #144866# Add one pixel border around textures, a bunch of drivers clobber those with dirt
2007-11-01 17:01:05 +00:00
Oliver Bolte
72148b2628 INTEGRATION: CWS pchfix02 (1.2.50); FILE MERGED
2006/09/01 17:18:06 kaib 1.2.50.1: #i68856# Added header markers and pch files
2006-09-17 02:26:19 +00:00
Kurt Zenker
0c8179777a INTEGRATION: CWS canvas02 (1.1.2); FILE ADDED
2005/10/11 15:41:17 thb 1.1.2.4: #i54170# Corrected license headers
2005/10/07 23:05:04 thb 1.1.2.3: #i48939# Unified formatting; improved constness; avoided a few copy constructions; pruned debug code; removed empty destructors; moved end iterator queries out of the loops
2005/09/29 14:19:35 mbu 1.1.2.2: pagemanager validates hardware surfaces now and handles this case properly
2005/09/29 09:39:33 mbu 1.1.2.1: surfaceproxy now has completely redesigned strategy, does no longer depend on amount of available videomemory
2005-11-02 11:53:52 +00:00