summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)AuthorFilesLines
2013-03-13Resolves: #i119943 Underline can not work with ";" in format codeWang Lei1-1/+17
the semicolon will always be regarded as separator Patch by: Zhang Lu Review by: Wang Lei(cherry picked from commit 953b282dbb2552f89ec25455ec838f752abd6a2d) Conflicts: svl/source/numbers/zformat.cxx Resolves: #i119943 Underline can not work with ";" in format code the semicolon will always be regarded as separator Patch by: Zhang Lu Review by: Wang Lei(cherry picked from commit 423e8bc4e684a0790765aa2898bc2843538bc114) Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch> Conflicts: svl/source/numbers/zformat.cxx Change-Id: I1112739fb27939a66d22f198ec9c3a34f383bd9c
2013-03-13fdo#60724: Fix spelling avaliable -> available.Steven Meyer1-1/+1
2013-03-12Revert "reduce some uglyness"Thomas Arnhold3-197/+255
MSVC doesn't like this. This reverts commit 84dc8e5b5504e5f54fba695d4338d022681d85cf.
2013-03-11svl: fix buildThomas Arnhold1-4/+4
some more conversions from 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10 Change-Id: I95e4fdf190e1f92501f3ec6ea09017e0c7bffe4f
2013-03-11reduce some uglyness IIThomas Arnhold4-126/+103
NUMTYPE is never defined outside this header. So this complexity can go. There is no need to deliver nranges.hxx as there is only itemset.cxx using it. NUMTYPE -> sal_uInt16 NUMTYPE_ARG -> int SfxNumRanges -> SfxUShortRanges Change-Id: I27027f9ec83ebf456bb545763954884d5de227b3
2013-03-11reduce some uglynessThomas Arnhold3-255/+197
As there are no other users of this files, those macros can be expanded: NUMTYPE -> sal_uInt16 SfxXRangeItem -> SfxRangeItem SfxXRangesItem -> SfxUShortRangesItem Change-Id: I35361e0622a8787d938fc6c6745c4169ad6d909f
2013-03-09fdo#43460: use isEmpty()Thomas Arnhold1-1/+1
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim7-0/+18
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-07fdo#38838 Replaced some use of (Uni)String with OUString.Jean-Noël Rouvignac2-6/+6
Change-Id: Iad623c9300919fbae34279268a5a720f978c6434 Reviewed-on: https://gerrit.libreoffice.org/2514 Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-04sal_Bool to boolTakeshi Abe2-3/+3
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-03-04remove unused and commented out codeThomas Arnhold2-10/+0
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold1-1/+1
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-25loplugin: improve indentationThomas Arnhold1-4/+2
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-23Fix typo accessable/accessibleJulien Nabet1-1/+1
Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
2013-02-23sal: update log areasThomas Arnhold1-1/+1
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
2013-02-22fix string conversion in 1da3af5f1eb6a32fd0ab10da7cf2f8ddb298a3a1Ivan Timofeev1-13/+3
Change-Id: I683002c12f9bb8f053dafea70c889a2881a70b99
2013-02-22fdo#38838, ::rtl::OUString, String to OUStringGergő Mocsi2-6/+6
I have cleared out String and ::rtl::OUString calls in module dbaccess/source/core/misc. It was mainly file dbaccess/source/core/misc/dnstypes.cxx , and it's usages. There are still some calls in dbaccess for this class(ODnsTypeCollection), that needs refactoring (eg. in file DbAdminImpl.cxx, method "String ODbDataSourceAdministrationHelper::getConnectionURL() const"). Remaining calls will be my next task (in module dbaccess). I also clear out deprecated macro RTL_CONSTASCII_USTRINGPARAM every time I find one. The class I've mentioned above (ODnsTypeCollector) is OK. Change-Id: Ia0f3bb8cc649d1ecf8decc093f8a1a20ee23c33c Reviewed-on: https://gerrit.libreoffice.org/2289 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-02-22s/the the/the/Tor Lillqvist1-1/+1
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-20typo: allways -> alwaysAndras Timar1-1/+1
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-02-19related coverity#984042 move potentially uninitialized scalar variablesCaolán McNamara1-2/+2
Change-Id: I7cc181ca1cad1e8bce9cb44a7c2e2c7f534921e5
2013-02-18coverity#984042 Uninitialized scalar variableCaolán McNamara1-1/+1
Change-Id: If75afb24632553bb9aa90990c347ad8851ee55a9
2013-02-16Some cppcheck cleaningJulien Nabet1-1/+1
Change-Id: I1cc0a9e5c7f8bfd310e9bf56664f0f8b396ad9ec
2013-02-05Better error reportingStephan Bergmann1-16/+21
Change-Id: I48bd329e1a29ce9cbf9840bf5e3cb48a92cb8073
2013-01-28SfxPoolItem: fix annoying -Werror=shadow the hard wayMichael Stahl3-29/+30
... by properly prefixing the members. Change-Id: Idfdb93b19bf9fdd5309fb55d4e7e56da81ee822a
2013-01-28fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac37-88/+78
Changed SfxItemPool::GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; to use OUString. Change-Id: I656c1d321ff96f1f2e5b77f6adc103ef0a6fdf66
2013-01-28fdo#46808, Convert SvNumberFormatter to use XComponentContextNoel Grandin4-19/+19
Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
2013-01-28fdo#46808, Convert svl/lockfile code to XComponentContextNoel Grandin6-20/+10
Change-Id: I380944aa5e16b160ac76f939a839c513d4fbf232
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl3-0/+6
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-22silence MacOS X tinderboxDavid Tardon1-1/+2
Change-Id: I53e2c5789c9d96187b13bb0d52da9d70f24b39b6
2013-01-22do not second-guess which classes use a stylesheetDavid Tardon4-1/+49
Change-Id: I76b23bcdca2e7394fd5ab67e8341f4cdb46f8a64
2013-01-21resolve fdo#59240 - FORMATTING: Thai number shown as Arabic numeralsJoren De Cuyper1-1/+1
Change-Id: I6123f8924d7502d3b97b3254ce4e5df724e4370d Reviewed-on: https://gerrit.libreoffice.org/1769 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac4-6/+4
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-13fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac2-5/+4
Change-Id: Ibce0f8542aa398147d74f7acf53b2898dc3e4eff
2013-01-09Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac3-8/+8
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin1-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>
2012-12-27Sigh, my git grep regexps missed some casesTor Lillqvist1-1/+1
Change-Id: I085f14f40fb83cba171b35b14cf7c0d99091fc00
2012-12-27Check for _MSC_VER instead of MSC in sourcesTor Lillqvist1-1/+1
Change-Id: Ibaf2501e6b655913963a53c1cd63668f1c4cccb2
2012-12-25Get rid of (most uses of) GUITor Lillqvist1-1/+1
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-19resolved fdo#54344 let date pattern match overrule incomplete format matchEike Rathke1-1/+11
Change-Id: I69a0c62ab5b4da036a77bd6c3b2baec0af7c8339
2012-12-19resolved fdo#54336 accept abbreviated combined date/time inputEike Rathke2-5/+72
Abbreviated combined date/time input was not accepted if the date acceptance pattern ended in a separator, like "D.M." with input "D.M. hh:mm". Additionally check that for "D.M. #" input against a "D.M." pattern the '#' (any number) is not interpreted as year if the input so far was recognized to possibly match a date without time, in which case the count of numbers in input must match the count of numbers in pattern and input here is not a date. Change-Id: I3b123b872fbab9dab58afe3b6754b8ad70a61356
2012-12-18resolved fdo#58179 ImpSvNumberformatScan::RemoveQuotes: both ...Eike Rathke1-1/+1
Bug crept in with String to OUString change of 1599fc9e54a7c4855bee1c30d92dd1f5be05f530 Change-Id: I25a6b40de10785bc861fa2b353edada0e4a623c9
2012-12-13Bad compareToIgnoreAsciiCaseAscii result comparison caused endless loopCédric Bosdonnat1-12/+7
Change-Id: I6ef5aa87623a0d61942183b7eb888fc0f9cf6af0
2012-12-10callcatcher: remove unused rtf filter and associated methodsCaolán McNamara2-18/+0
update and remove newly unused code, mostly original rtf filter Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
2012-12-06OUStringBuffer::remove( int ) -> truncate( int )Luboš Luňák1-7/+7
Although this may seem consistent with remove( int, int ), it is in fact rather misleading API. The biggest offender is most probably buffer.remove( 'a' ) , which definitely does not do what it suggests to do. Change-Id: I287619cd4b953228b93fa68fb381d66c344c3865 Reviewed-on: https://gerrit.libreoffice.org/1256 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-12-05Bye bye ODMATor Lillqvist1-1/+0
SUSE has no interest in it any longer, and I doubt anybody else has either.
2012-12-04more explicit ctorsDavid Tardon11-20/+20
Change-Id: If91343890d9ed29ff2887e47c7c0a332baa5a8e1
2012-12-04SwXStyle::getPropertyDefaults: handle non-itemset based properties:Michael Stahl1-1/+2
These do not occur in ItemSets and thus cause fxItemPropertySet::getPropertyValue to throw. This caused sw_unoapi test to fail in sw.CharacterStyle on the property "Hidden" that was added in d9ef61fb546af443736057557552e3a95c569c11. Change-Id: I5b7b5b366120470a0f7d64b9b109b5c84c52b515
2012-11-30Fixed style iterators filters to show only hidden styles when requiredCédric Bosdonnat1-6/+10
Change-Id: I60d4dff4fc6eabc3882361457e19ae66f148d114
2012-11-30Styles & Formatting: added SFXSTYLEBIT_ALL_VISIBLE and show hidden stylesCédric Bosdonnat2-9/+12
Change-Id: Ie74ec3c15ba270afd0a6864bd5824a5bc0e3ea8b