summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)Author
2013-04-05Remove SvtInternalOptionsThomas Arnhold
* 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> Notes: API CHANGE.
2013-04-05Drop jvmaccess and jvmfwk when no SOLAR_JAVATor Lillqvist
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
2013-04-04Not escape single quotes in src\hrc filesZolnai Tamás
Escaping them is not needed. Plus escaped quotes are taken into po files and make translater's work more uncomfortable. Change-Id: I2ea7218120bc3d9967bdf51091ef091acbf2b73c
2013-04-04continue String->OUString conversionLionel Elie Mamane
Change-Id: I44b816d6a270e8877e0db1408df4da3434932800
2013-04-04more efficent & readableLionel Elie Mamane
Change-Id: If24a2a8488f1b1142b12540e4b8b00eb26bd7873
2013-04-04replace only single wildcard by table.*Lionel Elie Mamane
not any string beginning with "*" Change-Id: I6afe4db0ae69632990eafb288f715ae9cf7ad837
2013-04-03remove obsolete helpids and cleanup uiconfig XMLMichael Meeks
/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
2013-04-03remove obsolete helpids and cleanup uiconfig XMLMichael Meeks
/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
2013-04-02fdo#46808, convert sdb::QueryDesigner to new styleNoel Grandin
Change-Id: I694dd16920304d0f07369e97c87a4a97b92eadeb
2013-04-02update pch filesThomas Arnhold
Change-Id: Ic33dd20a469d1905d2bdaf1ce3633e6ac6db8a4c
2013-04-01remove boilerplate commentsThomas Arnhold
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-03-31coverity#735355: Operands don't affect resultJulien Nabet
Change-Id: I772d3535bc2e84ec066a16666dedf302fc9f43b7
2013-03-30OSL_FAIL -> SAL_WARNThomas Arnhold
Change-Id: I1871e5e3a319b2d5177ae4bd470046c022c14eb7 Reviewed-on: https://gerrit.libreoffice.org/3121 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-03-29ResMgr with LanguageTagEike Rathke
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-29lol, rtl::OString("dbu").getStr()Eike Rathke
Change-Id: I17569815c069fc2acd3a7c81ce48905f321534e9
2013-03-28String::AppendAscii cleanup in dbaccessRicardo Montania
Change-Id: I6a6d695c9e4b850bc19a3a80c2d8343147724df6 Reviewed-on: https://gerrit.libreoffice.org/3068 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-27Remove ResId support for a few dbaui controlsMathias Hasselmann
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>
2013-03-27Use UI builder for database wizard's start pageMathias Hasselmann
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>
2013-03-27fdo#61794 Set maximum of LimitBox to SAL_MAX_INT64Zolnai Tamás
Change-Id: I1744c7f8f1d6d27d3e62feb0cade1280fea331f1
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-25remove external include guardsThomas Arnhold
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-26Do not needlessly include jvmaccess/virtualmachine.hxx in headerStephan Bergmann
Change-Id: Ieb1564eb7b477a7b239b07347f46fc55b64bd92b
2013-03-25fdo#46808, convert sdb::CommandDefinition to new-styleNoel Grandin
the service already existed, it just needed an IDL file Change-Id: I99c08b4e3a3ee0131b6fd904803efe7273cd1694
2013-03-25fdo#46808, use service constructorNoel Grandin
Change-Id: I349557ae5897ad668abab30b34b186e746b94c75
2013-03-25fdo#46808, Convert sdb::application::MacroMigrationWizard to new styleNoel Grandin
The service already existed, it just needed an IDL file Change-Id: I8299b12ba8f5f0c00b0ff44dab641a6f19826b01
2013-03-24Add builder support for a few dbaui controlsMathias Hasselmann
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>
2013-03-22Adjust indenting of a few commentsMathias Hasselmann
Change-Id: I5c72ea3b8c270c220be388d481569b82b7fa0ff7
2013-03-22dbwizsetup: Make pFinalPage a class memberMathias Hasselmann
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>
2013-03-22Use initialization list for ODbTypeWizDialogSetupMathias Hasselmann
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>
2013-03-21regenerate pchPeter Foley
Change-Id: Idacefb2e89dc2f8bd44e489b43b47847123476e2
2013-03-21Move setupwizard modify handler code.Chris
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>
2013-03-21Don't complain about missing colon in empty DSNMathias Hasselmann
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>
2013-03-20coverity#704618 Explicit null dereferencedJulien Nabet
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>
2013-03-20fdo#46808, Convert a bunch of comphelper::ComponentContext stuffNoel Grandin
.. to Reference<XComponentContext> mostly in the dbaccess module, but it also affected some other modules. Change-Id: I09b3f6fe7a9b33498b11d98b5521b5aeeb8882be
2013-03-20fdo#46808, Convert sdb::TextConnectionSettings to new styleNoel Grandin
The service already existed, it just needed an IDL file Change-Id: If86cb14d107077da5f10bddd81deda7cf61442ed
2013-03-19further OUString cleanupThomas Arnhold
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
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>
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
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-18fdo#61950 move report builder from bundled extensions to plain codeDavid Ostrovsky
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>
2013-03-17fix breakage introduced by String->OUString migrationLionel Elie Mamane
Change-Id: Ia509d23306e71b978247705daa9c9559adbae195
2013-03-15dbaccess: fix ambiguityThomas Arnhold
Change-Id: Ib25a9eab4ff2b2ba078f18d21e5f697c4fd62460
2013-03-15fdo#38838, String to OUString in dbaccessGergő Mocsi
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>
2013-03-15fdo#38838, String to OUString, in dbaccess/source/ui/browserGergő Mocsi
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>
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-03-13vcl: make Region ctors explicit to prevent overloading desastersMichael Stahl
Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
2013-03-12Revert "There's no reason for these defaults in one constructor but not the ↵Michael Stahl
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.
2013-03-12update pch headersLuboš Luňák
Change-Id: Ibb368e6a806666a73bf6bf1a097d14bc6e75b24d
2013-03-12There's no reason for these defaults in one constructor but not the otherLionel Elie Mamane
Change-Id: I62e9351a21b0519a3ef70c328f33e1b7f7427926
2013-03-11fdo#38838: Converting String/UniString to OUStringelixir
Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9 Reviewed-on: https://gerrit.libreoffice.org/2586 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>