summaryrefslogtreecommitdiff
path: root/reportdesign
AgeCommit message (Collapse)Author
2014-06-19fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-18Suppress implicit OObjectBase copy ctorStephan Bergmann
(that would choke on incomplete OPropertyMediator type used in rtl::Reference) Change-Id: I61dec2847d9ff387dca247d2d554c8f8f3147379
2014-06-18rtl::Reference fits just fine hereStephan Bergmann
Change-Id: I354b546654e665607d9be0d65f6327fabb5694de
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-13loplugin:staticcallStephan Bergmann
Change-Id: I0d254902727f6d9c874aaeed7c22096f282422d0
2014-06-10tweak things to allow switching between small and large toolbar iconsCaolán McNamara
Change-Id: Ife4da4c6f4acc3b3f9fde18cdfc09635cf9b6776
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-05various: remove SAL_THROW macroNoel Grandin
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-04...and avoid SolarMutex deadlock when joining FactoryLoader threadsStephan Bergmann
Change-Id: I6ae206d18dc03f99739ea20c72853db9662924d2
2014-06-04Missing launch of FactoryLoader threadsStephan Bergmann
...regression introduced with 06a09dd0ad1e8afcf69e877501036e068d477438 "Join FactoryLoader threads." (Also, hopefully, the original use of osl::Thread::setPriority was just cargo cult, as salhelper::Thread does not make that feature available to clients, so it had been dropped in 06a09dd0ad1e8afcf69e877501036e068d477438.) Change-Id: I055c8fb20f3bbf13ba823436be24167d3446ed05
2014-06-04Left over "SAL_CALL"Stephan Bergmann
Change-Id: I02cf4b4a145e29dc1bc529f0c0fbfbc4a6cdc47e
2014-06-04Join FactoryLoader threadsStephan Bergmann
Change-Id: I22b313a895057edebc8bee715813de908826763a
2014-05-28coverity#706505 Uncaught exceptionCaolán McNamara
Change-Id: Ia00361fb1d86223a7ed65f0be295b291183e3ad6
2014-05-27reportdesign: Fix applying the last used colorMaxim Monastirsky
The last used color is stored inside SvxColorToolBoxControl, so we must call its Select method to do that. (This also fixes using the last shape, See commit ce842113ae728e8995c7c5398204a20d0707e843 for a fix of exactly the same problem in chart2.) For the font color, there was also another problem: The SID used for that button is SID_ATTR_CHAR_COLOR2. The problem is that SvxColorToolBoxControl::Select actually calls for that SID the ".uno:CharColorExt" command instead of ".uno:FontColor" (which activates in writer the format paintbrush mode). Given that since commit 584b415924bba22db23a4258062e54973de0ed7c this command also receives the last used color as argument, the easiest solution is to register ".uno:CharColorExt" here as well. Change-Id: I2db25a7fb537ce10dfec7b1c2d049dd77d9f8f6b
2014-05-27fdo#67937 "print on group change" defaults to TRUELionel Elie Mamane
Thus it needs to be saved when it is *false*. Change-Id: I01bae547afe71ede12fb852c1a9040b7e45bf7b9 Reviewed-on: https://gerrit.libreoffice.org/9502 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-05-27OXMLSubDocument: copy PrintWhenGroupChange, tooLionel Elie Mamane
Change-Id: If6a5d9a50f5d600b96faebc51b9798a8e63eec49 Reviewed-on: https://gerrit.libreoffice.org/9501 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-05-27remove unnecessary use of OUString constructor when throwingNoel Grandin
Change-Id: I4a3f3f911dcfbf88696053215a2fb7a94678244c
2014-05-26coverity#704659 Unchecked dynamic_castCaolán McNamara
Change-Id: I773351290293b1e54f6e983852baf6ffd2fc3e05
2014-05-25reportdesign: Update shape buttons with sub toolbar selectionMaxim Monastirsky
Change-Id: Ie39f1005182da118475fdf9c4e463bfb902d4446
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23coverity#1215313 Uncaught exceptionCaolán McNamara
Change-Id: I22cd98a35c6c638e3476d54b742762d8a2dfa7fa
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-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-17Comment why it's not a copy paste errorJulien Nabet
See http://nabble.documentfoundation.org/Question-unoType-for-getXmlToken-dbaccess-reportdesign-module-td4109071.html Thank you Lionel! Change-Id: I999bad0d6de0327bea7ba04a6c61a497d45f53a0
2014-05-14Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12Julien Nabet
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
2014-05-14update_pch: add reportdesignThomas Arnhold
3m44s reduced to 53s... Change-Id: I9a7601e4cb23430b850fe4303e7da877ab1d63e2
2014-05-14fix-includes.pl: reportdesignThomas Arnhold
Change-Id: I01ad1f4c3a8e0ee8173ceb147ce20945b7d5433d
2014-05-14Keep only one class for toolbox color controlsMaxim Monastirsky
instead of 5 (mostly identical) classes. Also the following bugs were fixed: * All pickers now use split buttons. (fdo#45671) * Color palette now indicates the current color. (fdo#73891) (Previous changes related to that bug are reverted as part of this commit.) * Selecting a color from a float panel now updates the button. (fdo#77683) * For Font color/background color in Writer, the color that is shown on the button, is always the one that's actually used. (Can be a different color after hiding the toolbar.) * For Font color/background color in Writer, the button now indicates when we're in the format paintbrush mode. (Removed in 085e8a07e61ef2d3a82e11094d8773ab17cfdb3c for some reason.) Change-Id: Idb4829552240c52fb0882aca627c8177bbe2f839
2014-05-13Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part11Julien Nabet
Change-Id: Ibe0a1006aba2b6cbd87c0bd6ca3acbf9ba7b0fbe
2014-05-11Fix previous commit (reportdesign part, following)Julien Nabet
Change-Id: Ib55bdc21fa6081c55777465115538905c1cab5e0
2014-05-11Fix previous commit (reportdesign part)Julien Nabet
Change-Id: I490326abccac237bd70209d2a3dd623ebd5c59a2
2014-05-11Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part10Julien Nabet
Change-Id: I67acda35fa127547dcea0cd18c9dc16db7c00294
2014-05-10Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part9Julien Nabet
Change-Id: I82ed4a4868cb22566706ca0f4b1321e0d45016cf
2014-05-08typosThomas Arnhold
Change-Id: I2e7676ddec446dfdb72018a1039d6271f963376c
2014-05-08reportdesign: sal_Bool->boolNoel Grandin
Change-Id: Ib3e7a51a8b01165d4706857f7b347d622c2e624a
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
2014-05-06remove uncompiled source filesThomas Arnhold
Change-Id: I0c581bb48f101a84d0f0c4ceb7b064cff0d509d6
2014-05-02reportdesign: sal_Bool->boolNoel Grandin
Change-Id: I7a269dbf163f4c839b6c553c7b096185fe2f8a01
2014-04-29coverity#1210196 Uninitialized pointer fieldCaolán McNamara
Change-Id: Ib6add605efa2588ac357185687b22c2a6b8863ca
2014-04-29coverity#1210201 Uninitialized pointer fieldCaolán McNamara
Change-Id: I94c4853524eea306dd53a7a747f94735e0be0752
2014-04-23huge hrc and src file cleanupThomas Arnhold
* mostly fallout from ui conversion * some completely unused defines from src files * lots of unused HID ids Change-Id: I976561205798db3d06ee139de6223f638e58f47a Reviewed-on: https://gerrit.libreoffice.org/9142 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-04-22clean up hrc filesThomas Arnhold
and remove some unused stuff Change-Id: Iea6177c3d2f9d0668187e66155b62688ae2ecb04
2014-04-21remove comments why a file gets includedThomas Arnhold
also remove some commented out code Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-19fixincludeguards.sh: reportdesignThomas Arnhold
2014-04-19Remove gcc3 workaround for bug long since fixed in gccChris Sherlock
Change-Id: Ieb1c41481a79ab8713663caee3d5373640ff0ec8 Reviewed-on: https://gerrit.libreoffice.org/9102 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-04-14fdo#76294: Fix the build.Kohei Yoshida
Change-Id: I123751e9f08faaccc06649c2f8b29a9a33548312
2014-04-14Clean up function declarations and some unused functionsStephan Bergmann
Change-Id: I367acc372d6b5996430a2c560e776a469b7e0007
2014-04-14typo: noone -> no oneThomas Arnhold
2014-04-14typo: currect -> currentThomas Arnhold