summaryrefslogtreecommitdiffstats
path: root/dbaccess
Commit message (Collapse)AuthorAgeFilesLines
* Changed SetText() / GetText() to take/return OUStringChr. Rossmanith2013-01-2118-59/+59
| | | | | | | | | replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* mark *all* tables of a nested join as addedLionel Elie Mamane2013-01-181-18/+33
| | | | | | Else, if the n^{th} (with n>2) table also appears in a (non-NATURAL) INNER JOIN, it is repeated later, leading to an error from the database engine Change-Id: I03e0f0ef51f45be9d7ddfa63a9dbe09dc500f8dd
* OXMLDataSourceSetting::convertString: try to make Clang tb happyMichael Stahl2013-01-161-21/+14
| | | | Change-Id: I8b2509f28206fd5b6c20c88d9186a9a18f76f7a5
* fix buildLuboš Luňák2013-01-161-2/+2
| | | | Change-Id: I1697e761061c21826f57d4b2f4694ee03cdfb05d
* Sanitize/simplify some parameters of functions in dbaccessMarcos Paulo de Souza2013-01-161-27/+25
| | | | | | | | | | | | | | | | | Some functions have parameters of OUString, so, we don't need this type of junk: ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "LayoutManager" ) and we can use directly: "LayoutManager" I believe this brings some simplification to the code, at first glance! Also in this patch, changed some equalsAsciiL to ==, this simplifies more code yet. Change-Id: I38b8076afb84d77ed51c7be407c7f899d80829ff Reviewed-on: https://gerrit.libreoffice.org/1707 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* fdo#57950: dbaccess: STRINGPARAM and more chained appendsMarcos Paulo de Souza2013-01-1611-123/+72
| | | | | | | Change-Id: Iab1ba5eb6702d386e2775d7426c3398b606d2d97 Reviewed-on: https://gerrit.libreoffice.org/1706 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* fdo#46808, Convert comphelper::MimeConfigurationHelper to XComponentContextNoel Grandin2013-01-153-3/+3
| | | | Change-Id: I74b4f0c4a84f02b218102405eaba24cf47f654ce
* fdo#46808, Adapt embed::*EmbeddedObjectCreator UNO services to new styleNoel Grandin2013-01-151-91/+86
| | | | | | | | | | The services already existed, it just did not have an IDL file. Adapts com.sun.star.embed.OOoEmbeddedObjectFactory com.sun.star.embed.OLEEmbeddedObjectFactory com.sun.star.embed.EmbeddedObjectCreator Change-Id: I8ba01c7fd956a46c87d02dc7d61bdd5fcdf21ab8
* fdo#46808, Adapt frame::TaskCreator UNO service to new styleNoel Grandin2013-01-1537-137/+141
| | | | | | The service already existed, it just did not have an IDL file. Change-Id: I157c53d09b612da0178432100b8928013f811706
* we only ever want the preferred window size from GetOptimalSizeCaolán McNamara2013-01-143-3/+3
| | | | | | so remove the MAX and MIN options and simplify the whole lot Change-Id: Iaaf350c37e01f7fce434af760bcddb9b7d7135ea
* fix compile with higher debug levelsCaolán McNamara2013-01-121-1/+1
| | | | Change-Id: I95c932f94c4124ef40c67f7f270be05dfafd8f65
* Removed some RTL_* macros and rtl:: prefixes in dbaccessMarcos Paulo de Souza2013-01-104-231/+226
| | | | | | | Change-Id: I467ad9307536e6cdd32ebcdd40539bd5f8614c85 Conflicts: dbaccess/source/core/dataaccess/documentcontainer.cxx
* Remove some RTL_* macros, rtl:: prefixes and simplification in dbaccessMarcos Paulo de Souza2013-01-093-174/+143
| | | | | | | | Change-Id: I2a4381cbe1e716cd2de1fb596053646d1a74d4b0 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmai.com> Reviewed-on: https://gerrit.libreoffice.org/1572 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* fdo#46808, convert UnoControl and sub-classes to XComponentContextNoel Grandin2013-01-092-5/+15
| | | | Change-Id: I4ade267a44620f5a3af8009ac57a2456c62b83bc
* fdo#46808, use service constructor for i18n::CollatorNoel Grandin2013-01-093-5/+3
| | | | Change-Id: I95d2a458ad05c9a248ceb3ca11cb41339cd5d395
* fdo#468080, remove unnecessary XMultiServiceFactory from frameworkNoel Grandin2013-01-0913-41/+19
| | | | | | | | | The ActionTrigger classes in framework were not using their XMultiServiceFactory parameters, so remove them. And follow that through by cleaning up places that no longer need to store XMultiServiceFactory references. Change-Id: I433c4fdb02a56eeef75728893e0c9b749d8313be
* fdo#46808, convert OGenericAdministrationPage::setServiceFactoryNoel Grandin2013-01-0913-26/+21
| | | | | | ... to XComponentContext. Change-Id: I8f9a811dafc831db59d6a462f8b405d7568e34cf
* fdo#46808, convert DataSourceInfoConverter to XComponentContextNoel Grandin2013-01-093-14/+10
| | | | | | | and change it from a class to a simple method, there is no need for it to be a class. Change-Id: Ia8c263682d81371767f43acf1028c815923b4845
* fdo#46808, new method OConfigurationTreeRoot::createWithComponentContextNoel Grandin2013-01-0937-95/+99
| | | | | | | and use it to replace usage of createWithServiceFactory, and thus replace usage of XMultiServiceFactory. Change-Id: Id2f44066683ce17cf7a22f80916031556ef0e82a
* fdo#46808, Adapt sdb::OrderDialog UNO service to new styleNoel Grandin2013-01-092-0/+19
| | | | | | The service already existed, it just did not have an IDL file. Change-Id: If24e9d6069bf7454bb0add3be8c4bc5916cc4d1f
* allow menu items to be referred to by a nameCaolán McNamara2013-01-072-10/+10
| | | | Change-Id: I8bb1c082e3948f919232b81e0f1f869b88fcd852
* fdo#57950: Remove some chained appends in dbaccessMarcos Paulo de Souza2013-01-071-12/+4
| | | | | | | | | | Also simplify logic a little bit. Change-Id: I342f8d1d22e70023d23c6c8ca3976d501e18fb90 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1559 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* fdo#57950: More fixes for chained appends in dbaccessMarcos Paulo de Souza2013-01-071-165/+144
| | | | | | | | | | | | And also: Remove some RTL_* macros Remove ::rtl prefix Change-Id: I9c3902672518559e8a139c37bc1933843bebfe5d Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1561 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* Cleanup: #include <tools/gen.hxx>Matteo Casalin2013-01-071-1/+0
| | | | | | | Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* fdo#57950: Remove some chained appends and more in dbaccessMarcos Paulo de Souza2013-01-071-118/+93
| | | | | | | | | | | | | - Sanitized some OUStringBuilder, avoiding creating a new one and after make some appends - Removed some ::rtl prefixes - Remove RTL_* macro Change-Id: Ide3d78f20c68774cd4864b82cb8d29784228d1cd Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1552 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
* fix fdo#58451Noel Grandin2012-12-312-3/+2
| | | | | | | | I introduced this bug during my "shiny UNO" conversions. We pass around SQLException as an Any in the IDL, so we need to treat it like that it the service code. Change-Id: Ib55b1e156c93fb1488b21ab4d1423b25cb13a5cf
* fdo#58842 Handle case of non-distinct statmentZolnai Tamás2012-12-281-0/+4
| | | | Change-Id: I1797dd4e0bc6a2e4ec475c860e6b903085d2aae1
* fix windows PCH buildLubos Lunak2012-12-261-0/+3
|
* PCH for Library_dbuLubos Lunak2012-12-267-9/+500
|
* Get rid of (most uses of) GUITor Lillqvist2012-12-252-4/+4
| | | | | | | | | | GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
* remove unused variables [-Werror,-Wunused-private-field]Matúš Kukan2012-12-232-3/+0
| | | | Change-Id: I3cb08dd52c5a34be6585ac9fc0c4b6bb04b6ae8c
* Previous fix did not help, have to just ignore the "Unreachable code" warningTor Lillqvist2012-12-212-3/+7
| | | | Change-Id: Ic62056e2df9a17fd6716ae90e4372dec1d5dd40f
* WaE: Unreachable codeTor Lillqvist2012-12-212-2/+4
| | | | Change-Id: I366729dbd7f5f861c9233c0927b79ff7859114e4
* Fixes for my UNO commitsNoel Grandin2012-12-212-3/+2
| | | | | | | - fix missing SAL_CALL annotations - fix missing namespace usage Change-Id: I8fa462bcbeaad63ad6a73cba68236b74bbe97e70
* fdo#46808, Convert frame::Desktop to new style service.Noel Grandin2012-12-2137-128/+121
| | | | | | | | | | | | | | | | | | | | | | | | | I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
* fdo#46808, Adapt sdb::FilterDialog UNO service to new styleNoel Grandin2012-12-212-0/+22
| | | | | | The service already existed, it just did not have an IDL file. Change-Id: I2267bec182ad1cc8f6a37939861a7368a17fcef2
* Drop useless typedefStephan Bergmann2012-12-202-3/+2
| | | | Change-Id: I0521f9ead0ee317f4eafefafb9c91f942b977cd1
* fdo#32958 join editor: remove empty linesLionel Elie Mamane2012-12-123-16/+57
| | | | Change-Id: If150261bae55cf91c8a344f34c79194ad29db903
* typo in commentLionel Elie Mamane2012-12-121-1/+1
| | | | Change-Id: I0e6dd24e2cd65a35886f75cde9197c5b957c6d57
* query design / edit join: valid only iif column names everywhereLionel Elie Mamane2012-12-121-1/+11
| | | | Change-Id: Idfb0e16c4cc2581a46e26fe97948897dc4b11dc0
* be more cautious in debug modeLionel Elie Mamane2012-12-121-1/+7
| | | | Change-Id: I46b89b10287ac755e2b727b46d6fdd19f44bcdd3
* argument has no effect anymore -> removeLionel Elie Mamane2012-12-122-6/+5
| | | | Change-Id: I91f8f552b1324b57ce75e96b858b7a3379decb20
* Move comment to its rightful placeLionel Elie Mamane2012-12-121-4/+4
| | | | Change-Id: I72803b26a79804cdc1b590a7fb4bc99ff831963e
* Remove xml2cmp leftoversStephan Bergmann2012-12-122-266/+0
| | | | Change-Id: I7c0ba8b653b8e0534ae17bd879b93b75c6554893
* fdo#46808, use service constructor for embed::StorageFactoryNoel Grandin2012-12-103-33/+31
| | | | Change-Id: I26cd1cf86118122f392f16801a646df753a7df26
* fdo#46808, Convert connectivity::SQLError to use XComponentContext...Noel Grandin2012-12-106-10/+11
| | | | | | ...instead of comphelper::ComponentContext. Change-Id: I40384c2d7cfcabd06506321d686dd8e7c7c5f266
* fdo#46808, Adapt sdbc::DriverManager UNO service to new styleNoel Grandin2012-12-104-9/+10
| | | | Change-Id: Ic2be6bd08aaabc81d0fbe0269ca577868defe934
* fdo#46808, Adapt sdbc::ConnectionPool UNO service to new styleNoel Grandin2012-12-105-11/+9
| | | | | | | | ConnectionPool was already a new-style service, but since it was not exposing all of it's interfaces properly I had to create a unified interface XConnectionPool. Change-Id: Idfa3fa3335173ceeab1785b4049422874b6c9d5a
* fdo#46808, Create new-style sdb::ReportDesign serviceNoel Grandin2012-12-101-18/+14
| | | | | | The service already existed, it just did not have an IDL file. Change-Id: I681754040e1de8d96fe5bdc1b442bfc4de76c7c7
* Don't force refresh when higher up code did not request itLionel Elie Mamane2012-12-061-11/+5
| | | | Change-Id: I0f415c96fc05c1d776d14885751aef020c42f4ae