summaryrefslogtreecommitdiff
path: root/include/canvas
AgeCommit message (Collapse)Author
2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann
Change-Id: Ie7f382fb47463d9bc315dc767c1d0550145ec935
2016-04-18Avoid reserved identifierStephan Bergmann
Change-Id: If0194bf8c888bc743b64984f6b655be4fe52aa1b
2016-04-13loplugin:passstuffbyref in canvasNoel Grandin
Change-Id: Idde288ab4bb7935e5da2a84190fd4b398961d358
2016-03-14inline some use-once macrosNoel Grandin
Change-Id: I7ebd8fe70b083a772118a1aab8cdfbf795d6f1e5 Reviewed-on: https://gerrit.libreoffice.org/23235 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-03loplugin:unuseddefaultparams variousNoel Grandin
Change-Id: Ibf8489c957b307156689de4c7cb8440ddd4e4546 Reviewed-on: https://gerrit.libreoffice.org/22852 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-24convert SpriteChangeRecord::ChangeType to scoped enumNoel Grandin
Change-Id: I29696f37a023317bdaa8f53d753ccaeb8e68a3c2
2016-02-24convert canvas::IRenderModule::PrimitiveType to scoped enumNoel Grandin
Change-Id: Idf2e7449ce5b595386f437597ce7ccf00d141db0 Reviewed-on: https://gerrit.libreoffice.org/22634 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-23convert canvas::IColorBuffer::Format to scoped enumNoel Grandin
Change-Id: I0013c0b14992062be97977bf00f4af89fb2766f5 Reviewed-on: https://gerrit.libreoffice.org/22633 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-23convert GradientType to scoped enumNoel Grandin
Change-Id: Icef1d8d38481022104a957ac9deac1c03dc2d6fb Reviewed-on: https://gerrit.libreoffice.org/22632 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-09Remove excess newlinesChris Sherlock
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-28canvas: replace BOOST_CURRENT_FUNCTION with OSL_THIS_FUNCMichael Stahl
Change-Id: Ib90ad48866718f69160f57e7b0db3a7f342eb7be Reviewed-on: https://gerrit.libreoffice.org/21882 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-01-28Revert "canvas: replace BOOST_CURRENT_FUNCTION with __func__"Michael Stahl
This reverts commit d01f7db4b5f51d1be8ba210625f4ad1ebf5c6e8f. Revert "tools: replace BOOST_CURRENT_FUNCTION with __func__" This reverts commit 10303054067258016fbbae018ea848f74adc4964. Surprisingly MSVC 2013 does not support __func__ - need 2015. Change-Id: I7084d7b79784b34a8f40fb986d10ffefbabae7fb
2016-01-28canvas: replace BOOST_CURRENT_FUNCTION with __func__Michael Stahl
Change-Id: I384472894288081423ae9467cc439b10d637f6e0
2015-12-21loplugin:unusedmethodsNoel Grandin
Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623
2015-12-10loplugin:nullptr: More NULL -> nullptr automatic rewriteStephan Bergmann
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d
2015-12-02Remove unused FMT_R8G8B8Stephan Bergmann
...since 5b4d4af3e8bc3b5fb07bceecefc2a47d8e4b8b18 "bin agg" Change-Id: If86d294f812a670917b181f3bd140883ad2df71d Reviewed-on: https://gerrit.libreoffice.org/20348 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-12-01Apparently no reason to force underlying type hereStephan Bergmann
...presumably just cargo-cult from how enums get ABI-fixed in the URE interface. FMT_UNKNOWN turns out to be unused ever since the code was introduced with 5c5e584c8f22c09cb999d7543a9415349910fa06 "INTEGRATION: CWS canvas02." Caused -Werror,-Wmicrosoft-enum-value with clang-cl. Change-Id: I353e4a2e71ff720a5368548d61ea1bded9c77a6c
2015-11-17loplugin:unnecessaryvirtualNoel Grandin
update the plugin with lessons learned from the mergeclasses plugin and re-run it Change-Id: I9d622eb3d05fceaf8fa764c533c8fa5dfb4c7711 Reviewed-on: https://gerrit.libreoffice.org/20015 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I9e064592c4ee18a600aadfa20b3c89ecafc818d4
2015-11-04remove remaining boost/noncopyable includes from /includeNoel Grandin
Change-Id: I2dfed038d97f91df9e86828620df1a46dd158292 Reviewed-on: https://gerrit.libreoffice.org/19773 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30loplugin:unusedmethodsNoel Grandin
Change-Id: Ib4277268903e4411f6dabc856270702f40027bdb Reviewed-on: https://gerrit.libreoffice.org/19680 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30loplugin:unusedmethodsNoel Grandin
Change-Id: Id3b5cd75d4357336ed592ef11a3f34d209f8e95f Reviewed-on: https://gerrit.libreoffice.org/19636 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-29remove boost::noncopyable from /includeNoel Grandin
Change-Id: I9fa22b06fabf79043ebc68be7afebc6e810f4db1
2015-10-27loplugin:unusedmethodsNoel Grandin
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861 Reviewed-on: https://gerrit.libreoffice.org/19231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-26fix includes that are not stand-aloneNorbert Thiebaud
includes should be able to be included on their own fix some of the ones that do not respect that rule. Change-Id: Id161224a1978461d3cea43252f232f18888a4f61 Reviewed-on: https://gerrit.libreoffice.org/19612 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-10-20com::sun::star->css in include/canvasNoel Grandin
Change-Id: Iacf28606e41f0b1345864762612cbb009066bfeb Reviewed-on: https://gerrit.libreoffice.org/19458 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-07inline ISurfaceProxySharedPtr typedefNoel Grandin
some places were not using the typedef anyhow Change-Id: Idf92ad63b05101832827113701a85eca48c084c6
2015-09-30Fix typosAndrea Gelmini
Change-Id: Ia8b2176a439742769e61fb6a981000f316033071 Reviewed-on: https://gerrit.libreoffice.org/18954 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-14boost->stdCaolán McNamara
Change-Id: I3fd9e1599c5ad812879a58cf1dabbcd393105e1c Reviewed-on: https://gerrit.libreoffice.org/18564 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-31canvas: replace boost::function with std::functionMichael Stahl
Change-Id: Ia3644bc0d9db2159aa4e9f05ca2f36e60b63e6f4
2015-07-10do not include boost/utility.hppMichael Stahl
It just includes a bunch of other boost headers; mostly we need boost/noncopyable.hpp so include that directly. This eliminates 831 MB(!) of boost/preprocessor/seq/fold_left.hpp completely, which is the 2nd biggest header after ustring.hxx. Change-Id: I3df55770adcb46e56f389af828e8ba80da2dc1f2
2015-07-09canvas: remove boost::bind from headersMichael Stahl
Change-Id: Ieaa8a74d59ee9c74fafe823e01db4a349c49821e
2015-06-23Revert "Typo: iff->if"Julien Nabet
This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
2015-06-23Typo: iff->ifJulien Nabet
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
2015-06-16Fix typosAndrea Gelmini
Change-Id: I528752dfabeb31d14c350f79819b521537ab9b56 Reviewed-on: https://gerrit.libreoffice.org/16300 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-03-19loplugin:constantfunction: canvasNoel Grandin
Change-Id: I2fb2c4ec0e9467d7ced05b0e815e0d5bd2ba74c3
2015-02-16boost::foo_ptr->std::foo_ptrCaolán McNamara
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
2015-02-12coverity#1269584 Uncaught exceptionCaolán McNamara
and coverity#1269578 Uncaught exception Change-Id: I68ef6ada3521cb12e17c5fe2ccecd67ade4ed40b
2015-02-12coverity#1269586 Uncaught exceptionCaolán McNamara
and coverity#1269581 Uncaught exception Change-Id: I48d08e1361ac9cf4c7d6040c247c753366dab4c5
2015-02-12coverity#1269589 Uncaught exceptionCaolán McNamara
and coverity#1269587 Uncaught exception Change-Id: Ic532ed2dfe38e33bcf2d9cedd0edee2cf3869f17
2015-02-12coverity#1269591 Uncaught exceptionCaolán McNamara
and coverity#1269585 Uncaught exception Change-Id: I1ec46b1c3996cf95744c15351d2c26a47d079c77
2015-02-12coverity#1269592 Uncaught exceptionCaolán McNamara
and coverity#1269577 Uncaught exception Change-Id: Ib8a61f8738d35cf5cb7cfa32d91d241f5c8d52d4
2015-02-12coverity#1269593 Uncaught exceptionCaolán McNamara
and coverity#1269580 Uncaught exception Change-Id: I366d43d2c5fd51927a6cd07101051e7cf9614974
2015-02-12coverity#1269594 Uncaught exceptionCaolán McNamara
and coverity#1269588 Uncaught exception Change-Id: I9e36c9636b7783530973272229dfb5bbfed556e5
2015-02-12coverity#1269598 Uncaught exceptionCaolán McNamara
and coverity#1269595 Uncaught exception Change-Id: Ia32be45c93769de92ad649eb765a343b659ddc3f
2015-02-12coverity#1269599 Uncaught exceptionCaolán McNamara
and coverity#1269590 Uncaught exception Change-Id: I03394a827e8f04842a8a94f839f0439407926150
2015-02-12coverity#1269582 Uncaught exceptionCaolán McNamara
and coverity#1269600 Uncaught exception coverity#1269575 Uncaught exception coverity#1269579 Uncaught exception Change-Id: If8d5650a9de574d92912a53a5b560ddb03e937f1
2015-02-12coverity#1269574 Uncaught exceptionCaolán McNamara
and coverity#1269583 Uncaught exception Change-Id: I046d19894183167a9b54f0975508378babc531c7