summaryrefslogtreecommitdiff
path: root/padmin/source
AgeCommit message (Collapse)AuthorFilesLines
2013-05-29fdo#60724 change spelling error REMOVEABLE -> REMOVABLE IIThomas Arnhold3-3/+3
Change-Id: I0057b9174af6a83f3fde0e27c3a91a4aeca95873 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-05-22AppendAscii cleanupRicardo Montania1-2/+6
Change-Id: I7398272de0bd340ebfb5f31b314d32fcff007eec Reviewed-on: https://gerrit.libreoffice.org/3974 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-16replace %s in printer settings dialog with printernameCaolán McNamara1-13/+9
Change-Id: I9594d929316b917b47b40324e3e6666043ddc1fe
2013-05-16Remove code associated with psprint::CompatMetricOverride serviceNoel Grandin1-1/+1
We don't actually have any implementations of this service. This service was introduced by commit 01cf481111436df2cc3f01d1c57cc4348fc037ef Author: Kurt Zenker <kz@openoffice.org> Date: Wed Jun 20 09:07:44 2007 +0000 INTEGRATION: CWS compmetric (1.77.2); FILE MERGED 2007/05/09 16:27:46 pl 1.77.2.2: #146890# algorithm is needed 2007/05/09 12:13:59 pl 1.77.2.1: #146890# backwards compatibility service for metrics Michael Stahl seems to think it was a Sun-internal hack introduced for a specific customer. Change-Id: I1b27778f827504c2adb0e27e8d7c0f0dedcaf940 Reviewed-on: https://gerrit.libreoffice.org/3824 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-05-15String.AppendAscii DropRicardo Montania4-18/+12
Signed-off-by: Luboš Luňák <l.lunak@suse.cz> https://gerrit.libreoffice.org/#/c/3892/ Change-Id: I12175a81f0a74546b5e00633176f204b9a3fb35c
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák12-76/+63
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
2013-04-05new module i18nlangtagEike Rathke1-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
2013-03-29ResMgr with LanguageTagEike Rathke1-8/+4
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-28Remove RTL_CONSTASCII_(U)STRINGPARAM in padminChr. Rossmanith3-24/+20
Change-Id: Icdf78be74a1ce82de50772e9424dbc172f355484
2013-03-27-Wunused-macrosStephan Bergmann1-2/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-19further OUString cleanupThomas Arnhold1-1/+1
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold1-1/+1
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-14fix the non-intuitive OUString::replaceFirst() usageLuboš Luňák1-10/+10
Change-Id: I98ffe293dbdc900f702d63ee3d3d58dec27b9f7e
2013-03-12Len() != isEmpty()Caolán McNamara1-1/+1
Change-Id: I249c0cd072c51c07fddac730791468952a0757af
2013-03-12Len() != isEmpty()Caolán McNamara1-4/+4
Change-Id: Ia8ba54ec3a99e7d72a6c97fa4082f9e605b6575c
2013-03-12Len() != isEmpty()Caolán McNamara1-1/+1
Change-Id: I42151d1f406ad43fae3c720c5c2663789a23cf8e
2013-03-12Len() != isEmpty()Caolán McNamara1-2/+2
Change-Id: I56e29f20b4c4eaf73b98c1190040629ca36066e4
2013-03-12fdo#38838: Replaced some String with OUStringelixir6-100/+95
Change-Id: I1a5f4acb22db42173f4489655f5e702c4cee7c1c Reviewed-on: https://gerrit.libreoffice.org/2675 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11use startsWith() instead of compareToAscii()Thomas Arnhold3-11/+11
brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim4-0/+12
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-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong1-2/+0
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-04doubled includesThomas Arnhold1-2/+0
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith5-8/+8
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>
2012-12-17convert print properties tabdialog to .ui formatCaolán McNamara5-103/+50
the dialog itself that is, two of the pages are in .ui format and the rest are pending conversion Change-Id: I5a22cf1603abb0400272ce8969c0b43a00ed7739
2012-12-17split out printer paper page and adapt code to .uiCaolán McNamara4-126/+45
Change-Id: I95266926801ab5cb63ec012b37cd35757ec541ef
2012-12-14split out printer device page and adapt code to .uiCaolán McNamara4-181/+72
Change-Id: I7eacd837aacba452ab55ce707c3c032b2efadfb3
2012-12-14ps level 2 and level 3 both assigned the id for level 2Caolán McNamara1-1/+1
Change-Id: Ia35c9fbcc023d29a5a0ecff04fa688aa00ce30e8
2012-11-30Related: fdo#44664 spadmin support for forcing "postscript of driver level"Caolán McNamara2-4/+27
pdf of 0 and ps of 0 == automatically pick pdf if pdf is default backend. Which means that spadmin wasn't able to disable pdf if one selected "postscript of driver leve", though picking an explicit postscript level would work. So we need to tweak things to use the pdf flag to be either automatic, explicitly pdf or explicitly ps Change-Id: Ic5382a3eb9cbcff39d363723825e75851d73520e
2012-11-22AllSettings with LanguageTagEike Rathke1-1/+2
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-13Avoid global static dataStephan Bergmann1-1/+5
...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
2012-11-13convert extension dialog to .uiCaolán McNamara1-2/+1
Change-Id: I4d938be9e960f421398dd40bbcf1b3cadc643de1
2012-11-05fdo#46808, rename methodNoel Grandin1-1/+1
Rename utl::OConfigurationTreeRoot::tryCreateWithServiceFactory to utl::OConfigurationTreeRoot::tryCreateWithComponentContext Change-Id: Ib39b44b21d206b5fdfa4162106fbdeb30b1dd37c
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin1-1/+1
...in favor of existing new-style configuration::theDefaultProvider singleton. Theoretically, ConfigurationProvider instances can be created with specific Locale and EnableAsync arguments, but this is hardly used in practice, and thus effectively all uses of the ConfigurationProvider service use the theDefaultProvider instance, anyway. theDefaultProvider is restricted to the XMultiServiceFactory interface, while ConfigurationProvider also makes available XComponent. However, dispose must not be called manually on theDefaultProvider singleton anyway, and calls to add-/removeEventListener are so few (and in dubious code that should better be cleaned up) that requiring an explicit queryInterface does not really hurt there. This commit originated as a patch by Noel Grandin to "Adapt configuration::ConfigurationProvider UNO service to new style [by creating] a merged XConfigurationProvider interface for this service to implement." It was then modified by Stephan Bergmann by deprecating ConfigurationProvider instead of adding XConfigurationProvider and by replacing calls to ConfigurationProvider::create with calls to theDefaultProvider::get. Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-31Get rid of vcl::unohelper::GetMultiServiceFactoryStephan Bergmann1-2/+2
...which effectively is just a glorious wrapper around comphelper::getProcessServiceFactory. In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the rSMgr parameter to InitVCL. All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work fine. Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
2012-10-23fdo#46808, Adapt ui::dialogs::FolderPicker UNO service to new styleNoel Grandin1-31/+25
Create a merged XFolderPicker2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I4a2c2a8d491a8d5633c19ddcea547f0efe75b91d
2012-10-04sal_Bool->bool in padminNoel Grandin2-5/+5
Change-Id: Ica624c28b4e423531be3ef6a601f266d1cad1d07
2012-09-26sal_Bool -> bool, convert InitAccessBridge and friendsNoel Grandin1-1/+1
Change-Id: I08b5a76c68c67c3837427ad74106e170c64cdaaa
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann1-25/+4
* 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
2012-07-28Add more room to a label in print dialog too short for FR translationJean-Baptiste FAURE1-1/+1
Change-Id: Ib54c7f58cf1d2e510b65038a6a0c21da2d6fd186
2012-07-03ditch String::CreateFromAsciiCaolán McNamara4-9/+9
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-02re-base on ALv2 code. Removing:Michael Meeks12-277/+169
a patch contributed by Pedro Giffuni to handle FreeBSD issues that are unlikely to be an issue with a two-layer LibreOffice. http://svn.apache.org/viewvc?view=revision&revision=1180509
2012-07-02Remove unused definesThomas Arnhold1-2/+0
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-06-26removed unnecessary forward declarations of classTakeshi Abe1-1/+0
Change-Id: Id08393f66797ef1c4378c8f3549d0900d4f1c7ec
2012-06-22re-base on ALv2 code.Michael Meeks1-23/+14
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21re-base on ALv2 code.Michael Meeks11-262/+163
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks1-23/+14
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-15hrc cleanup: Remove completely unused RIDsThomas Arnhold2-26/+0
These RID definitions aren't used at any other point. So remove them. Unused START and END definitions were commented out for documentation purpose. All definitions in basctl/source/basicide/tbxctl.hrc were unused, so I removed this file. Change-Id: I4713188a12b9da912b2a91b85ea4e54ca1aeb994
2012-06-12Get rid of GRADIENT_* defines, they conflict with Windows GDI types.Jan Holesovsky1-1/+1
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
2012-06-01Targeted string re-work in padmin and saxThorsten Behrens1-2/+2
2012-05-31targeted string re-workNorbert Thiebaud2-19/+19
Change-Id: Ifd6b90778725d94a9338a53a4cdc514cdb595052