summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)Author
2013-11-05fill in nNumPrecRadixLionel Elie Mamane
Wrongfully removed by commit 808052a13947c9841ce5c9e40860c48bbfbf3434 Date: Tue Jun 20 02:21:13 2006 +0000 which only wanted to make the code warning-free... But also disallow radix 1 (which does not make much sense) Change-Id: Id8e313301fa6d5e9643d76865a62cc933999a63e
2013-11-05convert xub_StrLen to sal_Int32Noel Grandin
Converts code that calls comphelper::string::getTokenCount() to use sal_Int32 to store the return value. Change-Id: I439605a39d29b1309649e30f3ff40dfa412efcde
2013-11-05update pchThomas Arnhold
Change-Id: I10f3dbd9513052b3bbe30ddc6523cd231f26ded3
2013-11-05dbaccess: cleanupThomas Arnhold
* remove an external guard * fix some include guards Change-Id: I4e5b5fc5c50acfd81321377e7956e33c838edeba
2013-11-05fixincludeguards.sh: dbaccessThomas Arnhold
Change-Id: Iadd4326d58a5df5761a0ed5ce7fd5fb01fb87d11
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-04remove redundant calls to OUString constructorNoel Grandin
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-25stop looking for Jar files in solverMichael Stahl
Change-Id: I4d2a93fa7395354fbf2893df9e254ab39fa365af
2013-10-23convert code to use OUString::endsWithNoel Grandin
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22missing headerCaolán McNamara
Change-Id: I84aebf0e107add76dfb293b3a34a30705fd0b3a6
2013-10-22vcl: mark more Image constructors as "explicit"Michael Stahl
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-21remove uses of COMPARE_*Caolán McNamara
Change-Id: Icdc36b4b24d2f399f481065df3200feb98025135
2013-10-20drop unnecessary tools/string includesCaolán McNamara
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-18fdo#60698: Move fileaccess module to ucbMarcos Paulo de Souza
Change-Id: I4c688a4aeedcae56ed6404574bd1bb392d4190cb Reviewed-on: https://gerrit.libreoffice.org/6311 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-17fdo#54938: Adapt svtools and comphelper module ...Marcos Paulo de Souza
to use cppu::supportsService and other pieces. Change-Id: I16893b3d31a8055acd214ff23d01e63d38fe0826 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-16make sure value passed to updateBoolean is treated as a booleanLionel Elie Mamane
Change-Id: I69549fd8ab95cf92ccb06fd9aed1b9dba2935d7d
2013-10-16when reading a bool from a database, treat is as a boolLionel Elie Mamane
This in particular allows recognition of strings "true" and "false". Change-Id: I590a5357206e4fb0b92b78b8ee4655e445e6f152
2013-10-16[API CHANGE]: PreView -> Preview, including .uno:PrintPagePreView.Jan Holesovsky
Will be .uno:PrintPagePreview going forward. Change-Id: Ie5a35467917a54a60dab9eaacf0690c9df27e6f6
2013-10-16CID#1000838 Fix overrides' exception specificationsStephan Bergmann
Includes also fixes for CID#1000839 CID#1000840 CID#1000841 Change-Id: I4c7d0bbaec59357af722353bdf947f5629dde1b0
2013-10-13Reduce copypasta: Introduce SAL_NEWLINE_STRING and use itTor Lillqvist
Contains the platform-dependent on-disk line separator ("\r\n" for Windows, "\n" otherwise, and yes, I assume an ASCII-based world). Use it instead of static constant char array fields, with ifdeffed initialisations, in various classes here and there. Change-Id: Ibea1f2cc1acfb8cc067c3892a41f73bf44f2c78a
2013-10-12Test _WIN32 instead of UNX as it is Win32 that's different hereTor Lillqvist
Change-Id: I05e93ef13523a4729c46c9dbf36657d7288c62e6
2013-10-11CID#1103679 calm coverity re invalid iteratorsCaolán McNamara
Change-Id: Iad07aa59c6016752ec9467945d737380d214c3c0
2013-10-10CID#1103666 check for NULLCaolán McNamara
Change-Id: Idb8cf3c80422d38c271dc2cc8176ff231cf64025
2013-10-09Improve ErrorCodeIOException messagesStephan Bergmann
...and clean up some includes. Change-Id: Ia5843cd38f967722d7173a6c87fba26064e3ffd6
2013-10-07html export: 4.0 needs type attribute for style tagThomas Arnhold
Change-Id: Iaa076f639a4da564945385ee616d346c4f0d0889
2013-10-07html export: use only HTML 4.0 for exportThomas Arnhold
Change-Id: I36d8ddf7b8b38e27686c6cc51ef2a676394f97fb
2013-10-04Initial fix for fdo#69915Jesús Corrius
Change-Id: Id673eb7a55aefb35ff8ab612f926bfd115129ab4
2013-10-03HSQLDB unit test doesn't depend on firebird.Andrzej J.R. Hunt
Change-Id: I393381984eded19bcd0712c824e4ec0798e60321
2013-10-02Spell "indices" correctlyTor Lillqvist
Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
2013-10-02janitorial: more const, commentsLionel Elie Mamane
Change-Id: I5366840ab67fdf89575e890a0d97602b8e78f71a
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I9379b66c8ad5bffeebd60a2d38fe466b6856e613
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I1f3b4c25176db53fc3b827e9514ff497a33f419c
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I62dbc62446dbdcb25c7a221d88f59862333e5a4d
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I805b898faaae631d047ec82e7139c6d6ccaea3b1
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I0d587538c3bee7ad71acb2272c7f85f5f7454158
2013-10-02Use std::auto_ptr::reset where applicableStephan Bergmann
(avoids warnings about std::auto_ptr ctor being deprecated) Change-Id: I39d2d155c0bc62ca77a30c02428ea39102213f42
2013-10-02remove some UniString::GetBufferCaolán McNamara
Change-Id: I808026a6f593b0251ee107d27e7ca12d55b2d0a0
2013-10-01gbuild: use .xcd configuration files from instdirMatúš Kukan
..instead of .xcu files in solver/*/xml/registry when running unittests and gengal. Change-Id: I390a6c531d653acca7ef3379c49fe65fcb8f3c2a Reviewed-on: https://gerrit.libreoffice.org/6057 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-10-01convert more of dbaccess from String to OUStringNoel Grandin
seemed to have missed this the first time around Change-Id: I8b7b78c95c576b178e3e181c7589da81e5189ee3
2013-10-01convert dbaccess module from String to OUStringNoel Grandin
Change-Id: I110c925f8d955dfd841cdd1092c13df4d8205393
2013-09-30Revert "Disable HSQLDB unit test for now."Andrzej J.R. Hunt
This reverts commit d4a41ab30c805e647c30a3cf10d43e7a15e07cba. This test failed once on one windows TB, but seems to run on my local machine. Reenabling to verify whether all TBs fail or if this is limited to one machine. Change-Id: I40c121833eaef091aaa9cc4a80fefb88fde2cc5f
2013-09-27Disable HSQLDB unit test for now.Andrzej J.R. Hunt
Will require some debugging to make work on Windows. Change-Id: I264e6cdb93c5b9ea89f2a80b332df4e9c879f1d1
2013-09-27Add normal (non PreparedStatement) insert test.Andrzej J.R. Hunt
Change-Id: I0f6220917d8a9e8ecce30acbabf8386e73372ed3
2013-09-27Refactor performance test.Andrzej J.R. Hunt
This is to allow for comparing the use of Prepared/Normal statements. Change-Id: I6e120892f1c66f8b1c59bda309e88b2b7f39d230
2013-09-27Implement firebird/hsqldb performance comparison test.Andrzej J.R. Hunt
Change-Id: Iaf28b0fcb04ee713ccae6a593e56653eac6e2eba
2013-09-27Make our_sFilePath protected to allow reuse.Andrzej J.R. Hunt
Change-Id: Id760cfd196bb25aa1d982efa0b2b47211680c77e
2013-09-27Implement hsqldb loading test.Andrzej J.R. Hunt
Change-Id: I7dc6390b1061585054d1fa435414cae245122a1c