summaryrefslogtreecommitdiffstats
path: root/toolkit
Commit message (Collapse)AuthorAgeFilesLines
* fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza2013-04-201-1/+1
| | | | | | | | | Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Related: rhbz#867808 if one person threw by pointer...Caolán McNamara2013-04-162-9/+7
| | | | | | | then its guaranteed that someone else did too, review newed Exceptions Change-Id: Ie1ad78895e443a20a8663666cd6c8d3e5deb0727
* merge duplicated CreateFontDescriptor methodsCaolán McNamara2013-04-162-2/+5
| | | | Change-Id: I33f9df7f17158eedc4a4c0dedfd0fc4cddc6180f
* FontWeigth->FontWeightCaolán McNamara2013-04-151-1/+1
| | | | Change-Id: I6250c3e3de81c33e8f4d73e2f80570521fdb6ea6
* fdo#60724 successfull -> successfulThomas Arnhold2013-04-151-1/+1
| | | | Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
* fdo#60724 correct spellingThomas Arnhold2013-04-151-1/+1
| | | | Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
* more code overview documentation.Michael Meeks2013-04-081-0/+4
| | | | Change-Id: I1eb1ac2c88a906ea1a4c11194d79219c684afb76
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-07102-1349/+1340
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* new module i18nlangtagEike Rathke2013-04-051-1/+1
| | | | | | | | | | | Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
* drop prefix from ::cssThomas Arnhold2013-04-021-59/+59
| | | | | | as css is already ::com::sun::star Change-Id: I86b43843e4b74f990b6e05dee37184a002072d12
* remove boilerplate commentsThomas Arnhold2013-04-018-16/+2
| | | | Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
* Remove RTL_CONSTASCII_USTRINGPARAM in smoketest/sot/svl/toolkit/vbahelperChr. Rossmanith2013-04-012-5/+5
| | | | Change-Id: I0816631a1d0c68dcef9c640c91d00ac9942ded28
* Prefer prefix ++/-- operators for non-primitive typesJulien Nabet2013-03-301-2/+2
| | | | Change-Id: Ibf5004c1e66edac10ec6392577fe26ea2aaed330
* ResMgr with LanguageTagEike Rathke2013-03-291-3/+1
| | | | Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
* -Wunused-macrosStephan Bergmann2013-03-271-4/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* Bypass X11-specific fields for AndroidTor Lillqvist2013-03-274-0/+12
| | | | Change-Id: Ic8bfd4467b2fbcdcfa2caeb04d4ebe95f13863a2
* Bypass fields that are meaningless for iOSTor Lillqvist2013-03-274-0/+12
| | | | Change-Id: I66acafc1f7302242a2a43271b909bba331062bce
* Missing solar mutexStephan Bergmann2013-03-221-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...as witnessed by the triggered assert MSVCR90!wassert+0x641 vcllo!ImplDbgTestSolarMutex+0x72 [c:\lo\core\vcl\source\app\dbggui.cxx @ 1750] tllo!DbgFunc+0x47a [c:\lo\core\tools\source\debug\debug.cxx @ 1120] vcllo!DbgTestSolarMutex+0xd [c:\lo\core\solver\wntmsci12\inc\tools\debug.hxx @ 295] vcllo!OutputDevice::ImplInitClipRegion+0x2d [c:\lo\core\vcl\source\gdi\outdev.cxx @ 913] vcllo!Window::Invert+0xef [c:\lo\core\vcl\source\window\window2.cxx @ 411] vcllo!ImplCursorInvert+0x437 [c:\lo\core\vcl\source\window\cursor.cxx @ 120] vcllo!Cursor::ImplRestore+0x27 [c:\lo\core\vcl\source\window\cursor.cxx @ 159] vcllo!Cursor::ImplDoHide+0x40 [c:\lo\core\vcl\source\window\cursor.cxx @ 216] vcllo!Cursor::ImplHide+0x3c [c:\lo\core\vcl\source\window\cursor.cxx @ 234] vcllo!Window::ImplGrabFocus+0x4aa [c:\lo\core\vcl\source\window\window.cxx @ 4053] vcllo!Window::GrabFocus+0x52 [c:\lo\core\vcl\source\window\window.cxx @ 7544] tklo!StdTabController::ImplActivateControl+0x1fe [c:\lo\core\toolkit\source\controls\stdtabcontroller.cxx @ 152] tklo!StdTabController::activateFirst+0x45 [c:\lo\core\toolkit\source\controls\stdtabcontroller.cxx @ 354] msci_uno!`anonymous namespace'::callVirtualMethod+0x8a [c:\lo\core\bridges\source\cpp_uno\msvc_win32_intel\uno2cpp.cxx @ 76] msci_uno!`anonymous namespace'::cpp_call+0x4b3 [c:\lo\core\bridges\source\cpp_uno\msvc_win32_intel\uno2cpp.cxx @ 257] msci_uno!bridges::cpp_uno::shared::unoInterfaceProxyDispatch+0x321 [c:\lo\core\bridges\source\cpp_uno\msvc_win32_intel\uno2cpp.cxx @ 438] binaryurp_uno!binaryurp::IncomingRequest::execute_throw+0xaa8 [c:\lo\core\binaryurp\source\incomingrequest.cxx @ 245] binaryurp_uno!binaryurp::IncomingRequest::execute+0xe0 [c:\lo\core\binaryurp\source\incomingrequest.cxx @ 74] binaryurp_uno!request+0x6b [c:\lo\core\binaryurp\source\reader.cxx @ 85] cppu3!cppu_threadpool::JobQueue::enter+0x28d [c:\lo\core\cppu\source\threadpool\jobqueue.cxx @ 115] cppu3!cppu_threadpool::ORequestThread::run+0xc6 [c:\lo\core\cppu\source\threadpool\thread.cxx @ 175] cppu3!threadFunc+0x18 [c:\lo\core\solver\wntmsci12\inc\osl\thread.hxx @ 187] sal3!oslWorkerWrapperFunction+0x23 [c:\lo\core\sal\osl\w32\thread.c @ 60] during JunitTest_toolkit_unoapi on Windows (which does not use a headless mode for those tests). Whether locking the class instance's GetMutex() is really necessary here I do not know, but at least be careful to lock the global solar mutex first. Change-Id: Icbd7936f4bf8433ef6a36912566d43361e911429
* Re-work the vcl aspects of the iOS portTor Lillqvist2013-03-214-42/+0
| | | | | | | | | | | | | | | Don't try to use similar code as for OS X to manage windows, events etc. I.e. don't use UIKit in vcl to do that. Instead, just do as in the Android port, use the "headless" vcl backend. Do keep using CoreText, though, not FreeType & fontconfig. Start changing the iOS "Viewer" app to correspond to the Android "desktop" app (so it should be renamed). Work in progress since a long time, several crucial details still missing, but committing for now. Change-Id: Iac5fbf8def415e4d0d21e5200450a373420ad7ee
* Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann2013-03-202-3/+3
| | | | | | | ...which is a confusing overload with unexpectedly different semantics from the one-parameter form. In preparation of marking it as deprecated. Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
* fdo#46808, Convert a bunch of comphelper::ComponentContext stuffNoel Grandin2013-03-202-4/+6
| | | | | | | | .. to Reference<XComponentContext> mostly in the dbaccess module, but it also affected some other modules. Change-Id: I09b3f6fe7a9b33498b11d98b5521b5aeeb8882be
* Fix broken string cleanupStephan Bergmann2013-03-191-7/+7
| | | | Change-Id: Ia33c4143d9ef070915c60361e472f032d22cd663
* further OUString cleanupThomas Arnhold2013-03-192-4/+4
| | | | Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-195-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>
* Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann2013-03-191-2/+2
| | | | Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-194-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>
* avoid Wundef for various FIXME, FEATURE_NOT_DONE_YET and what notLuboš Luňák2013-03-182-2/+2
| | | | Change-Id: I8e409ba63d32dca9a1c7f09d143165d1d702d642
* Remove RTL_CONSTASCII_(U)STRINGPARAM (toolkit)Chr. Rossmanith2013-03-169-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>
* Replace String with OUString in toolkit(vclxprinter.cxx)Chr. Rossmanith2013-03-162-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>
* Remove RTL_CONSTASCII_(U)STRING in toolkitChr. Rossmanith2013-03-164-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>
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* Work around -Werror=unused-local-typedefs from comphelper/stl_types.hxxStephan Bergmann2013-03-091-4/+4
| | | | Change-Id: Id9f588e551b40a64bc86cae7c6d50f99659f94ab
* fdo#60691 add modelines to *.src and *.hrc filesBorim2013-03-082-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
* doubled usingThomas Arnhold2013-03-053-3/+0
| | | | Change-Id: Ib1d3213a688194bfb027b7bca5bd9ac1b7bb1b28
* doubled includesThomas Arnhold2013-03-0410-13/+0
| | | | Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
* fdo#46808, clean up some old queryInterface() callsNoel Grandin2013-03-041-1/+1
| | | | | | | | | clean up stuff like this xI->queryInterface( getCppuType((const Reference< XExtendedInputSequenceChecker>*)0) ) >>= xISC; to xISC.set(xI, UNO_QUERY); Change-Id: I3b16a38c2a363440f6079cfe6ae47f009d3940db
* Related to fdo#60724: correct spellingThomas Arnhold2013-03-032-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
* fdo#60724: fix resizeable -> resizable misspelling found by lintianBjoern Michaelsen2013-03-031-1/+1
| | | | Change-Id: I07488c02277292f96c08be6155edf0158976cc0b
* coverity#735368: operation has no effectMarkus Mohrhard2013-03-031-1/+1
| | | | Change-Id: Ibdb36f3b1df04dca7c4129ef4837317c991d7ae9
* coverity#983201: fix memory leakMarkus Mohrhard2013-03-031-3/+1
| | | | Change-Id: I0c6a4ed147c6afc1dcabaa33833b7ca50afb4607
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* loplugin: improve indentationThomas Arnhold2013-02-251-1/+1
| | | | Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
* fdo#38838,::rtl::OUString_to_OUStringelixir2013-02-251-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>
* fdo#39674: Rename menues to menuThomas Arnhold2013-02-222-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>
* s/the the/the/Tor Lillqvist2013-02-221-1/+1
| | | | Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
* coverity#982817 Out-of-bounds accessNorbert Thiebaud2013-02-221-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>
* typo: allways -> alwaysAndras Timar2013-02-201-1/+1
| | | | Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
* fdo#46808, Convert some bits to new-style UNONoel Grandin2013-01-281-3/+1
| | | | Change-Id: I505910ae117588d54b79e72c12368224b4632fb9
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-261-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
* add AccessibleRelationMemberOf to AccessibleRelationSetCaolán McNamara2013-01-221-0/+8
| | | | Change-Id: I716eb70ceb8005aa54a417d01c67bc139dc61c6f