summaryrefslogtreecommitdiff
path: root/reportdesign
AgeCommit message (Collapse)AuthorFilesLines
2015-06-28coverity#1308565 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I961169b4da3daf34adc338ca913dab6f5c1edfae
2015-06-28coverity#1308554 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I907dfd51b224b3bd7579b96b169be27f29364cb2
2015-06-28coverity#1308550 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I87dfcbd5d124120bb107ff63a18e6d79f895ddbb
2015-06-28Fix typosAndrea Gelmini2-2/+2
Change-Id: Ifd126a535f18db79a18aaec61b76cdf26ab33dff Reviewed-on: https://gerrit.libreoffice.org/16522 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-23Drop duplicate #includesTakeshi Abe1-1/+0
Change-Id: I4db77ea1de42676d9d2df70db3f2e1665a3fd983 Reviewed-on: https://gerrit.libreoffice.org/16419 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-23rendercontext: Mass fix of using the wrong size.Jan Holesovsky2-2/+2
In the paints, we must use the size of the Window for the computations, not of the RenderContext - the RenderContext can be much bigger than the Window in the double-buffering case. Fixes for example the list boxes, and many others. Change-Id: I4c7607569f88b2d097587140858d0862e54b5ea6
2015-06-22Add variadic PartialWeakComponentImplHelper, remove need for implbase_var.hxxStephan Bergmann1-7/+2
Change-Id: Iad3417822b2ab3afb75da09c311a0bf07af5e2e4
2015-06-18coverity#1307698 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: I1229b4cdfcc741899b3ae8694e7db5d7e506ce0c
2015-06-15more untranslatable UI stringsAndras Timar1-1/+1
Change-Id: I4c02d7613743a1b11594fd96f6131219afd102ef
2015-06-15remove unnecessary check for null when calling deleteNoel Grandin1-2/+1
Idea originally from caolan. Found using the following command: find . -name *.cxx | xargs /opt/local/bin/grep -zlP '(?m)if\s*\(\s*\w+\s*\)\s*delete\s+\w+\;' Change-Id: I3338f4e22193a6dfd6219c8c75835224a3392763
2015-06-14tdf#89830: Ambiguous naming of character backgroundZolnai Tamás3-2/+15
Use 'Highlighting' also on Character Dialog. Change-Id: Ie81d25651e5998a35b4e2646089b8f2c590cfb98
2015-06-11cppcheck: noExplicitConstructorCaolán McNamara13-16/+16
Change-Id: I2d629c48b6526fa5f37174921c068e1201a897ef
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann1-1/+1
Change-Id: I6449dc2ada17dbf07bba179091e9990520868a00
2015-06-08Resolves: tdf#91672 Crash in base report - right click in page header sectionCaolán McNamara1-0/+1
Change-Id: Ie7f9abc16e07c9ef44916e0cebe67486f3583449
2015-06-05Let JUnit take care of exceptionsNoel Grandin1-101/+57
Inspired by commit 4dd0ac62855c5b9382cac004c7eebb9bed983a2b Change-Id: I6ca29aecde357a3cb5852acfc9b5443761052960 Reviewed-on: https://gerrit.libreoffice.org/16094 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-02loplugin:loopvartoosmallNoel Grandin1-1/+1
Change-Id: Ib4def3435eab4625645c5afe3b151f9f430564ac
2015-05-28convert PARENTCLIPMODE constants to scoped enumNoel Grandin4-4/+4
Change-Id: I36a53112e75fca9208b2f91e224a7c671695509b
2015-05-26tdf#91577 - CRASH: when "Report Builder" closedNoel Grandin1-1/+1
audited commit 6d0c89123f353aed80d3a8a08ef5cd1ffaa1eea9 "vclwidget: fix more places that should be wrapping in VclPtr" and fixed up the one place that needed it. Change-Id: Iedb56353e6a967367f38fa847efb950acc869a93
2015-05-26convert SCROLL constants to scoped enumNoel Grandin1-1/+1
Change-Id: I5696fa39b2d032735cea7abe039349d4f83cf68d
2015-05-26convert INVALIDATE constants to scoped enumNoel Grandin10-26/+23
fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the IDL docs for XWindowPeer Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d
2015-05-25tdf#91577 - fix unique_ptr conversion bugs in reportdesign.Michael Meeks2-5/+7
Change-Id: Icc94ce266d567e7aad5afb5eacf0e85699ef4107
2015-05-25Audit all PostUserEvent calls and instrument for VclPtr.Michael Meeks2-4/+4
Hold a reference on the VclPtr while we're waiting for the UserEvent. Change-Id: I55c2671ca12eb14761c6a7dffd551af71547ecbd
2015-05-24Typo: m_pReportDefintionMultiPlexer -> m_pReportDefinitionMultiPlexerJulien Nabet2-5/+5
Change-Id: I90f2119d5b43e5d6efa18561a1b04d1c0178950e
2015-05-22loplugin:constantfunctionNoel Grandin1-16/+4
Change-Id: I7cb5b0c2cf9ade557173ca596ea5d42d853ff448
2015-05-22convert constants in include/vcl/settings.hxx to scoped enumsNoel Grandin1-1/+1
Change-Id: I2a110c017f13eca6ddbd70ef3ed195d24adef0a3 Reviewed-on: https://gerrit.libreoffice.org/15828 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-22convert POINTER constants to scoped enumNoel Grandin1-2/+2
Change-Id: Iea29ce5fd6c620535197d3ca8538335078430e19 Reviewed-on: https://gerrit.libreoffice.org/15825 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-21convert SWIB constants to scoped enumNoel Grandin1-3/+3
Change-Id: If64368f22e748cc646a726cb962e60ad29a66df9 Reviewed-on: https://gerrit.libreoffice.org/15840 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-20convert DEFAULTCONSTANT constant to scoped enumNoel Grandin1-3/+3
Change-Id: I5ebd77edfa29d6c6c7acea37e826ef1d625916c3
2015-05-19remove the last of the OUString #defines in header filesNoel Grandin1-1/+1
Change-Id: Id9e8ce7987e055e83b52c7024413570f262e6e8d
2015-05-18fix Wundefined-bool-conversionTomaž Vajngerl1-1/+1
Change-Id: I99e57e3f4b3f5b9fa21cdf6bfbda4b15ce83eaac
2015-05-18refactor remaining reportdesign classes to use RenderContextTomaž Vajngerl4-59/+70
Change-Id: I23d7a2153bfc0446a972651a892eba8f6dc2bc54
2015-05-15refactor ViewsWindow of reportdesign to use RenderContextTomaž Vajngerl1-15/+16
Change-Id: I0c1c2df38894f250aa2bec6ab6532ccaca090fa9
2015-05-11convert COMMAND_ constants to scoped enumNoel Grandin4-28/+26
Change-Id: I88e67f89dbbab0646e8f106dfeb32c6ee1bb0b95 Reviewed-on: https://gerrit.libreoffice.org/15671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-11refactor TreeListBox to use RenderContextTomaž Vajngerl1-3/+2
Change-Id: I901a1f1f9732fb66718dca34c698a851e5b0d87f
2015-05-10Use IMPL_LINK_NOARG[_TYPED] where applicableStephan Bergmann5-8/+8
Change-Id: I70598072c1d492e360ef46dd7b5ef5a2fa4be495
2015-05-10NOINSTANCE is implied now in IMPL_STATIC_LINK...Stephan Bergmann1-1/+1
Change-Id: Ifb032457d6c1b279c4183282ef2b271c706dd71a
2015-05-09coverity#1297234 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I6ce09d3a7c77c5501608a2d1b0812c3c22ef16af
2015-05-08lopluign:staticmethods: Handle DECL_LINKStephan Bergmann2-2/+3
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
2015-05-07Remove unnecessary includes of sot/storage.hxx from include/Stephan Bergmann2-0/+2
Change-Id: I242cd126814bbebdb99ea38d9e66513189c313d9
2015-05-06convert DEFAULTFONT_ constants to scoped enumNoel Grandin1-3/+3
Change-Id: Ia33e957f6cf530e2639b3c86d9482f642652cb46
2015-05-06Use various typed ToolBox::Set*Hdl LinksStephan Bergmann6-13/+8
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-05remove unused #include awt/InvalidateStyle.hppMichael Stahl3-3/+0
Change-Id: I7ea52365157fc642401db64c3b4a40d4643d16ae
2015-05-05loplugin:staticmethodsNoel Grandin17-52/+52
Change-Id: I5d02ba0db00e11af3c17eaf77ce19c635a52077f
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann2-4/+2
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann3-8/+5
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-02Audit LoseFocus - forms, reportdesign, sc, starmath, svtools.Michael Meeks1-1/+2
Change-Id: If7068e59c88e8c3c3bafc70f64899a26d739e331
2015-04-30Gradually typed LinkStephan Bergmann2-4/+4
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-30Get rid of initial :: for the svx namespaceTor Lillqvist7-26/+26
Change-Id: I03e428a749bca409ebac9c142acaddafcbfeca23
2015-04-30Get rid of the initial :: for the vcl namespaceTor Lillqvist2-3/+3
We used it all over the place without leading :: already anyway, even in many files in include. So let's be consistent. In the majority of cases, prefer the easier-on-the-eyes choice, not the "safe" one. In those files in include where *all* existing uses of ::vcl:: indeed used the :: prefix, there let's keep it for consistency. Change-Id: If99cb41d3bf290d38c601d91125c3c8d935e61d0
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist1-1/+1
Bin pointless '// predeclarations' or '// forward declarations' comments. If a programmer doesn't know what a forward declaration is, well, why read C++ source code? Also bin some pointless '// end of namespace foo' comments after namespace blocks just a handful of lines long, and some superfluous vertical whitespace. Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9