summaryrefslogtreecommitdiff
path: root/reportdesign
AgeCommit message (Collapse)AuthorFilesLines
2014-07-09-Werror,-Wunused-private-fieldStephan Bergmann2-2/+0
Change-Id: I9d540c2a404600bba038853d73d0cce63f162ea2
2014-07-08drop unused helpidsCaolán McNamara1-4/+0
Change-Id: I43c8e1327731796498c6da42179ff085c26279b9
2014-07-08hook up scrollingCaolán McNamara4-43/+28
Change-Id: Iaf30a41dcc74e4542d3df60ca26354876badc81f
2014-07-08Convert RID_CONDFORMAT to .uiPalenik Mihály10-599/+748
Change-Id: I23ac6a7328a43c2fb63f2f804f6718f64e73eb8e
2014-07-04fix spelling in class name OSpecialHanldeXMLExportPropertyMapperNoel Grandin1-6/+6
Change-Id: Ideaa021f76f1c384150caad5ec6a41bf65bae28e
2014-07-03use assert when followed by derefCaolán McNamara1-1/+1
Change-Id: I8405e4d8f9fa1de3ef6ee474321b4ac2b4ce1624
2014-07-02drop UniReference in favour of rtl::ReferenceNoel Grandin10-45/+45
since they're doing the same thing. Change-Id: I76134b6b848db8628f315fe5bd9eb972a6bf0cb6
2014-07-01coverity#706608 Uncaught exceptionCaolán McNamara2-2/+3
Change-Id: I26cf7c33089ddfcbb7faf81295b9a9776c6a9065
2014-06-30error: direct base 'boost::noncopyable' inaccessible due to ambiguityMiklos Vajna4-4/+1
Change-Id: I3d2d530ebdb3341956e9b7a3c1f22b621a52deff
2014-06-27tweak assert so comment appears in abort messageCaolán McNamara1-1/+1
Change-Id: Ibf78e5cd1620f0b61cae030e3870be4a6f87e71d
2014-06-24new compilerplugin returnbyrefNoel Grandin4-14/+14
Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-19fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida5-7/+7
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-18Suppress implicit OObjectBase copy ctorStephan Bergmann1-1/+3
(that would choke on incomplete OPropertyMediator type used in rtl::Reference) Change-Id: I61dec2847d9ff387dca247d2d554c8f8f3147379
2014-06-18rtl::Reference fits just fine hereStephan Bergmann7-34/+26
Change-Id: I354b546654e665607d9be0d65f6327fabb5694de
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin16-52/+11
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-13loplugin:staticcallStephan Bergmann5-7/+7
Change-Id: I0d254902727f6d9c874aaeed7c22096f282422d0
2014-06-10tweak things to allow switching between small and large toolbar iconsCaolán McNamara6-14/+12
Change-Id: Ife4da4c6f4acc3b3f9fde18cdfc09635cf9b6776
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin4-10/+2
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-05various: remove SAL_THROW macroNoel Grandin8-22/+22
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-04...and avoid SolarMutex deadlock when joining FactoryLoader threadsStephan Bergmann1-0/+1
Change-Id: I6ae206d18dc03f99739ea20c72853db9662924d2
2014-06-04Missing launch of FactoryLoader threadsStephan Bergmann1-2/+3
...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 Bergmann1-1/+1
Change-Id: I02cf4b4a145e29dc1bc529f0c0fbfbc4a6cdc47e
2014-06-04Join FactoryLoader threadsStephan Bergmann1-17/+25
Change-Id: I22b313a895057edebc8bee715813de908826763a
2014-05-28coverity#706505 Uncaught exceptionCaolán McNamara2-2/+4
Change-Id: Ia00361fb1d86223a7ed65f0be295b291183e3ad6
2014-05-27reportdesign: Fix applying the last used colorMaxim Monastirsky3-0/+9
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 Mamane1-2/+2
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 Mamane1-0/+1
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 Grandin1-1/+1
Change-Id: I4a3f3f911dcfbf88696053215a2fb7a94678244c
2014-05-26coverity#704659 Unchecked dynamic_castCaolán McNamara1-5/+5
Change-Id: I773351290293b1e54f6e983852baf6ffd2fc3e05
2014-05-25reportdesign: Update shape buttons with sub toolbar selectionMaxim Monastirsky1-1/+6
Change-Id: Ie39f1005182da118475fdf9c4e463bfb902d4446
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet4-13/+13
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23coverity#1215313 Uncaught exceptionCaolán McNamara2-2/+4
Change-Id: I22cd98a35c6c638e3476d54b742762d8a2dfa7fa
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold8-15/+0
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 Laplante1-1/+1
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 Nabet1-0/+1
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 Nabet9-15/+15
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
2014-05-14update_pch: add reportdesignThomas Arnhold10-1/+698
3m44s reduced to 53s... Change-Id: I9a7601e4cb23430b850fe4303e7da877ab1d63e2
2014-05-14fix-includes.pl: reportdesignThomas Arnhold25-67/+67
Change-Id: I01ad1f4c3a8e0ee8173ceb147ce20945b7d5433d
2014-05-14Keep only one class for toolbox color controlsMaxim Monastirsky1-5/+2
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 Nabet2-73/+73
Change-Id: Ibe0a1006aba2b6cbd87c0bd6ca3acbf9ba7b0fbe
2014-05-11Fix previous commit (reportdesign part, following)Julien Nabet1-1/+1
Change-Id: Ib55bdc21fa6081c55777465115538905c1cab5e0
2014-05-11Fix previous commit (reportdesign part)Julien Nabet1-32/+32
Change-Id: I490326abccac237bd70209d2a3dd623ebd5c59a2
2014-05-11Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part10Julien Nabet5-43/+43
Change-Id: I67acda35fa127547dcea0cd18c9dc16db7c00294
2014-05-10Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part9Julien Nabet1-1/+1
Change-Id: I82ed4a4868cb22566706ca0f4b1321e0d45016cf
2014-05-08typosThomas Arnhold1-2/+2
Change-Id: I2e7676ddec446dfdb72018a1039d6271f963376c
2014-05-08reportdesign: sal_Bool->boolNoel Grandin24-87/+208
Change-Id: Ib3e7a51a8b01165d4706857f7b347d622c2e624a
2014-05-08RFC: add IsValueChangedFromSaved to VCL button and listboxNoel Grandin1-8/+8
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 Bergmann1-2/+2
...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 Arnhold5-114/+0
Change-Id: I0c581bb48f101a84d0f0c4ceb7b064cff0d509d6
2014-05-02reportdesign: sal_Bool->boolNoel Grandin85-505/+510
Change-Id: I7a269dbf163f4c839b6c553c7b096185fe2f8a01