summaryrefslogtreecommitdiffstats
path: root/dbaccess
Commit message (Collapse)AuthorAgeFilesLines
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-07380-3276/+3276
| | | | | | | | 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-056-6/+6
| | | | | | | | | | | 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
* Replace `compareTo(...) == 0` with ==Ashish Banerjee2013-04-051-1/+1
| | | | | | | | | | | Proposed patch for the following issue: https://bugs.freedesktop.org/show_bug.cgi?id=62096 Change-Id: Ib83a9051ea12c53642f781e5427a6ca728049a7f Reviewed-on: https://gerrit.libreoffice.org/3198 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
* Remove SvtInternalOptionsThomas Arnhold2013-04-052-2/+0
| | | | | | | | | | | | | * only Get/SetCurrentTempURL were used, but only for compatibility reasons, to remove old temporary directories (before 2001). Those should be gone today. * MailUIEnabled was false in the xcu file. * SID_MAIL_SENDDOC* are handled some lines further. Change-Id: I482719b0de9df0a77c2fef0bf25ae1fb68926375 Reviewed-on: https://gerrit.libreoffice.org/3180 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
* Drop jvmaccess and jvmfwk when no SOLAR_JAVATor Lillqvist2013-04-055-3/+22
| | | | | | | | | Just sprinkle #ifdef SOLAR_JAVA into the code instead. In the source for jvmaccess and jvmfwk such ifdefs can be removed as it isn't compiled unless SOLAR_JAVA. Change-Id: Ia8614f8bd6d833582d3b79b5fb75f9153fa79606
* Not escape single quotes in src\hrc filesZolnai Tamás2013-04-041-1/+1
| | | | | | | | Escaping them is not needed. Plus escaped quotes are taken into po files and make translater's work more uncomfortable. Change-Id: I2ea7218120bc3d9967bdf51091ef091acbf2b73c
* continue String->OUString conversionLionel Elie Mamane2013-04-041-1/+1
| | | | Change-Id: I44b816d6a270e8877e0db1408df4da3434932800
* more efficent & readableLionel Elie Mamane2013-04-041-2/+1
| | | | Change-Id: If24a2a8488f1b1142b12540e4b8b00eb26bd7873
* replace only single wildcard by table.*Lionel Elie Mamane2013-04-041-1/+1
| | | | | | not any string beginning with "*" Change-Id: I6afe4db0ae69632990eafb288f715ae9cf7ad837
* remove obsolete helpids and cleanup uiconfig XMLMichael Meeks2013-04-031-4/+4
| | | | | | | | | | /usr/bin/perl -pi.bak s/\s+statusbar:helpid="helpid:\d+"\s*/ /g; s/\s+toolbar:helpid="helpid:\d+"\s*/ /g; s|" />|"/>|g; Change-Id: Iebb40c7e168835e02a63c17b93adee4139069ee0
* remove obsolete helpids and cleanup uiconfig XMLMichael Meeks2013-04-0311-82/+82
| | | | | | | | | /usr/bin/perl -pi.bak s/\s+statusbar:helpid="helpid:\d+"\s+/ /g; s/\s+toolbar:helpid="helpid:\d+"\s+/ /g; s|" />|"/>|g; Change-Id: I3489a943476f9dae1bd6009e3cd2ea7ea04b6275
* fdo#46808, convert sdb::QueryDesigner to new styleNoel Grandin2013-04-027-18/+117
| | | | Change-Id: I694dd16920304d0f07369e97c87a4a97b92eadeb
* update pch filesThomas Arnhold2013-04-021-0/+2
| | | | Change-Id: Ic33dd20a469d1905d2bdaf1ce3633e6ac6db8a4c
* remove boilerplate commentsThomas Arnhold2013-04-0146-104/+8
| | | | Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
* coverity#735355: Operands don't affect resultJulien Nabet2013-03-311-1/+1
| | | | Change-Id: I772d3535bc2e84ec066a16666dedf302fc9f43b7
* OSL_FAIL -> SAL_WARNThomas Arnhold2013-03-303-19/+17
| | | | | | | Change-Id: I1871e5e3a319b2d5177ae4bd470046c022c14eb7 Reviewed-on: https://gerrit.libreoffice.org/3121 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* ResMgr with LanguageTagEike Rathke2013-03-291-3/+1
| | | | Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
* lol, rtl::OString("dbu").getStr()Eike Rathke2013-03-291-1/+1
| | | | Change-Id: I17569815c069fc2acd3a7c81ce48905f321534e9
* String::AppendAscii cleanup in dbaccessRicardo Montania2013-03-285-30/+30
| | | | | | | Change-Id: I6a6d695c9e4b850bc19a3a80c2d8343147724df6 Reviewed-on: https://gerrit.libreoffice.org/3068 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Remove ResId support for a few dbaui controlsMathias Hasselmann2013-03-272-14/+0
| | | | | | | | | | This removes the ResId constructors of dbaui::OpenDocumentButton and dbaui::OpenDocumentListBox. Change-Id: Ib1d80a3ae7757c81ef0ee6f25ee24e91adce532d Reviewed-on: https://gerrit.libreoffice.org/2888 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
* Use UI builder for database wizard's start pageMathias Hasselmann2013-03-2713-544/+726
| | | | | | | | | | | | | | | Actually the resource based code maintaining two pretty different pages in one single class: The start page of the setup wizard and the start page for the change datasource type wizard. Both dialogs looked pretty different so to simplify the UI definition and to reduce number of null pointers and branches in the underlaying code I've split dbaui::OGeneralPage into two separate classes that share a few common pieces. Change-Id: I690e178992c528de112d91cecf00cc3c5156f1cf Reviewed-on: https://gerrit.libreoffice.org/2887 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
* fdo#61794 Set maximum of LimitBox to SAL_MAX_INT64Zolnai Tamás2013-03-271-3/+1
| | | | Change-Id: I1744c7f8f1d6d27d3e62feb0cade1280fea331f1
* -Wunused-macrosStephan Bergmann2013-03-2712-53/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* remove external include guardsThomas Arnhold2013-03-251-2/+0
| | | | Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
* Do not needlessly include jvmaccess/virtualmachine.hxx in headerStephan Bergmann2013-03-262-0/+2
| | | | Change-Id: Ieb1564eb7b477a7b239b07347f46fc55b64bd92b
* fdo#46808, convert sdb::CommandDefinition to new-styleNoel Grandin2013-03-255-6/+5
| | | | | | the service already existed, it just needed an IDL file Change-Id: I99c08b4e3a3ee0131b6fd904803efe7273cd1694
* fdo#46808, use service constructorNoel Grandin2013-03-251-13/+9
| | | | Change-Id: I349557ae5897ad668abab30b34b186e746b94c75
* fdo#46808, Convert sdb::application::MacroMigrationWizard to new styleNoel Grandin2013-03-251-14/+2
| | | | | | The service already existed, it just needed an IDL file Change-Id: I8299b12ba8f5f0c00b0ff44dab641a6f19826b01
* Add builder support for a few dbaui controlsMathias Hasselmann2013-03-244-0/+43
| | | | | | | | | | | | This adds the needed methods and catalog definitions for dbaui::OGenericAdministrationPage, dbaui::OpenDocumentButton and dbaui::OpenDocumentListBox. Change-Id: I5b883c39f1cb9623c357e5ebec1632816547ff03 Reviewed-on: https://gerrit.libreoffice.org/2886 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Adjust indenting of a few commentsMathias Hasselmann2013-03-221-3/+3
| | | | Change-Id: I5c72ea3b8c270c220be388d481569b82b7fa0ff7
* dbwizsetup: Make pFinalPage a class memberMathias Hasselmann2013-03-222-11/+12
| | | | | | | | | It really should not have been a global variable. Change-Id: I26d4b0d4736a2d026eb61149ede88f6f6ead6dfa Reviewed-on: https://gerrit.libreoffice.org/2904 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Use initialization list for ODbTypeWizDialogSetupMathias Hasselmann2013-03-221-16/+16
| | | | | | | | | | Some members got initialized by assignment instead of initialization list without need. A refactoring artifact most likely. Change-Id: I6b1d4036a24bd26443ce7c6e44e51d08b8b83b20 Reviewed-on: https://gerrit.libreoffice.org/2903 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* regenerate pchPeter Foley2013-03-211-0/+2
| | | | Change-Id: Idacefb2e89dc2f8bd44e489b43b47847123476e2
* Move setupwizard modify handler code.Chris2013-03-211-5/+5
| | | | | | | | | | | Move setupwizard code into the conditional below it. You can only work on pPage if it isn't a null pointer anyway, to my mind this looks a lot cleaner. Change-Id: If8d910c15c5a1c1da5eb204b5922d074c454978b Reviewed-on: https://gerrit.libreoffice.org/2890 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Don't complain about missing colon in empty DSNMathias Hasselmann2013-03-211-2/+6
| | | | | | | | | | Empty datasource names occur with the datasource wizard's first page when no datasource type has been selected yet. Change-Id: I9bcd025aab046e6cb79db47564f55ae3f0faed55 Reviewed-on: https://gerrit.libreoffice.org/2885 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* coverity#704618 Explicit null dereferencedJulien Nabet2013-03-201-1/+1
| | | | | | | Change-Id: I9f3befc235b0fb7933294be4a97d168ef203a79c Reviewed-on: https://gerrit.libreoffice.org/2866 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* fdo#46808, Convert a bunch of comphelper::ComponentContext stuffNoel Grandin2013-03-2099-413/+415
| | | | | | | | .. to Reference<XComponentContext> mostly in the dbaccess module, but it also affected some other modules. Change-Id: I09b3f6fe7a9b33498b11d98b5521b5aeeb8882be
* fdo#46808, Convert sdb::TextConnectionSettings to new styleNoel Grandin2013-03-201-1/+24
| | | | | | The service already existed, it just needed an IDL file Change-Id: If86cb14d107077da5f10bddd81deda7cf61442ed
* further OUString cleanupThomas Arnhold2013-03-193-13/+11
| | | | Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-1918-43/+43
| | | | | | | | | 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-1/+1
| | | | Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-1945-168/+168
| | | | | | | | | | | 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>
* fdo#61950 move report builder from bundled extensions to plain codeDavid Ostrovsky2013-03-181-1/+1
| | | | | | | | | For test sample report from fdo#61726 can be used. Change-Id: Iacf8ddc4cf8ad0a408d72e18ecb7237476afeffe Reviewed-on: https://gerrit.libreoffice.org/2718 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
* fix breakage introduced by String->OUString migrationLionel Elie Mamane2013-03-172-28/+22
| | | | Change-Id: Ia509d23306e71b978247705daa9c9559adbae195
* dbaccess: fix ambiguityThomas Arnhold2013-03-151-1/+1
| | | | Change-Id: Ib25a9eab4ff2b2ba078f18d21e5f697c4fd62460
* fdo#38838, String to OUString in dbaccessGergő Mocsi2013-03-1511-77/+75
| | | | | | | | | | | | | | | Replaced String with OUString in module dbaccess/ui/app , and also removed RTL_CONSTASCII_USTRINGPARAM deprecated macro. Conflicts: dbaccess/source/ui/app/AppControllerDnD.cxx dbaccess/source/ui/app/AppControllerGen.cxx dbaccess/source/ui/app/AppDetailPageHelper.cxx dbaccess/source/ui/browser/unodatbr.cxx Change-Id: Ie385d44c328fb3f919d53a604d51640a334a1013 Reviewed-on: https://gerrit.libreoffice.org/2386 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* fdo#38838, String to OUString, in dbaccess/source/ui/browserGergő Mocsi2013-03-1514-426/+424
| | | | | | | | | | Applied fdo#38838 in dbaccess/source/ui/browser, + RTL_CONSTASCII_USTRINGPARAM removals Change-Id: I8a565cdae7fd9da1de05525c602ce011542ab4d5 Reviewed-on: https://gerrit.libreoffice.org/2538 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-3/+0
|
* vcl: make Region ctors explicit to prevent overloading desastersMichael Stahl2013-03-135-5/+9
| | | | Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
* Revert "There's no reason for these defaults in one constructor but not the ↵Michael Stahl2013-03-121-0/+4
| | | | | | | | | | | other" The reason is that dbaccess_unoapi dbaccess.ORowSet fails with: lib.StatusException: couldn't set up test environment at mod._dbaccess.ORowSet.createTestEnvironment(ORowSet.java:479) This reverts commit 36caac0e029a3caf50cb27af339efd69008d414e.