summaryrefslogtreecommitdiffstats
path: root/unotools
Commit message (Collapse)AuthorAgeFilesLines
* loplugin: improve indentationThomas Arnhold2013-02-251-14/+7
| | | | Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
* fdo#60724 - change 'charcter' to 'character'sadam362013-02-251-1/+1
| | | | | | | | | | Changed all occurrences of 'charcter' found by git grep. All of them were used in comments only, so it should not break anything. Change-Id: Ief2c00d929ae7972c55a4920fc0eaa8d6b18ab82 Reviewed-on: https://gerrit.libreoffice.org/2372 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
* loplugin: unused variablesThomas Arnhold2013-02-251-7/+0
| | | | Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
* fdo#38838 searched, replaced and removed String::CreateFromInt32().Jean-Noël Rouvignac2013-02-241-2/+2
| | | | | | | | | | | | | I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ And finally removed String::CreateFromInt32(). Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5 Reviewed-on: https://gerrit.libreoffice.org/2279 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Fix typo accessable/accessibleJulien Nabet2013-02-233-3/+3
| | | | Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
* sal: update log areasThomas Arnhold2013-02-234-29/+24
| | | | Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
* [Uu]sefull -> [Uu]sefulJulien Nabet2013-02-221-1/+1
| | | | Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
* typo: allways -> alwaysAndras Timar2013-02-201-3/+3
| | | | Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
* spelling: otherwhise -> otherwiseIvan Timofeev2013-02-171-1/+1
| | | | Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
* do not use the raw locale for osl_getTextEncodingFromLocale()Eike Rathke2013-02-151-3/+15
| | | | Change-Id: Iab7402721b5fbf20a05c9ff2725e52b012df2940
* Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac2013-02-142-20/+12
| | | | | | | | | ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f Reviewed-on: https://gerrit.libreoffice.org/1954 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* fdo#46808, remove unused header fileNoel Grandin2013-02-114-63/+0
| | | | | | The inline method in the header file is no longer used anywhere. Change-Id: If3ee13778e45edb619393e6adb2daa38d6cf4d35
* fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin2013-02-113-38/+17
| | | | | | And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
* Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac2013-01-301-7/+6
| | | | | | | Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
* 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
* PRODUCTEXTENSION: fix various obvious strings and such...Michael Stahl2013-01-181-1/+0
| | | | | | | | | | | ... to look pretty; most of these expect PRODUCTEXTENSION to be a word like "Beta" but nowadays it is ".micro.rc.alphabeta" numbers so there should be no space before it. ReplaceStringHookProc adds insult to injury by refusing to replace %ABOUTBOX variables unless some %PRODUCT is in the string. Change-Id: Ib676f3837ab0785529a226fc9359e8defacf3459
* fdo#46808, use new method OConfigurationTreeRoot::createWithComponentContextNoel Grandin2013-01-094-27/+6
| | | | | | | .. everywhere that was using createWithServiceFactory, and delete the old method. Change-Id: I02cb2bfbcc2390494383579d2f14caa4fc5b8014
* fdo#46808, new method OConfigurationTreeRoot::createWithComponentContextNoel Grandin2013-01-092-0/+21
| | | | | | | and use it to replace usage of createWithServiceFactory, and thus replace usage of XMultiServiceFactory. Change-Id: Id2f44066683ce17cf7a22f80916031556ef0e82a
* The "ProductSource" (MWS name) makes no sense any moreTor Lillqvist2013-01-062-16/+1
|
* remove use of #pragma optimizeLuboš Luňák2013-01-011-11/+0
| | | | | | | All these are years old, guessing from some comments as old as Windows 9x support. These workarounds do not seem to be needed now. Change-Id: If67baa5cdefcec33b28696c764b1ed96143b7ccd
* Revert "String Cleanup and news OUString methods/constructors"Tor Lillqvist2012-12-292-159/+24
| | | | | | Broke a unit test and made all tinderboxes red. This reverts commit 3179055dc3e267c961a5618c810fbc0df1858d72.
* String Cleanup and news OUString methods/constructorsRicardo Montania2012-12-282-24/+159
| | | | | | | Change-Id: Ia6142020330d0e12650fdc519b66f00e607eac42 Reviewed-on: https://gerrit.libreoffice.org/1491 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Get rid of C2U in unotools.Jan Holesovsky2012-12-282-24/+17
| | | | Change-Id: I0ec321e1e4cdf7f20dba31f42ff493b2f3c7e74d
* fdo#46808, Convert frame::Desktop to new style service.Noel Grandin2012-12-211-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
* Related: fdo#50284 apple's modern symbol font is unicode encodedCaolán McNamara2012-12-181-5/+95
| | | | | | | | | | | So codepoints that are from the legacy range need to be converted to their unicode equivalents even in the presence of an installed "symbol" font on MacOSX. This should work out ok if input codepoints that exist in the apple symbol unicode are used, they should be left untouched by this conversion. Change-Id: Ia9996e2d9bf632c86c8d26832d77c7c662cf1076
* 32bit compile fix for OString::valueOf usage.Michael Meeks2012-12-171-2/+2
|
* Resolves: fdo#31055 fallback to a default bullet on symbol lackCaolán McNamara2012-12-171-16/+27
| | | | | | | | | | | | | a) fix up some entries in Wingdings for which we do have a suitable mapping after all b) on complete failure for mapping to OpenSymbol show a default bullet, which is better than no glyph c) document that the original tables were against StarSymbol which had extra glyphs (and/or I thought it had) Change-Id: I5e43cc0a5216e76d00b7df1a69967e08c3656e21
* added FIXME-BCP47 marker, adapted debug checkEike Rathke2012-12-131-4/+5
| | | | Change-Id: I334b00c907099517d327bf6314c4e853530a58cf
* more explicit ctorsDavid Tardon2012-12-041-1/+1
| | | | Change-Id: If91343890d9ed29ff2887e47c7c0a332baa5a8e1
* fix SAL_WARN_UNUSED placementLuboš Luňák2012-12-011-1/+1
| | | | Change-Id: Icd320e2a7459b1850de42c83854ab8a905d97a56
* shake out unused option instancesCaolán McNamara2012-11-3018-18/+19
| | | | Change-Id: I2a7ac1ed79455f28f2ba2043b9183a77c63e68ab
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-3010-38/+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
* fdo#46808, use service constructor for i18n::CollatorNoel Grandin2012-11-304-20/+26
| | | | Change-Id: I15a360723e335345aad09e73fcb0f6815ed9e0d4
* Remove SvtStartOptionsStephan Bergmann2012-11-306-432/+0
| | | | | | ...the single remaining user can use officecfg/Setup.hxx instead. Change-Id: Icc1b56d820a9fcd7ecc52e279bcdde3aac4499d4
* Remove deprecated and unused entries from /org.openoffice.SetupStephan Bergmann2012-11-301-26/+2
| | | | | | ...but ooSetupInstCompleted is apparently not (yet) deprecated. Change-Id: I21237f804266e1f119bcf51f957ff4f22a64e3b2
* fdo#46808, use service constructor for i18n::NativeNumberSupplierNoel Grandin2012-11-272-12/+6
| | | | Change-Id: I092ca8f912e26f0743909920c6e740d648b8677e
* Make ~SearchParam non-inlineStephan Bergmann2012-11-252-0/+4
| | | | | | ...so clients do not need to link against tl merely because of ~String. Change-Id: I1cf1dd17c6bed96f6bea765747adbbe962a93fb1
* some i18n wrappers with LanguageTagEike Rathke2012-11-238-105/+107
| | | | Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
* obtain LanguageTag from SvtSysLocaleEike Rathke2012-11-216-73/+28
| | | | Change-Id: Iaee25f1d92349704eaae45e6582d31dfa718ddcb
* Bin pointless _SOLAR__PRIVATE which was always 1 anywayTor Lillqvist2012-11-201-2/+0
| | | | Change-Id: I98f35920f02d4ee71787a9968158b220af69bde6
* use LanguageTag::reset()Eike Rathke2012-11-162-6/+6
| | | | Change-Id: I592cb042465ceda960a0b34dfe3eb6d669868acf
* need more coffeeEike Rathke2012-11-161-2/+2
| | | | Change-Id: I0ca6898de11e42a36453e3f0fae8d86d84c9352f
* correct include order and include languagetag.hxxEike Rathke2012-11-162-0/+2
| | | | Change-Id: If7b7d10765faba62907eca35f77b8e8d4a1e9391
* merge failureEike Rathke2012-11-161-2/+2
| | | | Change-Id: I5c716353b231d9c36972bce8c99d9c3c3e74b1e4
* converted to use LanguageTagEike Rathke2012-11-168-72/+63
| | | | Change-Id: I25c5d965d953146e91903cf2ff8e6b58f978ad20
* changed tabs to spacesEike Rathke2012-11-151-24/+24
| | | | | | tabs creeped in with b4d1aaa074e2be9fd778134c40f99d2ab8a01e93 Change-Id: Idb73a4db82970a3af06e7d50e4d71d4a3ece44cf
* fdo#46808, use service constructor for i18n::NumberFormatMapperNoel Grandin2012-11-156-32/+38
| | | | | | | Also create a utility constructor for LocaleDataWrapper, which simplifies many of the calling sites. Change-Id: Ic8510b51c4201fa17fc0620e18d3e258e43636ba
* callcatcher: update unused code post binfilter deathCaolán McNamara2012-11-142-55/+0
| | | | Change-Id: I5b25d14ef2769126f98523551597f43812b9feb7
* Avoid global static dataStephan Bergmann2012-11-131-25/+23
| | | | | | | | | | | | | | | | | | | | | | | ...that (indirectly) allocates memory via rtl/alloc.h, thereby causing the rtl_cache_wsupdate_init thread to be spawned before main, as on Mac OS X that would interfere with the code in sal_detail_initialize to close all file descriptors >= 3 -- on Mac OS X the pthreads implementation makes use of KQUEUE file descriptors. * This commit removes enough global static data to make ui-preview work again on Mac OS X (where it crashed at startup when the main thread closed the KQUEUE fd used by pthreads implementation threads). gengal uses further static data (at least from module sb), so needs further clean-up. * Avoiding global static instances derived from class Application required the introduction of vcl/vclmain.hxx. * That the vcl library was linked against the static vclmain library (which only provides an implementation of main) appears to me to be a historic relic (all executables should either include a SAL_IMPLEMENT_MAIN or link against vclmain), so I removed that. Change-Id: I048aa616208cb3a1b9bd8dcc3b729ba1665729bd
* fdo#36324 fdo#42929 - option to ingore system input language changesJeremy Brown2012-11-122-3/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Created a new checkbox on the Langauges options page: [] Ignore system input language This is unchecked by default so that the current behavior remains the default, i.e. newly entered text will be flagged as whatever the current system input language is. When checked however, this instructs LibreOffice to ignore the system language (on Windows for example, the language from the Language Bar) when determining the language for newly entered text. This is handled in the lcl_isNonDefaultLanguage method of sw/source/ui/docvw/edtwin.cxx. The option is also saved in registrymodifications.xcu There are two main use cases: 1. This allows someone to use a single "international" keyboard on Windows to type in multiple languages, (e.g. English, French, Spanish) without changing the system keyboard. The person is then responsible for setting the language for each word or run of text themselves in LibreOffice. This seems to be the preferred workflow for some translators and some educators developing language materials. 2. This allows someone writing in a minority language that is not represented in one of Windows' locale options to still be able to type in LibreOffice in their language using a keyboard tagged for another language. Once they set the language in LibreOffice (e.g. to Teke-Eboo [ebo_CG]), they can type with a keyboard as being for "Swahili" but still succeed in entering new text in their language. This allows spell-checking to work properly without them having to select each new word they enter and reset the language of that word to Teke-Eboo (as is currently the case). Change-Id: I86248f5865b69048eb1f3e427a8c03b093138796 Reviewed-on: https://gerrit.libreoffice.org/1029 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>