summaryrefslogtreecommitdiffstats
path: root/dbaccess
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* update pch headersLuboš Luňák2013-03-121-0/+7
| | | | Change-Id: Ibb368e6a806666a73bf6bf1a097d14bc6e75b24d
* There's no reason for these defaults in one constructor but not the otherLionel Elie Mamane2013-03-121-4/+0
| | | | Change-Id: I62e9351a21b0519a3ef70c328f33e1b7f7427926
* fdo#38838: Converting String/UniString to OUStringelixir2013-03-111-2/+2
| | | | | | | Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9 Reviewed-on: https://gerrit.libreoffice.org/2586 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* use startsWith() instead of compareToAscii()Thomas Arnhold2013-03-111-1/+1
| | | | | | brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
* fdo#61726: rename report-builder package to org.libreoffice.reportDavid Ostrovsky2013-03-112-2/+2
| | | | | | | | | | | | 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>
* update pch filesPeter Foley2013-03-101-0/+1
| | | | Change-Id: I07c1acc9f9e788f1165b3e241008aa944485790d
* fdo#43460: use isEmpty()Thomas Arnhold2013-03-099-29/+29
| | | | Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
* Work around -Werror=unused-local-typedefs from comphelper/stl_types.hxxStephan Bergmann2013-03-094-11/+20
| | | | Change-Id: Id9f588e551b40a64bc86cae7c6d50f99659f94ab
* Make allow to step on from LimitBox with tabZolnai Tamás2013-03-091-0/+5
| | | | Change-Id: I5f2994459cbb7786e6c9d83b0894cb581f4560fd
* LimitBox.cxx: Delete useless comment blockZolnai Tamás2013-03-091-5/+0
| | | | Change-Id: I3a75c7de783913385188680119f2baf8a726676d
* fdo#61794 Allow greater value in LimitBoxZolnai Tamás2013-03-093-5/+6
| | | | | | | | | 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
* fdo#61797 ESCape abort changes and grab focusZolnai Tamás2013-03-093-23/+20
| | | | | | | | | Handling of hitting enter or escape are only usefull for toolbar element. In a dialog these keys have other meanings (close the dialog with/without saving) Change-Id: Ifbe5d36daab9c0702b888a58403dc170082fc32d
* fdo#60691 add modelines to *.src and *.hrc filesBorim2013-03-0893-2/+254
| | | | | | | | | 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
* make use of startsWith()Thomas Arnhold2013-03-081-1/+1
| | | | | | | Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679 Reviewed-on: https://gerrit.libreoffice.org/2599 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
* simplify compareTo (now correct)Thomas Arnhold2013-03-081-1/+1
| | | | | Change-Id: Ia4fd2f54d0bda71d472f46949500c0b23ff8e1b7 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* Revert "simplify some compareTo"Stephan Bergmann2013-03-081-1/+1
| | | | | | | | | | This reverts commit 19020191cbf3e3c7a7bf98d0958d86d931ae687b, s1.compareTo(s2, length-of-s2) is *not* equivalent to s1 == s2
* simplify some compareToThomas Arnhold2013-03-081-1/+1
| | | | Change-Id: Ib63cfac8b5f129f31534020fd634750e846e3b98
* some further OUString cleanupThomas Arnhold2013-03-083-9/+5
| | | | Change-Id: I13eb94092e29ececc9fbf494074acde5f893b605