summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)Author
2013-03-04make lto workPeter Foley
Change-Id: Iab6892368c6ba6bb5b83132cdcd6aa959c3b0e1f
2013-03-04Add new dialog to Query Design ViewZolnai Tamás
In Query Properties Dialog can be set properties like distinct values and limit. To open choose Edit\Query Properties. Steps of implementation: - Add new slot to Edit menu (menubar.xml): delete the slot of distinct values, because it can set in this dialog too - Separate LimitBox class from limitboxcontroller.cxx (LimitBox.hxx\cxx) With it only LimitBox header is included in the dialog source. - Extend LimitBox class to work with new layout widget (make... and GetOptimalSize()) and add it to the galde catalog - Make a class for the new dialog (QueryPropertiesDialog.hxx\cxx) and write the .ui file. (querypropertiesdialog.ui) - Syncronize the two LimitBox (querycontroller.cxx) Change-Id: Ib84bef5a2ed55030333d6151342b99ff27766538
2013-03-04audit GetParent harder wrt GetParentDialogCaolán McNamara
weed out assumption that widgets are direct children of Dialogs Change-Id: Ib2cf0c8862bd5e82b13380634ed82ca7fcc746b8
2013-03-04sal_Bool to boolTakeshi Abe
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-03-04doubled namespacesThomas Arnhold
Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
2013-03-04doubled namespaceThomas Arnhold
Change-Id: I756f4a98b1eedcbe7674e9afd9b06816141688b9
2013-03-04drop unneeded includeAndras Timar
Change-Id: I45c33f16a2b70a938a4f716a54c4a5c64460087e
2013-03-04translated German comments; all cleaned up.Luc Castermans
Conflicts: dbaccess/source/ui/querydesign/QueryTableView.cxx Change-Id: I761b190361bbcca2f9655a7a028799586c2d8656
2013-03-04ersetzen => replace in stead of translateLuc Castermans
Change-Id: I8d355d58c3720201554c68be0c82245383eec1ed
2013-03-04translated German commentsLuc Castermans
Change-Id: If89452824776c2bd653ca0728cc7e6adf4050e4b
2013-03-04translated German commentsLuc Castermans
Change-Id: I6d9b646d9d70dcbf97f7faacc8b15578a597b2a1
2013-03-04 fdo#39468: Translate German commentDavid Verrier
Change-Id: I9adf5348b7ab8fa9d14ffe8d0b4151b5ea2c6fbb Reviewed-on: https://gerrit.libreoffice.org/2536 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-03-02fdo#39468 Translated German comments to EnglishGábor Nyers
Change-Id: If4f8e308cfae6a4ba64576c1b2844210e64085a0
2013-03-02translated German commentsLuc Castermans
Change-Id: I4a629124270eb39dc879f74f1814618fe660be5e Reviewed-on: https://gerrit.libreoffice.org/2516 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-03-02translated German comments (file is clean now)Luc Castermans
Change-Id: I1f833fe4a2332c1b2fa1e98fd320e55f7e19c649 Reviewed-on: https://gerrit.libreoffice.org/2517 Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-03-02translated last German comment in this fileLuc Castermans
Change-Id: I6e8e65156d23682a2045019c7703c57f2448d1dc Reviewed-on: https://gerrit.libreoffice.org/2513 Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-02fdo#39468: Translate German comments (and messages)David Verrier
Change-Id: I80444aac8fdf90ea0f595151788afb14d4415cd3 Reviewed-on: https://gerrit.libreoffice.org/2444 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-02translate german commentLuc Castermans
Change-Id: I043903ea5b80c6cde7d204fbb28daab167cf40b7 Reviewed-on: https://gerrit.libreoffice.org/2507 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-02fdo#61564 when WrappedTargetException not in specification, do not throw it!Lionel Elie Mamane
Change-Id: Id3c995557f320b1d0241f0ef5d94b1c9aeb66528
2013-03-02Typo fix: informations -> information and a few other adjacent typos.Gregg King
FDO:60724 Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b Reviewed-on: https://gerrit.libreoffice.org/2479 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-01coverity#705107: use of invalid iteratorMarkus Mohrhard
Change-Id: I2f36090f7d1b009466a973f3795c668f001063c2
2013-02-28regenerate pchPeter Foley
Change-Id: I130bfbeaf8723f0f9ee38051c8acf32cb7f5ba85
2013-02-28remove all d.lstMichael Stahl
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28fdo#61203 initialise m_aComposedTableName *before* trying to use itLionel Elie Mamane
Change-Id: Ie7a19bdfe9e7bc729a62191362ce0779d73385a0
2013-02-28fdo#38838, String to OUString in module dbaccess/source/sdbtools/connectionGergő Mocsi
Replaced String to OUString, plus deleted deprecated macro RTL_CONSTASCII_USTRINGPARAM Change-Id: I4464644df8c42692aed7cb078b5f77c482e615f4 Reviewed-on: https://gerrit.libreoffice.org/2380 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-28fdo#39468: Translate German commentsDavid Verrier
Change-Id: I29619fab12ae22bda6a8f325eece63d777b0470b Reviewed-on: https://gerrit.libreoffice.org/2468 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-02-27janitorial: simplify test expression without semantics changeLionel Elie Mamane
The "sComposerFilter != m_sRowSetFilter" could not influence the result. Proof. The right hand-side of the || is evaluated only when m_sRowSetFilter.isEmpty() So the only case where the removed test could have an influence is when m_sRowSetFilter.isEmpty(). However, the right hand-side of the && is evaluated only when !sComposerFilter.isEmpty(). We have m_sRowSetFilter.isEmpty() and !sComposerFilter.isEmpty(). In particular, (sComposerFilter != m_sRowSetFilter) is true. Qed. Change-Id: I1484d78cf2d7a5e8ca44f382eb7c440c84d8c10e
2013-02-27fdo#51976 make "refetch one row" query easier to optimiseLionel Elie Mamane
Instead of playing tricks with parameters that when filled in force a part of the WHERE clause to have not influence, actually use several different statements and hardcode in each the kind of test to be done Change-Id: I93e1978f0420bc627a02291f209c788b9b4f2e96
2013-02-27janitorial: save one objectLionel Elie Mamane
Change-Id: I52b7d8204bb2d34639dea544833318fe86a5ddcf
2013-02-27janitorialLionel Elie Mamane
- more const qualifiers - remove unnecessary cast - don't hardcode magic number (length of hardcoded string) Change-Id: Id8165ec556c913213b5be22c731b78f6b325f22c
2013-02-27spelling in commentsLionel Elie Mamane
Change-Id: I3a7df167a91dd6ef845d16d5e6cf46ff5a82d455
2013-02-26fdo#38838 Replaced some use of (Xub)String with OUString.Jean-Noël Rouvignac
Change-Id: I5a8f2d1a5762c20d21d31b04778a9e2cac8df9cb Reviewed-on: https://gerrit.libreoffice.org/2364 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-26Translated German comments and some messages into EnglishDavid Verrier
Change-Id: I2d92db30bacc52d487df2a0a118b430bc3425f69 Reviewed-on: https://gerrit.libreoffice.org/2427 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-26String::SearchAndReplaceAllAscii() corresponds to OUString::replaceAll()Tor Lillqvist
The code originally used the former methods, so now when it has been changed to use OUStrings instead, it should use the latter. (I don't know if it is significant in the presumably quite specific use cases here.) Change-Id: I83cc7c602f376784054f479668171ccfa7f478f7
2013-02-26WaE: ignoring return valueTor Lillqvist
Change-Id: Ib445acdb01808cf5d05cd29973b568956d717e61
2013-02-26German comment translated to EnglishDavid Verrier
Change-Id: I8f4686e89a068a4392cff013de31f429be88e2b9 Reviewed-on: https://gerrit.libreoffice.org/2423 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-26fdo#38838, String to OUString in dbaccess/source/ext/macromigrationAuthor: Gergő Mocsi
String to OUString applied in dbaccess/source/ext/macromigration module. Also, RTL_CONSTASCII_USTRINGPARAM is removed from files, plus ::rtl::OUString replaced by OUString. Change-Id: I31673c7d812992dbac675a5d7da5bf379c402a9c Reviewed-on: https://gerrit.libreoffice.org/2379 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-26fix WaEDavid Ostrovsky
Change-Id: I1bbac4de97866695bf73e25977af8306014325fc
2013-02-25Database: Add Limit in Query Desing ViewZolnai Tamás
Levels of implementation - Add a new toolbar item to ui (designobjectbar.xml) - Make a control for this element( LimitBox: derived from NumericBox) - Make an own controller for this control (LimitBoxController) and register it - Add new feature to the general\central controller (OQueryController) and construct a communication channel between the two controller - Modify the view switching (SQL<->Design) methods to use\set limit value (QueryDesignView.cxx) Conflicts: dbaccess/source/ui/querydesign/QueryDesignView.cxx Change-Id: I0eb09d1d40cfdb9b8a2a57ab8911faca91d5e690 Reviewed-on: https://gerrit.libreoffice.org/1994 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-02-25remove some trivial duplicatesThomas Arnhold
Change-Id: Ie736cb6d5ff7f4d1998338f4a3a3a3b0a67c79ad
2013-02-25RTL_CONSTASCII_USTRINGPARAM and ::rtl:: removalsKrisztian Pinter
Conflicts: cui/source/options/optgdlg.cxx cui/source/options/webconninfo.cxx dbaccess/source/ui/app/AppController.cxx Change-Id: I2abfad91318e8be8c0f77909cbd76825cdca9b85 Reviewed-on: https://gerrit.libreoffice.org/2350 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-25remove duplicate lineThomas Arnhold
This came in with 3ecdcbaee0a906bc0d1700f60a4d360f4f51291c and is apparently wrong. Change-Id: Ic048d20c728aca2f8c97a90ede74d77e51b16e1c
2013-02-25fdo#38838,::rtl::OUString_to_OUStringelixir
Change-Id: I7c9ebd01c16ff066008e53de865560ad78215bab Reviewed-on: https://gerrit.libreoffice.org/2330 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-25loplugin: unused variablesThomas Arnhold
Change-Id: I46a748bf2c54d15c0f5718901197f3b4c34b82bf
2013-02-25loplugin: unused variableThomas Arnhold
First parameter is unused since fb98c33c688ef479a64f9838abd63f617fd4b589 Change-Id: Iff9ff51227c5244950830febf2cdcf78e1de4d29
2013-02-24fdo#38838 searched, replaced and removed String::CreateFromInt32().Jean-Noël Rouvignac
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ And finally removed String::CreateFromInt32(). Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5 Reviewed-on: https://gerrit.libreoffice.org/2279 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-23Fix typo recieved/receivedJulien Nabet
Change-Id: I0c838f5c06ff26149113a9bbab970d314758c648
2013-02-23Fix typo seperated/separatedJulien Nabet
Change-Id: I133423de994b1befe246b6c921802428a3528202
2013-02-23Fix typo "teh" -> "the"Julien Nabet
Change-Id: Iacfeb4a0c2bff254e5bcc8d58582994cd0f3993a