summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg
AgeCommit message (Collapse)AuthorFilesLines
2013-11-05fixincludeguards.sh: dbaccessThomas Arnhold20-55/+55
Change-Id: Iadd4326d58a5df5761a0ed5ce7fd5fb01fb87d11
2013-11-04remove redundant calls to OUString constructorNoel Grandin1-1/+1
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin1-1/+1
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-22Bin comments that claim to say why some header is includedTor Lillqvist1-4/+4
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22vcl: mark more Image constructors as "explicit"Michael Stahl1-2/+2
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-10CID#1103666 check for NULLCaolán McNamara1-2/+2
Change-Id: Idb8cf3c80422d38c271dc2cc8176ff231cf64025
2013-10-02Spell "indices" correctlyTor Lillqvist1-6/+6
Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
2013-10-02-Werror,-Wunused-variableStephan Bergmann1-2/+0
Change-Id: I1f3b4c25176db53fc3b827e9514ff497a33f419c
2013-10-02Use std::auto_ptr::reset where applicableStephan Bergmann5-5/+5
(avoids warnings about std::auto_ptr ctor being deprecated) Change-Id: I39d2d155c0bc62ca77a30c02428ea39102213f42
2013-10-01convert dbaccess module from String to OUStringNoel Grandin39-356/+354
Change-Id: I110c925f8d955dfd841cdd1092c13df4d8205393
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara2-12/+12
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-08-28fdo#68588 Move embeddeddbList into OGeneralPageWizard.Andrzej J.R. Hunt2-26/+31
embeddeddbList is only present in generalpagewizard.ui but not in generalpagedialog.ui, hence it should be controlled by OGeneralPageWizard and not OGeneralPage. Change-Id: I7c52493e12b40d9043d80fb023cfc9eb9c9e42ec Reviewed-on: https://gerrit.libreoffice.org/5654 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-08-27fdo#62475 removed pointless commentsJelle van der Waa55-1211/+198
Conflicts: dbaccess/source/filter/xml/xmlfilter.cxx dbaccess/source/ui/dlg/ConnectionPage.cxx dbaccess/source/ui/dlg/detailpages.cxx dbaccess/source/ui/dlg/odbcconfig.cxx dbaccess/source/ui/querydesign/querycontroller.cxx Change-Id: I3a05649efa3a43dd8d8fb069fc1bce14ca0a6338 Reviewed-on: https://gerrit.libreoffice.org/5484 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-08-22convert include/svtools/QueryFolderName.hxx from String to OUStringNoel Grandin1-1/+0
Change-Id: Iec274c35c3ce4f1f9d5f17bd5562b52b788595d4
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák1-2/+2
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist4-8/+14
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist1-1/+2
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-17remove various unused dialogsCaolán McNamara2-47/+0
Change-Id: If639745db976671a3b6e3405253dfb3bc5783363
2013-08-15convert include/svtools/roadmapwizard.hxx from String to OUStringNoel Grandin1-2/+2
Change-Id: I1b5a0c3f5946aac9d353550091616cf5a31e6f82
2013-08-10callcatcher: update unused codeCaolán McNamara1-29/+0
mostly ResId using ctors left stranded post .ui conversion Change-Id: I06689eea30ee9146ba05294f52056c0d263695f5
2013-08-02WaE: unknown log area 'dbaui.OGeneralPage' [loplugin]Tor Lillqvist1-1/+1
Change-Id: I669bd637a8f4c9880eaceed2c67b9ddedd6eff3e
2013-08-02WaE: unknown log area 'dbaaccess' [loplugin]Tor Lillqvist1-1/+1
Change-Id: I327192e60ed75f2c24331f38f89bcfeb085725ba
2013-08-02Add embedded database selector to db setup dialog.Andrzej J.R. Hunt3-24/+156
This allows for choosing between the HSQLDB driver (currently default) and the firebird driver for embedded databases. Change-Id: I3734440fedf9f07b28f9cfd806dafbe6610393f7 Reviewed-on: https://gerrit.libreoffice.org/5199 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-30set some initial sizes for the direct sql dialog texteditsCaolán McNamara3-159/+7
and we can use existing GtkTextView<->VclMultiLineEdit mapping rather than the svtools MultiLineEdit Change-Id: I6d20a9ba8731dda1ec9579fc2877b817fea0632f
2013-07-30modern .ui widgetlayout for directsqlCsikós Tamás1-38/+28
Change-Id: I51140fe6abd2d321c5784b923f920ab9183f417e Reviewed-on: https://gerrit.libreoffice.org/5171 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-30fixup SAL_WARN log areaLionel Elie Mamane1-1/+1
Change-Id: Ie0848f8dc7d0bce171a2081dd91f48519414eebe
2013-07-16Add embedded firebird loading code, set as default db.Andrzej J.R. Hunt1-1/+2
Change-Id: I993d7d7bacec710bb57d9e8f91d3cd01b0fbf616
2013-07-11ORDER BY columns are prioritarily *SELECT* columnsLionel Elie Mamane1-24/+1
as opposed to *table* columns, and notwithstanding HSQLDB 1.8 (our embedded database) bugs. Actually, supporting ORDER BY on non-select (but table) columns is OPTIONAL for DBMSs (but quite common) Change-Id: I6725dfda36b09429a78262bff6f3d3e3dd9032b6
2013-07-11delete in destructor checkbox created in constructorLionel Elie Mamane1-0/+1
Change-Id: Ifceae4c7ffe15bfc62ce34f4463fd4e071403359 fixes: debug build aborts when closing that window
2013-07-11XubString->OUStringCaolán McNamara1-1/+1
Change-Id: I1049249741f445ad7bd9c070f99812c4404597c9
2013-06-29remove OUString wrap for string literalsThomas Arnhold1-1/+1
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29remove some createFromAscii usageThomas Arnhold3-5/+5
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-10mingw64: long -> sal_IntPtr in dbaccessFridrich Štrba1-1/+1
Change-Id: Ic9e049b6b79a8ae3777d8b2a6e918289445c21da
2013-06-07cppcheck: reduce scopeJulien Nabet1-1/+1
Change-Id: Ia83fb8615dbe937b4b4478fd7bf128780f8c5289
2013-06-06Fix previous fixStephan Bergmann1-1/+1
Change-Id: I2d7ea38b743d78327fd19886019c1106bc1316d6
2013-06-06-Werror=sign-compareStephan Bergmann1-2/+2
(ListBox::GetSelectEntryPos returns sal_uInt16) Change-Id: Ia6e4bf4354523f5112ee3ade1d3da6db0f9ab2c4
2013-06-06Prevent out-of-range values coming from ListBox GetSelectEntryPos.Javier Fernandez1-0/+5
Change-Id: Ia787c412408ef53db3c8458f54c7843c669c81ad Reviewed-on: https://gerrit.libreoffice.org/4174 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-06-05fdo#64447 when changing setup mode, trigger changed DatasourceType eventLionel Elie Mamane1-0/+1
Change-Id: I961118331f534de103b83766a2c21a6bec479241
2013-06-05remove unused componentcontext.hxx includesNoel Grandin1-1/+0
Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
2013-05-31dbaccess: unused variableZolnai Tamás1-1/+0
Change-Id: I4bd8863bac0f5b4a5ff1936a9d6a240dbc40be72
2013-05-23Resolves: #i120859# Advance the wizard when Socket edit field has textAriel Constenla-Haile1-0/+1
(cherry picked from commit a9c651aa7f7a05049229c0169e439dccde3b4d51) Change-Id: Ia027dc549e3157eeb7b1d924550ed89122ae1a23
2013-05-22Use the new type-checking Reference constructor to reduce code noiseNoel Grandin1-2/+1
Also create a Clang compiler plugin to detect such cases. Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752 Reviewed-on: https://gerrit.libreoffice.org/4001 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-05-21allow to create new database using the wizard again (fdo#62937)Petr Mladek1-7/+3
To be honest, I do not userstand the code much. Julien pointed out that the setParentTitle and onTypeSelected were newer called. The condition looked like an optimisation and it helped to remove it. It would be great to put it back. It might be enough to hand the intial values. Change-Id: Id06cc9c63a9e578cb3c698c8526851fec71ef9da
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist1-1/+1
2013-05-07dbaccess: remove Package_incMichael Stahl1-1/+1
Change-Id: I8e6748eef04f25603851a33d049cb9585fa04cc6
2013-05-01convert message box return types to an enumCaolán McNamara1-10/+10
Change-Id: I20889dc94aac1119c1ee9da873ce911887c1c335
2013-04-25dbaccess: {DECLARE,IMPLEMENT}_CONSTASCII_USTRING are no longer neededMiklos Vajna1-0/+1
Change-Id: Id404f8f3a5bdbf32c207ee81c6f6be9c9d328679
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák37-310/+309
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05Replace `compareTo(...) == 0` with ==Ashish Banerjee1-1/+1
Proposed patch for the following issue: https://bugs.freedesktop.org/show_bug.cgi?id=62096 Change-Id: Ib83a9051ea12c53642f781e5427a6ca728049a7f Reviewed-on: https://gerrit.libreoffice.org/3198 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-04-05Drop jvmaccess and jvmfwk when no SOLAR_JAVATor Lillqvist4-3/+16
Just sprinkle #ifdef SOLAR_JAVA into the code instead. In the source for jvmaccess and jvmfwk such ifdefs can be removed as it isn't compiled unless SOLAR_JAVA. Change-Id: Ia8614f8bd6d833582d3b79b5fb75f9153fa79606