summaryrefslogtreecommitdiffstats
path: root/unotools
Commit message (Collapse)AuthorAgeFilesLines
* Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini2012-10-011-1/+1
| | | | | | | Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* Unused code cleanup.Marcos Paulo de Souza2012-10-012-16/+0
| | | | Change-Id: Iad4d1f6cdd9ad03c5ccc02c57acef5b9bbb47d35
* Use comphelper::getComponentContextStephan Bergmann2012-09-291-9/+4
| | | | | | ...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-281-2/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-281-1/+2
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-281-0/+1
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* fdo#55019: Cope with empty TrustedAuthor entriesStephan Bergmann2012-09-251-2/+11
| | | | Change-Id: I9c01c1c718897a4be992150170a6ed9b5bd8a0a0
* rtl::OUString to OUString in unotoolsRicardo Montania2012-09-229-48/+48
| | | | | | | Change-Id: I9d045c6947fa2acb86befdb9bf43c666f82e8858 Reviewed-on: https://gerrit.libreoffice.org/670 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
* Bin other unused methodsJulien Nabet2012-09-202-10/+0
| | | | Change-Id: Ib3a7a90174b14c77d01285430151098142815867
* Dump some newly unused methodsJulien Nabet2012-09-202-12/+0
| | | | Change-Id: I3c2fd7eb1ccf445f7f389f7400784748a80aa929
* ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann2012-09-192-4/+3
| | | | | | ...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
* deprecate oustringostreaminserter.hxxNorbert Thiebaud2012-09-182-2/+0
| | | | | | | | | | | | | | | | | | | the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* Improvement on previous commitStephan Bergmann2012-09-171-25/+13
| | | | Change-Id: I609961ece562b7e02c542cfeb23d7c584a9663d9
* fdo#46808, Adapt i18n::LocaleData UNO service to new styleNoel Grandin2012-09-171-4/+4
| | | | | | | | | The implementation of the LocaleData implements the optional XLocaleData4, so rather than creating a new interface for the new-style service, we simply make the service implement XLocaleData4, which in turn implements XLocaleData3, XLocaleData2, XLocaleData. Change-Id: I3e9a48b031be6b2aa5e04b376b3940b942add85a
* update unused code listCaolán McNamara2012-09-171-9/+0
| | | | Change-Id: I4d6ad11fbe68420931e88defa20afbef290d4d24
* Improvement on previous commit, UCB clean upStephan Bergmann2012-09-145-189/+148
| | | | | | | | | | | | | | | | | | | | | | | | | * As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
* remove use of SAL_MIN() macroNorbert Thiebaud2012-09-141-1/+4
| | | | Change-Id: Ia91118388240c9a54d010b94aef34ad528ce5761
* hide duplication into anonymous namespaceMatúš Kukan2012-09-011-2/+2
| | | | Change-Id: Ie9a810f59d08d79636a0ad4b56adedb87479706e
* fix buildCaolán McNamara2012-08-291-19/+19
| | | | Change-Id: I3616e62689246a091d9f26d69105a27f64553d48
* Cleanup in Tools > Options > User DataUray M. János2012-08-292-1169/+243
| | | | | | | | | | | Change-Id: I4f0a0304d7dd23ed8ce011e6f8f90e170bfbe5df Cleanup in Tools > Options > User Data Change-Id: If89f19e22b6efeb0fdd811ff8afe2cb6c0b0bf4e Reviewed-on: https://gerrit.libreoffice.org/500 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
* resolved fdo#52240 fdo#52137 fdo#52288 user editable date patternsEike Rathke2012-08-295-8/+174
| | | | | | | | | | | | | | | | | | | | | | | | Implemented user editable date acceptance patterns. The introduction of strict date parsing using locale dependent date acceptance patterns in 3.6.0 wasn't always welcomed. Besides that not every locale had patterns for incomplete (only day and month) date input, users also complained about not being able to key in dates on numeric keypads if the locale's date separator wasn't '/' or '-' This commit implements a "Date acceptance patterns" edit field under Tools->Options->LanguageSettings->Languages that follows the selected locale and enables the user to add patterns. Example de-DE locale: * default patterns: D.M.Y;D.M. * to enable additional input on numeric keypad: D.M.Y;D.M.;D-M-Y;D-M * if 3-4 shall not result in a date, D-M- could be used instead of D-M * note that to enter an ISO 8601 Y-M-D date with a D-M-Y pattern active one needs to enter a year >31 or with at least 3 digits, e.g. 011 Change-Id: I9e20fcb168578b02d0f0248a0e209942e0f27113
* fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin2012-08-271-10/+6
| | | | Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
* fdo#46249: UCBContentHelper::GetTitle must not fail for void propertyStephan Bergmann2012-08-222-9/+15
| | | | | | | | | | | | This was a regression introduced with 2af9040d38af7c7353855415dbea0134585058f3 "Cleaned up utl::UCBContentHelper." GetSize exhibited the same problem and has also been fixed. IsYounger exhibits a similar problem, but has not been addressed, as it is unclear what to return in case no dates can be compared; it is only used in one place (handling SID_EDITDOC in SfxViewFrame::ExecReload_Impl, sfx2/source/view/viewfrm.cxx) where, it appears, only contents for which DateModified /does/ yield a non-void value are relevant. Change-Id: Iff9f5e1ed6f45eede117713d64a265b98f6862b1
* WaE parameter shadow memberNorbert Thiebaud2012-08-182-5/+5
| | | | Change-Id: I231e41771e81f7e6f2939468e6b2175f2bc10101
* WAE parameter shadow memberNorbert Thiebaud2012-08-182-23/+23
| | | | Change-Id: Icf41caa23ce9a548223da4613a199116641e7fe5
* Partial replaced String with OUString in ScInterpreterSören Möller2012-08-181-0/+13
| | | | | | | | | Added wrapper using OUString instead of String to textsearch Change-Id: I866a109d60085da67ffa2fed3131c4e60b074bbf Reviewed-on: https://gerrit.libreoffice.org/425 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* gbuild: register all jarsMichael Stahl2012-08-171-6/+6
| | | | Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
* -Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2012-08-142-7/+3
| | | | Change-Id: Id5343222eea264c956ed0a6b545c59125352e110
* fdo#39468: Translate German comments in toolkit,unotools, & xmloffOliver Günther2012-08-102-13/+12
| | | | | | | | | | | Also checked the following with bin/find-german-comments (all false positives): - sysui - xml2cmp - udm - ucb Change-Id: I2c72f973f5cecf56d70b5419e56338170dd55a2e
* reduce ascii noise and useless commentsThomas Arnhold2012-08-0813-74/+0
| | | | Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
* remove include comments and boxesThomas Arnhold2012-08-088-29/+0
| | | | Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
* remove bogus date informationThomas Arnhold2012-08-071-6/+0
| | | | Change-Id: I2789153ee35f4ec10e760f9412eb7d379de031bf
* remove empty ascii boxes and stuff IIIThomas Arnhold2012-08-071-12/+0
| | | | Change-Id: I8b54e8518c219a7edd7e29173a1099611a7e0dbb
* remove empty ascii boxes and stuffThomas Arnhold2012-08-071-4/+0
| | | | Change-Id: Ied91b5b298f0cfad0d3408c3cbb87c7bd1b83247
* Typo ressource -> resourceStephan Bergmann2012-07-302-8/+8
| | | | Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
* Replaced deprecated tools/String with OUString in sc/../chgvisetSören Möller2012-07-112-0/+36
| | | | | | Added new TextSearch::SearchForward mirroring TextSearch::SearchFrwrd using OUString and sal_Int32 to make it possible to replace all uses of tools/String Change-Id: I260d8d3a23d634eab37f28a5ceaf61ace5040540
* re-base on ALv2 code. Includes:Michael Meeks2012-07-11126-2891/+1773
| | | | | | | | | | | | | Avoid some uses of non portable #!/bin/bash in shell scripts. Patch contributed by Pedro Giffuni http://svn.apache.org/viewvc?view=revision&revision=1235297 remove redundant namespace, patch contributed Mathias Bauer http://svn.apache.org/viewvc?view=revision&revision=1162610 removal of OS/2 port changes, and preferring our similiar tools/inc/tools/solar.h DLLPOSTFIX cleanup. i118595 - Removal of the use of getopt() from rscdep. Patch contributed by Andre Fische http://svn.apache.org/viewvc?view=revision&revision=1202270
* ditch String::CreateFromAsciiCaolán McNamara2012-07-035-9/+9
| | | | Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
* targetted improvement of UNO API includes / usageMichael Meeks2012-07-021-4/+1
|
* Remove unused definesThomas Arnhold2012-07-011-1/+0
| | | | Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
* Remove UNO includes commentsThomas Arnhold2012-06-295-11/+0
| | | | Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
* Remove unused header filesThomas Arnhold2012-06-272-480/+0
| | | | | | These were only referenced by Package_inc.mk... Change-Id: Idc771477595b9d221f9f2003b293fdd1ba7e1588
* Remove unused include filesThomas Arnhold2012-06-271-37/+0
| | | | | | Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
* tidy some resource stringsCaolán McNamara2012-06-261-13/+8
| | | | Change-Id: I611a276d048121084ec842d062129e042f3baea5
* reduce static_initialization_and_destruction chainCaolán McNamara2012-06-253-42/+5
| | | | Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
* TODO: get rid of this in another incompatible build with SW projectCaolán McNamara2012-06-252-22/+0
| | | | Change-Id: Ic3fb0c8eb37317d55bcdc6abc7ff9843ba11fac6
* unnecessary use of UniString::GetBufferCaolán McNamara2012-06-251-2/+2
| | | | Change-Id: If7d31a649a058a30196e1ed4be28b5c6c42640a0
* re-base on ALv2 code.Michael Meeks2012-06-221-23/+14
| | | | Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
* replace all but one .hdl include with equivalent .hpp includes.Michael Meeks2012-06-213-3/+3
| | | | Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
* re-base on ALv2 code.Michael Meeks2012-06-2118-426/+264
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce