summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)AuthorFilesLines
2014-06-24Translated German commentsLuc Castermans3-3/+3
Change-Id: I1a40351aec666c94707ad2dd625f3ab8606242d1
2014-06-24fdo#80422 check only one radio button in a groupDavid Tardon1-3/+0
Change-Id: Ibf1ed3d33d8b2c7da4eee26943da0c09647f4bff
2014-06-23fdo#76203 - use consistent titlecase for UI title labelsJoren De Cuyper8-12/+12
Change-Id: Icae67c083ca867c89cff7f9d5d44dbbe4aadcba9 Reviewed-on: https://gerrit.libreoffice.org/9858 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-22Typo rong->wrongJulien Nabet1-1/+1
Change-Id: I9665d0bd8eccfb16a53eeb733954cdc59af8ccdd
2014-06-19fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida6-7/+7
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-18Missing null check (triggered e.g. by CppunitTest_dbaccess_dialog_save)Stephan Bergmann1-1/+1
Change-Id: I2f78ca59bfebbcffd9a6d0309c49179457bd9172
2014-06-18rtl::Reference fits just fine hereStephan Bergmann2-6/+4
Change-Id: I14cdcab307f1d2edcebb9fd4aa3009daa32bc7d1
2014-06-17coverity#1223092 Uninitialized scalar fieldCaolán McNamara1-4/+6
Change-Id: Ibfbc85562d30c541eada430759a0bda9305d9850
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin8-25/+9
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-16janitorial: update function name in SAL_INFO outputLionel Elie Mamane1-1/+1
Change-Id: Ie01599c8f3ae465998113dd8bfd2a33b27d0a39d
2014-06-16dbaccess::ORowSet: separate impl_rebuild_throwLionel Elie Mamane1-20/+27
Used by two different callers that wanted different things. Also, freeResources now always positions on BeforeFirst. It is only called with _bComplete==false by execute()-related code. Change-Id: I3e34f77ce37c239d8d3d6a8cd7514b125b049de6
2014-06-16clean up fdo#79427 fix: force BeforeFirst only at execute(), not updateRow()Lionel Elie Mamane1-1/+1
Change-Id: Iaa881d055923702acbb96862d187af41a6ded730
2014-06-16coverity#983629 Uncaught exceptionCaolán McNamara2-3/+4
Change-Id: Ie3f8a0a04c136a5ed68486aa5e31284556805510
2014-06-16fdo#79427 after execute() a ResultSet is expected to be BeforeFirstLionel Elie Mamane1-0/+1
Change-Id: I38091d1ee2161d6e32da3a0bde60e3fc008aa83d Reviewed-on: https://gerrit.libreoffice.org/9794 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-06-13loplugin:staticcallStephan Bergmann19-30/+30
Change-Id: I78895f3524086e1d00d9e8eafd52e505f786320b
2014-06-13Fix memory leakStephan Bergmann1-1/+0
Change-Id: Idc75fd0735452ffdf6a21e3597cd3fe74f651581
2014-06-12coverity#982455 Dereference after null checkCaolán McNamara1-6/+2
Change-Id: If4ad2fe763bffdb64119f7f2a5797aae588fbbf8
2014-06-11Change SfxTabPage ctor SfxItemSet param from ref to pointerStephan Bergmann8-56/+56
...and also corresponding param of CreateTabPage function type and corresponding Craete functions. There were some call sites that passed undefined "null pointer references" and SfxTabPage internally uses a pointer member pSet that is checked for null anyway. Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
2014-06-11Change SfxTabPage::Reset param from ref to pointerStephan Bergmann5-7/+7
...there was a call site that passed undefined "null pointer reference" (apparently in a case where the passed argument was actually unused) Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
2014-06-10Change SfxTabPage::FillItemSet param from ref to pointerStephan Bergmann19-110/+110
...there were a number of call sites that passed undefined "null pointer references" (apparently in cases where the passed argument was actually unused) Change-Id: I19799e90f0cd8e98367782441a5ea9df27b59830
2014-06-10tweak things to allow switching between small and large toolbar iconsCaolán McNamara5-125/+253
Change-Id: Ife4da4c6f4acc3b3f9fde18cdfc09635cf9b6776
2014-06-10DLG_INDEXDESIGN conversion to .uisk948-345/+450
Change-Id: I84d6531a73e6e726359bd20664b6299ad8a390ee Reviewed-on: https://gerrit.libreoffice.org/9699 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-06-09Translated German comments dbaccess/source/ui clean nowLuc Castermans3-16/+16
Change-Id: Ida2d2dbe95f290e2f32ed2259b8f9bdb27cbf2f9 Reviewed-on: https://gerrit.libreoffice.org/9689 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin14-59/+14
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09fdo#79786 implement getFormOperations for data grid (table view)Lionel Elie Mamane1-2/+3
Change-Id: I704057b25ca11633ba62fbb834bd2e6095f348f3 Reviewed-on: https://gerrit.libreoffice.org/9685 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-06-05coverity#1103693 Missing break in switch, assuming its intentionalCaolán McNamara1-0/+1
Change-Id: Ie61305f367e2a07a61599433bd83e1ea13bffd71
2014-06-05coverity#705147 Missing break in switch, assuming its intentionalCaolán McNamara1-0/+1
Change-Id: I9041f18eb4aae73b795245c589b28a3d02d8397e
2014-06-05coverity#705146 Missing break in switch, assuming its intentionalCaolán McNamara1-0/+1
Change-Id: I09a2cacc3aa18796c06a1f1cc9315b3628865621
2014-06-05dbaccess: remove SAL_THROW macroNoel Grandin8-30/+24
Change-Id: I01e43d6171dc2381ff8c151d5716e9ffede24822
2014-06-04update_pch: add a bunch of pch filesThomas Arnhold9-0/+297
connectivity: 3m52s -> 2m47s cppcanvas: 28s -> 13s cppuhelper: 20s -> 14s dbaccess: 2m38s -> 2m01s hwpfilter: 16s -> 13s sot: 21s -> 16s Change-Id: I49286bfe6be73dd1b861be632b95e17a99e82f8a
2014-06-04coverity#1000657 Missing break in switchCaolán McNamara1-6/+1
Change-Id: I03acdc2769e893fc7ecb2885302951852804867b
2014-06-04loplugin:literaltoboolconversionStephan Bergmann1-1/+1
Change-Id: Ie871fa9378bbb34eacd3205f9485a6f89f833674
2014-06-04fix index dialog regressionCaolán McNamara2-2/+2
thanks to sk94 for noticing this when trying to convert this to .ui Change-Id: If7130d53acb7c194cf0a9a4301f3573789888b86
2014-06-04DeInitVCL at end of testsStephan Bergmann5-0/+5
This required some changes to the framework: * Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but once per CppunitTest invocation in a new vclbootstrapprotector (similarly to the exisiting unobootstrapprotector). CppunitTests that need VCL now need to declare gb_CppunitTest_use_vcl. * For things to work properly, the UNO component context needs to be disposed from within DeInitVCL (cf. Desktop's Application::DeInit called from DeInitVCL). The easiest solution was to introduce an Application::setDeInitHook (where the hook is called from DeInitVCL) specifically for vclbootstrapprotector to call. * PythonTests don't (yet) call DeInitVCL; they still hook into BootstrapFixture's original test_init functionality (to call InitVCL), and do not make use of the vclbootstrapprotector. Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
2014-06-04WaE: warning C4101: 'e' : unreferenced local variableThomas Arnhold1-2/+2
Change-Id: Ib5aa5f401eabedfdaebea1dea8f48f284dbccdd5
2014-06-03coverity#1219794 Uncaught exceptionCaolán McNamara1-9/+0
Change-Id: Icc9e5faf9ef15840c359b7766112278094d52dea
2014-06-03coverity#1219801 Uncaught exceptionCaolán McNamara1-0/+9
Change-Id: I372c1891e41510c24daf256d00f3ca98e8a374a9
2014-05-31fdo#73352 don't crash if clearWarnings throws an SQLExceptionLionel Elie Mamane1-2/+11
Change-Id: If67bda43589834e4c922056145bc60884728cb8a Reviewed-on: https://gerrit.libreoffice.org/9591 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-05-30coverity#706394 Uncaught exceptionCaolán McNamara2-55/+108
and hopefully a bunch more of those in dbaccess Change-Id: I5aefcfe56a697f9e6b18dfe167fdd8a4f54ab6e0
2014-05-29remove more unnecesary OUString constructor useNoel Grandin1-1/+1
when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-29remove unnecessary NULL parameter passed to UNO ExceptionNoel Grandin2-2/+2
.. now that we have a default value for that parameter Change-Id: I54d6b0a0a01ce2f2e5168ada0c427424de0477bc
2014-05-28Prefer cppu::UnoType<T>::get() to ::getCppuType(&T)Julien Nabet1-27/+27
See http://nabble.documentfoundation.org/Questions-about-getCppuType-td4106361i20.html Change-Id: I05d0b026e1ef2088472a42ee20e0823df1588428
2014-05-27coverity#1213514 Uncaught exceptionCaolán McNamara2-2/+6
Change-Id: I475b8c9bdcea120ac7ba24862000a16d9f4127c0
2014-05-27Remove unnecessary semicolonsPeter Senna Tschudin2-2/+2
A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-24cppcheck: unreadVariableThomas Arnhold1-3/+0
Change-Id: Iedb0eaa740943964b9f6242f7908099a92077413
2014-05-24coverity#1000843 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: Iad3368c1345b0c9674c069ff7981d3c40f7f7139
2014-05-24coverity#1000844 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I2e322d4861da05e04dfe19fa15f9bc281e1ef0d8
2014-05-24coverity#1000845 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I968baef18f9a14301d69a5eaad07ceb8b9633062
2014-05-24coverity#1000846 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I4e92ad97e7b3567c028d63ac0936fa9cdef12e24
2014-05-23coverity#1215312 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I844561cc6f858b6aed55caaf0d92529486cb486e