summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)AuthorFilesLines
2015-04-09loplugin:staticmethodsNoel Grandin4-15/+15
Change-Id: I715374b531da2850434b2436633b6042ecb9ebe0
2015-04-08A UNO Any can't contain an AnyStephan Bergmann1-2/+2
...and css::uno::makeAny<css::uno::Any>() was never meant to be used. Introduce css::uno::toAny for the (template-code) cases that shall return an Any for both Any and non-Any inputs. Change-Id: Ifa977d73f1da71b2fedde7e8140b19497c4a0257
2015-04-07convert SvtModuleOptions::EModule to scoped enumNoel Grandin2-11/+11
Change-Id: I9665fc003cb3a44f4db857b24584fa3a70487259
2015-04-07convert SvtModuleOptions::EFactory to enum classNoel Grandin2-2/+2
and fix issues in iterating through o3tl::enumarray Change-Id: Ia59ef9be44d8c92c2e406fa71aa92269578e26e3
2015-04-07OQueryViewSwitch::resizeDocumentView etc unusedCaolán McNamara3-25/+0
Change-Id: Idadf26a1c4ec070c1a37ddac923b64620962ed9e
2015-04-06apparently OGenericUnoController::InvalidateFeature is unusedCaolán McNamara1-5/+0
Change-Id: I3cd9d7fffc3b1c9b0891c6de23b1ff873d2a1158
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann12-15/+15
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann12-15/+15
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-01Typo: metod(s)->method(s)Julien Nabet1-1/+1
Change-Id: Ie8e8c33bba30ae454c4a0cb54eb6613293a398e6
2015-04-01Add support for cppu::UnoType<void>Stephan Bergmann2-3/+3
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann29-126/+126
Change-Id: I2d1b59cf13c3944b24ad54dc63e20b83a9c8a015
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann5-8/+8
Change-Id: I326330225be36118dffd3fe02141964736d62b9f
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann2-4/+4
Change-Id: I58022cd4dfa96d37c8e1d98a8a3f4642201eb4f7
2015-03-27fix macro and enum name collision using CamelCaseNoel Grandin3-17/+17
so that the enum names remain consistent Change-Id: I656069b484038d3bf17ecbb4f3e26395ca5a1b6d
2015-03-27work around Windows and OSX macro collisions with enum valuesNoel Grandin1-3/+3
Change-Id: I3d14b96b6b51e497bde33f0177b377e7fe3dbad9
2015-03-27convert BUTTON_ constants to enum classNoel Grandin3-20/+20
Change-Id: I0fd391a6b2850e5d7dcbf2cb95cfa39ee5561bd9
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann5-11/+11
Change-Id: I2b69af91ad6dac306f626bdd5a434c75be574617
2015-03-25TyposJulien Nabet1-1/+1
Change-Id: I665a56fcad10e136e949a10497f6ab8813af9968
2015-03-24loplugin:constantfunction: dbaccessNoel Grandin14-108/+9
Change-Id: I896f2716cb91169e30f555943174b5aa67e74b20
2015-03-23TyposJulien Nabet1-1/+1
Change-Id: Ie08a26a569b83bfe3ef4351dbb7b6e928745b95d
2015-03-19convert SFX_FILTER_ constants to enum classNoel Grandin1-1/+1
Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613
2015-03-18create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin17-81/+85
of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
2015-03-17Fix various XServiceInfo implementationsStephan Bergmann4-8/+8
...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
2015-03-13Typo: coumns->columnsJulien Nabet1-1/+1
Change-Id: Id3d6da491da12f74b00c39ff983f2f9dbc806aa1
2015-03-13Typo: form the table->from the tableJulien Nabet1-2/+2
Change-Id: I41f5ac20eff8d2ebd75ea13fff12154306cbacf4
2015-03-13V803 decreased performance postfix incrementMichael Stahl1-1/+1
These are pretty silly anyway, but apparently it complains even about integer variables which make this rather a waste of time. Change-Id: I15e847d33d5decd2adcab04e4f1567d3997d28a2
2015-03-12CppCheck cleaning : Redundant checking for element existenceMichaël Lefèvre1-4/+1
Change-Id: I8f9e3939d97c3b9623c1bd026f3cefd5cf671613 Reviewed-on: https://gerrit.libreoffice.org/14846 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-03-12CppCheck cleaning : reduce scopeMichaël Lefèvre1-2/+4
Change-Id: Iefb21089b9b2a088430314b715df39129fc394bd Reviewed-on: https://gerrit.libreoffice.org/14845 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-03-12Typo: subsitute->substituteJulien Nabet1-1/+1
Change-Id: Iee26cd9e2fabafdb2554ecd3d096b1c4d41a6d8d
2015-03-12dbaccess: PVS-Studio V522 Dereferencing of null pointer 'piTmpConnection'Michael Stahl1-3/+0
Change-Id: I30b2a0f2b3bc82b534a3463aa7f842edf194bdf7
2015-03-11dbaccess: PVS-Studio V517 'use of if(A) ... else if (A) pattern'Michael Stahl1-4/+0
Change-Id: Ic89a0437062886f37987a9411d32632413085284
2015-03-10V668 no sense in testing the result of new against nullCaolán McNamara2-5/+4
Change-Id: I1cff71d15f4d1b5ee47cc734b3fc2168d7f99201
2015-03-10V668 no sense in testing the result of new against nullCaolán McNamara1-10/+1
Change-Id: I85993df91bd14966f9175c356966fbd8eb1a927d
2015-03-09coverity#1287398 Logically dead codeCaolán McNamara2-4/+6
and coverity#1287399 Logically dead code regression from commit 5806a7ed44f675f8c2d6aaf16a4347f3e11c9783 Date: Mon Mar 2 09:36:39 2015 +0200 cppcheck: Variable is assigned a value that is never used Change-Id: Iaee21f8c120a09aaeed2f55da16a7ef83bea2b07
2015-03-06V801: Decreased performanceCaolán McNamara2-3/+3
Change-Id: I97c7977fdfea57b5d1c45ce0c5902b74cc719db9
2015-03-06Idle: Changed to new enum nameTobias Madl1-1/+1
Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
2015-03-06Idle: Removed VCL_IDLE_PRIORITY_ prefix of enumTobias Madl1-1/+1
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
2015-03-06Idle and Timer are now completely independentTobias Madl2-1/+2
And everything is functionating pretty well. Change-Id: Id7f5a995362f6f7c5235f2e9facb7c7f119f3140
2015-03-06tdf#89391 : Datasource URL in Database Properties window cannot be viewedSzymon Kłos3-0/+17
Change-Id: Ia3e978e3fd9c0ce19ec679c41d40a34338147c37 Reviewed-on: https://gerrit.libreoffice.org/14766 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2015-03-05V801: Decreased performanceCaolán McNamara4-6/+6
Change-Id: I5e7b5327b542f610efb0960b8bcfad10e04025b5
2015-03-02V813: Decreased performanceCaolán McNamara2-2/+2
Change-Id: I6a988077a3a2e2adf33a2c00a84b929e8133133f
2015-03-02cppcheck: Variable is assigned a value that is never usedNoel Grandin2-6/+4
Change-Id: Iab6eaf148af6219a7c60af23c56ee088f6438a63
2015-03-01avoid NULL ptr deref.David Tardon1-1/+1
Change-Id: I913e967aa59808077e346b955b136d8faf4b749b
2015-02-27gbuild: gb_CppunitTest_use_filter_configuration was removedMichael Stahl7-14/+0
... years ago in commit e1b51e7beb7f9cfa7b574b9c2a69799e62963a09 Change-Id: I588370796830dc379f6a004ec7e673b020360eb5
2015-02-27gbuild: CppunitTest: always use unittest configurationMichael Stahl8-16/+0
The sc_subsequent_filters_test was failing because of a lock file because it did not use the unittest configuration. Refactor gb_CppunitTest_use_configuration so it uses both the instdir and unittest configuration to prevent such errors. In case there ever is a test that does not work with the unittest configuration it should call gb_CppunitTest_use_instdir_configuration. Change-Id: Ibc00d42f8b6102d50d922f51173120798fa45c6e
2015-02-25remove NUMBERFORMAT_ constantsNoel Grandin1-1/+1
.. in favour of just using the underlying constants from css::util::NumberFormat Change-Id: I0c6b128b66c91b268f5ae300f9c17c7792df5e99
2015-02-24TyposJulien Nabet1-1/+1
Change-Id: I5f2577dd1f047331a58d33e05684b673e6dbd11e
2015-02-22Simplify erase iterator management (ContentHelper)Julien Nabet1-3/+1
Change-Id: I5a5953e38054ab53fef03be36e3fb5f4e2ff3526
2015-02-18TyposJulien Nabet3-4/+4
Change-Id: I845a85e1aad4a0708f2b43f7d94606b4b5513ee4
2015-02-17callcatcher: update unused codeCaolán McNamara2-9/+2
Change-Id: I08e99a019fd2ec16e2c995035e4bcc09678ef92b