summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/autocdlg.cxx
AgeCommit message (Collapse)AuthorFilesLines
2013-07-01Resolves: fdo#66403 infinite loop, typo i should be itCaolán McNamara1-1/+1
Change-Id: Ia3ec1302649809b7a63befc0a48fb142f1169936 (cherry picked from commit e21544132a6732334a14194e02232b28e559303b) Reviewed-on: https://gerrit.libreoffice.org/4648 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-04-27Bin ugly (ab)use of preprocessor in headersTor Lillqvist1-1/+0
The time when it made sense to use "clever" #ifdefs to, for performance or compiler reasons, conditionally bypass private parts of a class declaration passed a decade or longer ago. Still more of this in sw and sc. People working on those modules might want to do it too, or not. Change-Id: I1053139ca5e5e2631f7b22d99d3bada54fc337be Reviewed-on: https://gerrit.libreoffice.org/3627 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-18pick a default number of lines for abbrev/double listsCaolán McNamara1-0/+2
Change-Id: I553149931b6f2bad5ef149d899ca974240bda4fd
2013-04-18convert autocorrect replace tabpage to .ui formatCaolán McNamara1-97/+86
Change-Id: I962fae2d4d177a7ca364d0dece0c15132a199497
2013-04-18make replace column list align with replace editboxCaolán McNamara1-4/+11
Change-Id: I23c813bde254c65ce3279784aa0650c879fdd992
2013-04-18convert autocorrect replace to to .uiCaolán McNamara1-104/+109
Change-Id: Id1ea4f5e5f003b4c5c405556a2951943a5ed4fb2
2013-04-17convert autocorrect dialog to .ui formatCaolán McNamara1-36/+32
Just the outmost dialog itself, not the individual pages. We have to go top down in this case to incrementally convert the pages because of the non-standard additional widgets outside the tabcontrol area. So this dialog is set to non-resizable until its contents are converted over. Change-Id: I92014a44b4cab8d345666295b052635d4b57a496
2013-03-11fdo#38838: Converting String/UniString to OUStringelixir1-3/+3
Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9 Reviewed-on: https://gerrit.libreoffice.org/2586 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-02-26fdo#38838 Replaced some use of (Xub)String with OUString.Jean-Noël Rouvignac1-6/+2
Change-Id: I5a8f2d1a5762c20d21d31b04778a9e2cac8df9cb Reviewed-on: https://gerrit.libreoffice.org/2364 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-25RTL_CONSTASCII_USTRINGPARAM and ::rtl:: removalsKrisztian Pinter1-22/+22
Conflicts: cui/source/options/optgdlg.cxx cui/source/options/webconninfo.cxx dbaccess/source/ui/app/AppController.cxx Change-Id: I2abfad91318e8be8c0f77909cbd76825cdca9b85 Reviewed-on: https://gerrit.libreoffice.org/2350 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-24fdo#38838 searched, replaced and removed String::CreateFromInt32().Jean-Noël Rouvignac1-2/+2
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ And finally removed String::CreateFromInt32(). Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5 Reviewed-on: https://gerrit.libreoffice.org/2279 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-01-29loplugin: remove some unused strings, etc.Caolán McNamara1-1/+0
Change-Id: Ic18ca82a49ec346240a667462e73184694ce8feb
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith1-4/+4
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>
2012-12-13fdo#58060 use acor_und.dat and LANGUAGE_UNDETERMINEDEike Rathke1-3/+3
Previous versions used an empty language tag for LANGUAGE_DONTKNOW with the "[All]" autocorrection entry and read/wrote from/to arco_.dat file. An empty language tag otherwise is used for system locale and doesn't convert flawlessly with the new LanguageTag system. Instead use LANGUAGE_UNDETERMINED with the ISO 639 code 'und' so the file name is "acor_und.dat". During user profile migration an existing 3/user/autocorr/acor_.dat is copied to the new 4/user/autocorr/acor_und.dat Change-Id: I593f24829c6efd58f36e93ebd3385a3c925f7217
2012-12-10fdo#55570 - re-factor SvxAutocorrWordList to hide it's innardsMichael Meeks1-1/+3
2012-11-30fdo#46808, use service constructor for i18n::CollatorNoel Grandin1-13/+4
Change-Id: I15a360723e335345aad09e73fcb0f6815ed9e0d4
2012-11-29Pass pointer to view data entry to Paint() instead of its raw flag value.Kohei Yoshida1-4/+6
We need to hide these flags away. Change-Id: I112003a88a92174f5012b3356ba261a039eeccc1
2012-11-25German comment translationsMarkus Maier1-1/+1
Change-Id: I0d169b7cd0f47b6986063d0cc0b6697b1d575e6a
2012-11-24get rid of Svx...Locale...() double conversion nonsenseEike Rathke1-7/+7
Change-Id: I21d14ff6087d1adb0ce769f2e8f8060a005250cc
2012-11-23some i18n wrappers with LanguageTagEike Rathke1-6/+6
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-22AllSettings with LanguageTagEike Rathke1-2/+2
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-15Rename SvLBoxItem::IsA() to GetType(), and mark that const.Kohei Yoshida1-2/+2
Change-Id: I542835154e40b25d68fc3995d911810e26e30501
2012-10-19Merge SvListEntry and SvLBoxEntry into SvTreeListEntry.Kohei Yoshida1-26/+26
Change-Id: I89cfc8c1288c00674fe64e791c149743d377d5ee
2012-10-13Prefer prefix ++/-- operators for non-primitive typesJulien Nabet1-1/+1
Change-Id: I057c3ea14cd1f224b339f884ae86890d16471215
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák1-2/+2
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I231f0b367bf0b513c6c1ce4c4cfdb7c3dc8660d5
2012-10-11Merged SvTreeListBox and SvLBox.Kohei Yoshida1-2/+2
There is no reason to keep SvLBox separate. Change-Id: I0b34aa8f8ca539d4f4f0f9cea9fa9b8faec241e8
2012-10-04re-base on ALv2 code. Includes:Michael Meeks1-28/+16
clarify Option->Language UI option Patch contributed by Herbert Duerr http://svn.apache.org/viewvc?view=revision&revision=1173991 cws mba34issues01: #i117712#: fix several resource errors introduced by IAccessible2 implementation Patch contributed by Mathias Bauer http://svn.apache.org/viewvc?view=revision&revision=1173991 cws mba34issues01: #i117709#: add missing string resource Patch contributed by Mathias Bauer http://svn.apache.org/viewvc?view=revision&revision=1172348 cws mba34issues01: #i117716#: fix missing resources my removing unused code Patch contributed by Mathias Bauer http://svn.apache.org/viewvc?view=revision&revision=1172345 re-add Crystal, Tango, Oxygen icon theme listings. correct method signature Patch contributed by Jean-Louis 'Hans' Fuchs http://svn.apache.org/viewvc?view=revision&revision=1306725 i#119063 - correct serf integration Patch contributed by Oliver-Rainer Wittmann http://svn.apache.org/viewvc?view=revision&revision=1300521 i#119036 - adapt serf integration -- use transfer-encoding 'chunked' on HTTPS -- switch transfer-encoding between 'chunked' and none on 413 HTTP status code -- refactoring -- improve user experience of certification dialog - only shown once Patch contributed by Oliver-Rainer Wittmann http://svn.apache.org/viewvc?view=revision&revision=1299727 118569: Use whole certification chain for verification. Patch contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1295493 serf integration: improve credential input handling Patch contributed by Oliver-Rainer Wittmann http://svn.apache.org/viewvc?view=revision&revision=1294557 warning-free ucb/source/ucp/webdav Patch contributed by Pavel Janik http://svn.apache.org/viewvc?view=revision&revision=1294086 some refactoring to PROPPATCH and PROPFIND requests Patch contributed by Oliver-Rainer Wittmann http://svn.apache.org/viewvc?view=revision&revision=1293281 i#118569: Replace neon with serf Patch contributed by Oliver-Rainer Wittmann http://svn.apache.org/viewvc?view=revision&revision=1292832 http://svn.apache.org/viewvc?view=revision&revision=1292794 remove OS/2 conditionals for now. re-enable webdav unit tests.
2012-09-28having two SetPosSizePixel is a blasted nuisanceCaolán McNamara1-1/+1
Lets rename the multiargument SetPosSizePixel to setPosSizePixel drop the various using Window::SetPosSizePixel and work towards de-virtualizing SetPosSizePixel/SetPosPixel and SetSizePixel and doing the work in a virtual setPosSizePixel Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
2012-09-23fdo#49350 Speedup "OK" action of auto-correct dialogTomaž Vajngerl1-111/+77
Instead of synchronizing the main list and the list of entries in the dialog, just remember what was added and removed and only add / remove those entries in the main "SvxAutoCorrect" list. Additional add MakeCombinedChanges which adds and remove entries in one call and only writes changes to the "acor" file once. Change-Id: Idcc4c64d25e050c3f6eb9960a59c4a55d06b5ca1
2012-09-19fdo#48729 Change int16->int32 in auto replace dialog.Tomaž Vajngerl1-118/+126
Auto correct / replace dialog supported only 65535 (2^16) entries (per language) due to using sal_uInt16 in the code. This restriction existed only because of legacy code which was meanwhile refactored to use dynamic containers (like std::set, std::vector). This fix changes usage of sal_uInt16 to sal_uInt32 to increase the number of entries to a much higher value. Change-Id: Ica77648915266fed67602a4e30b59a4e55e34efc
2012-08-11Remove unused local varsJulien Nabet1-1/+0
Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc
2012-08-07remove empty ascii boxes and stuffThomas Arnhold1-55/+0
Change-Id: Ied91b5b298f0cfad0d3408c3cbb87c7bd1b83247
2012-07-25sorted_vector: MSVC doesn't know which erase to callMichael Stahl1-4/+4
Change-Id: Ib81388db2f93db662bb5439565f311835b08073e
2012-07-25remove typedef StringPtrMichael Stahl1-2/+1
Change-Id: Ibb5b1c02a15fb1b6e4b45737b2afa9f065318071
2012-07-25autocomplete: replace horrible use of SvStringsISortDtor...Michael Stahl1-12/+16
... to store not Strings but derived SwAutoCompleteStrings with something far saner: an abstract base class with virtual dtor. Change-Id: I7d966f385dd41154ee1c4cdb43b56ff1aace9b5e
2012-07-25Convert SvStringsISortDtor from an SV_DECL_PTRARR to a o3tl::sorted_vectorNoel Grandin1-27/+37
Change-Id: Ie1fa9b3cc2aef83ae9a82fbc110a08b2f298daef
2012-07-12Convert SV_DECL_PTRARR_SORT_DEL_VISIBILITY(SvxAutocorrWordList) to std::setNoel Grandin1-10/+7
Change-Id: I31783eecc28cdc6f4d8c40841302d5338a2cd7be
2012-07-09some UniString->rtl::OUStringCaolán McNamara1-2/+3
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-04Convert aTabs field in SvTreeListBox from SvPtrarr to std::vectorNoel Grandin1-4/+4
Change-Id: I901c6df67fc95cfb2ac3ea15e69a47c5fc3161b6
2012-04-17translated or removed german comments in connectivity, cppuhelper and cuiFlorian Allmann-Rahn1-42/+42
2012-03-02Convert tools/table to std::vector and std::map in cuiNoel Grandin1-90/+53
Convert DoubleStringArray to std::vector Convert DoubleStringTable to std::map Convert StringsTable to std::map
2012-03-01New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problemStephan Bergmann1-5/+5
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
2012-02-27Reduced loadtime of autocorrect tablesSzabolcs Dezsi1-2/+2
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann1-1/+1
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2012-01-11SvStringsISort->std::setAugust Sodora1-17/+8
2012-01-10SvStringsDtor->std::vectorAugust Sodora1-42/+28
2012-01-10Remove _SVSTDARR_STRINGSISORTDTORAugust Sodora1-3/+0
2012-01-09simplify CharClassCaolán McNamara1-2/+2
multiple variants of toUpper (etc) some that take a non-const OUString or String and modify it some that take a const OUString or String and return a new one some that take part of a const OUString or String and return a new one
2011-12-20Fix for fdo43460 Part XI getLength() to isEmpty()Olivier Hallot1-1/+1
Part XI Module cui
2011-09-12windows is the only platform which does thisCaolán McNamara1-3/+3