summaryrefslogtreecommitdiff
path: root/forms/source
AgeCommit message (Collapse)Author
2014-09-25fdo#39468 Translate German comments, clean some wsPhilipp Weissenbacher
Conflicts: forms/source/component/FormComponent.cxx forms/source/component/FormattedField.cxx Change-Id: I76dacfff3aa6f5680a1e81c97281c4f744ec1ceb Reviewed-on: https://gerrit.libreoffice.org/11622 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-24fdo#39468 Translated German to EnglishTobias Madl
Change-Id: I7405b8251b977f8e5c1b95c37fbab6ae6cb120e7 Reviewed-on: https://gerrit.libreoffice.org/11461 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-19fdo#39468 Translate German comments, clean some wsPhilipp Weissenbacher
Change-Id: I4a9b3b3e0d0fefb18808b0b045ffcf3531f4ea28 Reviewed-on: https://gerrit.libreoffice.org/11524 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-18fdo#82577: Handle FontNoel Grandin
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-15Simplify expression to fix bool/sal_Bool ambiguityStephan Bergmann
Change-Id: I249262779519934c3dacc9df76028a994187e3d6
2014-09-15forms: sal_Bool -> boolStephan Bergmann
Change-Id: If69785c37c6c9cd175e149f10bd5497de26a120c
2014-09-15Mark template member fns that are supposed to override as SAL_OVERRIDEStephan Bergmann
Change-Id: If940dcf7f7d2144576b4ae55578b8b7bd113295b
2014-09-12fdo#39468: Translated German to EnglishJennifer Liebel
Change-Id: Ica935c641d3858ae875410efc7fe531835feadf8 Reviewed-on: https://gerrit.libreoffice.org/11373 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-09-12Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann
...to gain further confidence in the claim "that none of the existing code tries to uses combinations of these enum values" (d92602c5b13d0a60439d86c5a033d124178726ca "more fixes for SfxItemState") Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13 Reviewed-on: https://gerrit.libreoffice.org/11384 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-10Replace uses of old SFX_ITEM_ON alias with SFX_ITEM_SETStephan Bergmann
Change-Id: I64be7ca711dcd3ea7c4d5840a30f2f701d055e1b
2014-08-25set names on a bunch more threads...Michael Stahl
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-08-25Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happyStephan Bergmann
Change-Id: I79422149fd25b1531673a517e2a340dbeab43b1a
2014-08-25Fix *_component_getFactory function typeStephan Bergmann
Change-Id: I10414cbc61b5540f1b9f39b19699673868e9c3eb
2014-08-23fdo#82577: Handle KeyCodeTor Lillqvist
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11 KeyCode typedef. Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-21Remove useless include tools/debug.hxx from forms and extensionsMarcos Paulo de Souza
Change-Id: Idc8ecbb65c7c4c63950d8b249e0d0d91788d6d3b Reviewed-on: https://gerrit.libreoffice.org/11012 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2014-08-21forms: CSS -> cssThomas Arnhold
Change-Id: Ib2fb1f4f4b64a67cebdebb6ebfb36dbe6878bef6
2014-08-21star* -> css::*Thomas Arnhold
Change-Id: I156d40badb1a11727d1320600a9d3af2b8b24e4a
2014-08-21stario -> css::ioThomas Arnhold
Change-Id: I4e82694399e72ce17172ac3d3c3cd9f9bcd30ba5
2014-08-21staruno -> css::unoThomas Arnhold
Change-Id: Ic82bbe5797d4f3c16096598cd566b917ee335a10
2014-07-26coverity#706541 Uncaught exceptionCaolán McNamara
and coverity#706537 Uncaught exception Change-Id: I403d83bb7aa4cf82edf1b6c608f9daac31576208
2014-07-11new loplugin: externalandnotdefinedNoel Grandin
Find "missing headers," where a function is declared directly in the .cxx (as extern) and not defined, and should arguably instead be declared in an include file. Change-Id: I6d83ee432b2ab0cd050aec2b27c3658d32ac02a2
2014-07-10use SimpleReferenceObject in forms moduleNoel Grandin
to replace hand-rolled version Change-Id: Ic95f4dfd1ae5ab414c68c52ad58c738f4ac1d9d1
2014-07-03use assert when followed by derefCaolán McNamara
Change-Id: I8405e4d8f9fa1de3ef6ee474321b4ac2b4ce1624
2014-07-01New loplugin:stringconcatStephan Bergmann
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-06-29Typo: beeing->beingJulien Nabet
Change-Id: I34937e400ac8576154d33e1e11b80690222f532c
2014-06-25fixes for up-casting to Reference<XInterface>Noel Grandin
Fix regressions introduced with 6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 "Use the new type-checking Reference constructor to reduce code noise" Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-06-25remove spurious com::sun::star::chaosMichael Stahl
Apparently some time before inital CVS import a global search-and-replace went horribly wrong and added spurious namespace prefixes everywhere. Change-Id: I4009bc3ab4b1d4c80412f75ad0e4628a382f99f0
2014-06-24coverity#706547 Uncaught exceptionCaolán McNamara
Change-Id: Ib619e1ab3f091c04ec27a249b733e54ce469cf82
2014-06-17rtl::Reference fits just fine hereStephan Bergmann
Change-Id: Icb1ba7f7068f60c4bd5eda7002415214b3d885f3
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-13loplugin:staticcallStephan Bergmann
Change-Id: I3c43c34e66772ce7e42b42be04e0591f2e78ec01
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-05forms: remove SAL_THROW macroNoel Grandin
Change-Id: I532f29e240cf29c5e65c919c4bcaccd86c510ce9
2014-06-04forms: expand DECLARE_XCLONEABLEThomas Arnhold
Change-Id: I2a468e40489797e33935b79a27459ab408558124
2014-06-04forms: expand DECLARE_DEFAULT_DTORThomas Arnhold
Change-Id: I52b091402ec23f9c5eb87ae2212cc5b4986c6435
2014-06-01Fixed lower case typo in header guard definitionJens Carl
Change-Id: Ib4f09892850bfcb72ddec0b0a924746495c5551f Reviewed-on: https://gerrit.libreoffice.org/9579 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-30fdo#68849: Add header guards to all include filesJens Carl
Added header guard to files in directories forms/ and fpicker/ Change-Id: I5a3a2b1f2aa81d048959cb3223e03ac985539f33 Reviewed-on: https://gerrit.libreoffice.org/9557 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-29remove more unnecesary OUString constructor useNoel Grandin
when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-27remove unnecessary use of Reference constructor in throwNoel Grandin
Convert code like this: throw IOException("xx", Reference< XInterface >(static_cast<OWeakObject*>(this)) ); to this: throw IOException("xx", static_cast<OWeakObject*>(this) ); Change-Id: Ife9f645f0f1810a8e80219126193015502c43dbb
2014-05-27Remove unnecessary semicolonsPeter Senna Tschudin
A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-25Remove ASCII art, useless comments and whitespace from forms moduleChris Laplante
Change-Id: Ib6157a493092a137a6b0bf5b96d0e760d307f9da Reviewed-on: https://gerrit.libreoffice.org/9472 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-14Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12Julien Nabet
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
2014-05-10Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part9Julien Nabet
Change-Id: I82ed4a4868cb22566706ca0f4b1321e0d45016cf
2014-05-09update_pch: add a bunch of pch filesThomas Arnhold
I had to fix some source files because of macro redefinitions and such stuff. Small modules like basic have a great win, too: make basic.clean && time make basic: with w/o pch pch accessibility 23s 1m59s basctl 30s 1m42s basic 56s 1m35s comphelper 23s 51s editeng 48s 2m04s forms 40s 1m40s unotools 19s 38s sd 3m37s 4m33s Change-Id: Id24cdcddbe2ff64820b42266325c25af1355558f Reviewed-on: https://gerrit.libreoffice.org/9293 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-08various: sal_Bool->boolNoel Grandin
Change-Id: I30fa5227f30373f95060148f269450d2945c1bb9
2014-05-08RFC: add IsValueChangedFromSaved to VCL button and listboxNoel Grandin
Add a method bool IsValueChangedFromSaved() to the various Button and Listbox classes. Use it to simplify code like if ( maBoldAppFont.GetSavedValue() != TriState(maBoldAppFont.IsChecked()) ) to if ( maBoldAppFont.IsValueChangedFromSaved() ) Change-Id: I26b291d0980237497063ee301d63a49c7d2bc227 Reviewed-on: https://gerrit.libreoffice.org/9250 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-07The opaque PostUserEvent IDs are actually pointersStephan Bergmann
...so declare them as such. This avoids the recurring mistake of storing such IDs as sal_uInt32, truncating in 64 bit environments, causing RemoveUserEvent to potentially not remove the event, it thus firing "too late" and probably causing a crash. While at it, consolidate the trivially unnecessary overloads of both Application::PostUserEvent and Window::PostUserEvent. And in each of them, it looks like deleting the mpLink member was missing from the failure branch. Change-Id: Iab13afbb06e12ac15dec6a6b5b85a7e402a3c654