summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)Author
2013-01-09fdo#468080, remove unnecessary XMultiServiceFactory from frameworkNoel Grandin
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
2013-01-09fdo#46808, convert OGenericAdministrationPage::setServiceFactoryNoel Grandin
... to XComponentContext. Change-Id: I8f9a811dafc831db59d6a462f8b405d7568e34cf
2013-01-09fdo#46808, convert DataSourceInfoConverter to XComponentContextNoel Grandin
and change it from a class to a simple method, there is no need for it to be a class. Change-Id: Ia8c263682d81371767f43acf1028c815923b4845
2013-01-09fdo#46808, new method OConfigurationTreeRoot::createWithComponentContextNoel Grandin
and use it to replace usage of createWithServiceFactory, and thus replace usage of XMultiServiceFactory. Change-Id: Id2f44066683ce17cf7a22f80916031556ef0e82a
2013-01-09fdo#46808, Adapt sdb::OrderDialog UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file. Change-Id: If24e9d6069bf7454bb0add3be8c4bc5916cc4d1f
2013-01-07allow menu items to be referred to by a nameCaolán McNamara
Change-Id: I8bb1c082e3948f919232b81e0f1f869b88fcd852
2013-01-07fdo#57950: Remove some chained appends in dbaccessMarcos Paulo de Souza
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>
2013-01-07fdo#57950: More fixes for chained appends in dbaccessMarcos Paulo de Souza
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>
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-07fdo#57950: Remove some chained appends and more in dbaccessMarcos Paulo de Souza
- 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>
2012-12-31fix fdo#58451Noel Grandin
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
2012-12-28fdo#58842 Handle case of non-distinct statmentZolnai Tamás
Change-Id: I1797dd4e0bc6a2e4ec475c860e6b903085d2aae1
2012-12-26fix windows PCH buildLubos Lunak
2012-12-26PCH for Library_dbuLubos Lunak
2012-12-25Get rid of (most uses of) GUITor Lillqvist
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>
2012-12-23remove unused variables [-Werror,-Wunused-private-field]Matúš Kukan
Change-Id: I3cb08dd52c5a34be6585ac9fc0c4b6bb04b6ae8c
2012-12-21Previous fix did not help, have to just ignore the "Unreachable code" warningTor Lillqvist
Change-Id: Ic62056e2df9a17fd6716ae90e4372dec1d5dd40f
2012-12-21WaE: Unreachable codeTor Lillqvist
Change-Id: I366729dbd7f5f861c9233c0927b79ff7859114e4
2012-12-21Fixes for my UNO commitsNoel Grandin
- fix missing SAL_CALL annotations - fix missing namespace usage Change-Id: I8fa462bcbeaad63ad6a73cba68236b74bbe97e70
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
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
2012-12-21fdo#46808, Adapt sdb::FilterDialog UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file. Change-Id: I2267bec182ad1cc8f6a37939861a7368a17fcef2
2012-12-20Drop useless typedefStephan Bergmann
Change-Id: I0521f9ead0ee317f4eafefafb9c91f942b977cd1
2012-12-12fdo#32958 join editor: remove empty linesLionel Elie Mamane
Change-Id: If150261bae55cf91c8a344f34c79194ad29db903
2012-12-12typo in commentLionel Elie Mamane
Change-Id: I0e6dd24e2cd65a35886f75cde9197c5b957c6d57
2012-12-12query design / edit join: valid only iif column names everywhereLionel Elie Mamane
Change-Id: Idfb0e16c4cc2581a46e26fe97948897dc4b11dc0
2012-12-12be more cautious in debug modeLionel Elie Mamane
Change-Id: I46b89b10287ac755e2b727b46d6fdd19f44bcdd3
2012-12-12argument has no effect anymore -> removeLionel Elie Mamane
Change-Id: I91f8f552b1324b57ce75e96b858b7a3379decb20
2012-12-12Move comment to its rightful placeLionel Elie Mamane
Change-Id: I72803b26a79804cdc1b590a7fb4bc99ff831963e
2012-12-12Remove xml2cmp leftoversStephan Bergmann
Change-Id: I7c0ba8b653b8e0534ae17bd879b93b75c6554893
2012-12-10fdo#46808, use service constructor for embed::StorageFactoryNoel Grandin
Change-Id: I26cd1cf86118122f392f16801a646df753a7df26
2012-12-10fdo#46808, Convert connectivity::SQLError to use XComponentContext...Noel Grandin
...instead of comphelper::ComponentContext. Change-Id: I40384c2d7cfcabd06506321d686dd8e7c7c5f266
2012-12-10fdo#46808, Adapt sdbc::DriverManager UNO service to new styleNoel Grandin
Change-Id: Ic2be6bd08aaabc81d0fbe0269ca577868defe934
2012-12-10fdo#46808, Adapt sdbc::ConnectionPool UNO service to new styleNoel Grandin
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
2012-12-10fdo#46808, Create new-style sdb::ReportDesign serviceNoel Grandin
The service already existed, it just did not have an IDL file. Change-Id: I681754040e1de8d96fe5bdc1b442bfc4de76c7c7
2012-12-06Don't force refresh when higher up code did not request itLionel Elie Mamane
Change-Id: I0f415c96fc05c1d776d14885751aef020c42f4ae
2012-12-06fdo#53281 Don't cache whole row in KeySetLionel Elie Mamane
This was done for the sake of ODBC, but the cost was imposed on all backends. The ODBC problems are now solved cleanly (and more efficiently) in the SDBC<->ODBC layer. Change-Id: Ib8a864da08deaaacc96a379fb72b3b7cbb34598c
2012-12-06fix missing SAL_CALL attribute on methodNoel Grandin
Change-Id: Idd0581d104c5a3e1286763c2deb8d385e04e207b
2012-12-06commit delete various unused makefile.mksCaolán McNamara
Change-Id: I382423164fd65679d3b893ea0d9729508813b425
2012-12-06fdo#46808, Adapt sdb::ErrorMessageDialog UNO service to new styleNoel Grandin
Change-Id: Iaf12324e6aa64b268555b0f4c82f04f4c0f6f123
2012-12-06fdo#46808, use service constructor for sdb::DatabaseContextNoel Grandin
Change-Id: I4d845f289f324912b0fc4d8e26a2947e2d2f889e
2012-12-06fdo#46808, Adapt util::NumberFormatsSupplier UNO service to new styleNoel Grandin
Change-Id: I58436d9eea0c38d14cde2dc01aa463d5d71912e9
2012-12-03WaE: BaseReference::_pInterface may be used uninitialized in this functionTor Lillqvist
Change-Id: Ic9424fd0cac9f2ff91866549b370080a9a88aeea
2012-12-02WaE: explicitly do nothing when nothing needs to be doneLionel Elie Mamane
Removes compiler warning Change-Id: Ied96ef294f25cca54887ca6a86ec07ecb2b1fae0
2012-12-02fdo#42165 make nested joins as per strict ANSI SQLLionel Elie Mamane
Change-Id: I605d3811b27c33e35670306bb03b5a796ab72bc0
2012-12-02Expand commentLionel Elie Mamane
Change-Id: I7d699222940a6ee99595d84dd8b2068e9b86ee67
2012-12-02janitorial: prefix increment when don't care about current valueLionel Elie Mamane
Change-Id: Id19369bb9d9cb2a0bab0dacb200cf5bf488c3b20
2012-12-02janitorial: simplify code, no behaviour changeLionel Elie Mamane
operator[] on a map implicitly adds an entry and default-initializes value part Change-Id: Iab7817fb7fef5e9a6afdeb74be0d523fde59b5c1
2012-12-01fdo##38838 UniString Removal in dbaccessRicardo Montania
Change-Id: I6c4f8e9834fdd78851f5274ce2b141cfb49e6458 Reviewed-on: https://gerrit.libreoffice.org/1208 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30fdo#46808, remove some more XMultiServiceFactory fieldsNoel Grandin
Change-Id: I8d039a933c9fde1a24b35954bb5a1f151e9aa160