summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)Author
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>
2013-03-11use startsWith() instead of compareToAscii()Thomas Arnhold
brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
2013-03-11fdo#61726: rename report-builder package to org.libreoffice.reportDavid Ostrovsky
To prevent future clashes with uno name space rename the com.sun.star.report package to org.libreoffice.report. Bump the version to 1.2.4. Change-Id: Ia06cb7ad8c1528c1d5b5eeb70f1e4b2aa854b70f Reviewed-on: https://gerrit.libreoffice.org/2578 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-03-10update pch filesPeter Foley
Change-Id: I07c1acc9f9e788f1165b3e241008aa944485790d
2013-03-09fdo#43460: use isEmpty()Thomas Arnhold
Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
2013-03-09Work around -Werror=unused-local-typedefs from comphelper/stl_types.hxxStephan Bergmann
Change-Id: Id9f588e551b40a64bc86cae7c6d50f99659f94ab
2013-03-09Make allow to step on from LimitBox with tabZolnai Tamás
Change-Id: I5f2994459cbb7786e6c9d83b0894cb581f4560fd
2013-03-09LimitBox.cxx: Delete useless comment blockZolnai Tamás
Change-Id: I3a75c7de783913385188680119f2baf8a726676d
2013-03-09fdo#61794 Allow greater value in LimitBoxZolnai Tamás
Increase the width of LimitBox *on toolbar: 6 digits *in dialog: 10 digits Set maximum value of LimitBox to the max value of Int32 Change-Id: I6fcf0270b474eb46a29ff98ade9cd7ee8ba637f5