summaryrefslogtreecommitdiff
path: root/toolkit
AgeCommit message (Collapse)AuthorFilesLines
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold5-31/+31
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann1-2/+2
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold4-19/+19
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-18avoid Wundef for various FIXME, FEATURE_NOT_DONE_YET and what notLuboš Luňák2-2/+2
Change-Id: I8e409ba63d32dca9a1c7f09d143165d1d702d642
2013-03-16Remove RTL_CONSTASCII_(U)STRINGPARAM (toolkit)Chr. Rossmanith9-56/+56
Change-Id: I558a97be9ed883242455e6fd29267aed5d0a550c Reviewed-on: https://gerrit.libreoffice.org/2772 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-16Replace String with OUString in toolkit(vclxprinter.cxx)Chr. Rossmanith2-14/+14
Change-Id: I265b413923837aaba47abf242803fae7359f8ea8 Reviewed-on: https://gerrit.libreoffice.org/2771 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-16Remove RTL_CONSTASCII_(U)STRING in toolkitChr. Rossmanith4-25/+23
Change-Id: I62c89716d93c4dfb51a38b78f795a532e2b1d0b7 Reviewed-on: https://gerrit.libreoffice.org/2770 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-03-09Work around -Werror=unused-local-typedefs from comphelper/stl_types.hxxStephan Bergmann1-4/+4
Change-Id: Id9f588e551b40a64bc86cae7c6d50f99659f94ab
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim2-0/+6
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-05doubled usingThomas Arnhold3-3/+0
Change-Id: Ib1d3213a688194bfb027b7bca5bd9ac1b7bb1b28
2013-03-04doubled includesThomas Arnhold10-13/+0
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04fdo#46808, clean up some old queryInterface() callsNoel Grandin1-1/+1
clean up stuff like this xI->queryInterface( getCppuType((const Reference< XExtendedInputSequenceChecker>*)0) ) >>= xISC; to xISC.set(xI, UNO_QUERY); Change-Id: I3b16a38c2a363440f6079cfe6ae47f009d3940db
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold2-4/+4
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-03-03fdo#60724: fix resizeable -> resizable misspelling found by lintianBjoern Michaelsen1-1/+1
Change-Id: I07488c02277292f96c08be6155edf0158976cc0b
2013-03-03coverity#735368: operation has no effectMarkus Mohrhard1-1/+1
Change-Id: Ibdb36f3b1df04dca7c4129ef4837317c991d7ae9
2013-03-03coverity#983201: fix memory leakMarkus Mohrhard1-3/+1
Change-Id: I0c6a4ed147c6afc1dcabaa33833b7ca50afb4607
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-25loplugin: improve indentationThomas Arnhold1-1/+1
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25fdo#38838,::rtl::OUString_to_OUStringelixir1-225/+225
Change-Id: I7c9ebd01c16ff066008e53de865560ad78215bab Reviewed-on: https://gerrit.libreoffice.org/2330 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-22fdo#39674: Rename menues to menuThomas Arnhold2-7/+7
Change-Id: Idc22167d1a0dc518b3f9e96884213140d07b565b Reviewed-on: https://gerrit.libreoffice.org/2316 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-22s/the the/the/Tor Lillqvist1-1/+1
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22coverity#982817 Out-of-bounds accessNorbert Thiebaud1-1/+1
Not sure if it just is coverity's parser that get confused or if the compiler can also be confused in that case.. but it does not hurt to be explicit, just in case. Change-Id: Iba9df7122584272645e7fb241c3f5fd2ed4481d1 Reviewed-on: https://gerrit.libreoffice.org/2250 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-20typo: allways -> alwaysAndras Timar1-1/+1
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-01-28fdo#46808, Convert some bits to new-style UNONoel Grandin1-3/+1
Change-Id: I505910ae117588d54b79e72c12368224b4632fb9
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl1-0/+2
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-22add AccessibleRelationMemberOf to AccessibleRelationSetCaolán McNamara1-0/+8
Change-Id: I716eb70ceb8005aa54a417d01c67bc139dc61c6f
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith1-1/+1
replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-15fdo#46808, Adapt SystemClipboard UNO service to new styleNoel Grandin1-7/+5
this is the datatransfer::clipboard::SystemClipboard service Change-Id: I00227a2d84e2f1eaf9ca1ebb4fbe1f1548a6621d
2013-01-14we only ever want the preferred window size from GetOptimalSizeCaolán McNamara1-1/+1
so remove the MAX and MIN options and simplify the whole lot Change-Id: Iaaf350c37e01f7fce434af760bcddb9b7d7135ea
2013-01-11QUARTZ is equivalent to MACOSXTor Lillqvist4-11/+11
So just check MACOSX in the sources, and don't pass any -DQUARTZ to compilations. Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
2013-01-09fix windows buildNoel Grandin1-1/+1
broken by my UNO changes Change-Id: I40910d3c9e2fadb9288208689e71a5ec4f367fd4
2013-01-09fdo#46808, convert UnoControl and sub-classes to XComponentContextNoel Grandin43-383/+352
Change-Id: I4ade267a44620f5a3af8009ac57a2456c62b83bc
2013-01-07allow menu items to be referred to by a nameCaolán McNamara1-2/+2
Change-Id: I8bb1c082e3948f919232b81e0f1f869b88fcd852
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin1-2/+1
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-07Call SetOutputSizePixelScaleOffsetAndBuffer for non-AndroidTor Lillqvist1-6/+1
Change-Id: I59febb87f3da3098e1644087b498d9821b5d7047
2012-12-20fix dialog language support mess fdo#42978Noel Power1-2/+7
during some rework ( not sure if it was me or not ) we try to register ControlContainerBase on construction as a XModifyListener ( but it's not ). Patch make ControlContainerBase implement XModifyListener now. iirc the code in question was moved from UnoDialogControl at some stage and it appears some balls were dropped :-) Change-Id: Ifc7084bd7260ceb06334117582facb95bafb6fed
2012-12-18Replace GUIBASE checks with equivalent OS checksTor Lillqvist1-2/+2
The idea is to get rid of GUIBASE and GUI checks as much as possible. GUIBASE=aqua <=> OS=MACOSX GUIBASE=WIN <=> OS=WNT GUIBASE=cocoatouch <=> OS=IOS GUIBASE=android <=> OS=ANDROID Don't set GUIBASE to these values any more in configure.ac either. GUIBASE_FOR_BUILD is not used anywhere. Conflicts: configure.ac postprocess/packcomponents/makefile.mk postprocess/packregistry/makefile.mk Change-Id: Ie0526b40e1073f2328ba6c333e28752104b0fed3
2012-12-06fdo#46808, Adapt util::NumberFormatsSupplier UNO service to new styleNoel Grandin1-6/+2
Change-Id: I58436d9eea0c38d14cde2dc01aa463d5d71912e9
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens3-8/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-29toolkit: s/EventEvent/Event/ in a11y complex testMichael Stahl1-5/+5
Change-Id: Ie8bf5881bb99d1d0c5202aadee69e330a5976528
2012-11-29API CHANGE a11y unpublishing and add/removeListener rename.Thorsten Behrens3-9/+9
The a11y API has never really been picked up by tools vendors, let's not tie ourselves up here for no good reason. This unpublishes all css::accessibility, and dependend API. With that, we can change the rather unfortunately-named add/ removeEventListener to be add/removeAccessibleEventListener, thus not conflicting with the XComponent methods of the same name. Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
2012-11-28fdo#46808, use service constructor for i18n::CollatorNoel Grandin2-10/+13
Change-Id: If6ad17fa9e274beff7ba872a095ced65438962af
2012-11-26Make ~Window more robustStephan Bergmann1-10/+13
...in cases where the Window(WindowType) ctor did not call Window::ImplInit, so many members are null; if then a derived class's ctor throws an exception, ~Window must be careful not to dereference those null members. Change-Id: I12c4b1b5d7f3633387b85acf9da6d57c42e793b4
2012-11-23some i18n wrappers with LanguageTagEike Rathke1-11/+3
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-22get rid of unnecessary LocaleDataWrapper temporary instancesEike Rathke1-0/+1
Change-Id: I17d9a502565d445b0eab9ef6e9123661850292b7
2012-11-22AllSettings with LanguageTagEike Rathke4-3/+4
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-20fdo#51304: Remove @author annotationJosé Guilherme Vanz5-5/+0
This commit removes some @author annotations and some cleanup. Change-Id: Iaf2c4465825dc73af6c1d7377ae847262721c22b Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1122 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-11-19warning C4100: unreferenced formal parameterMichael Stahl1-1/+1
Change-Id: I49da06b94bdc91b1cdc4bb3d047804d353b0aba8
2012-11-16targetted cleanup of misc. vba pieces.Noel Power2-8/+5