Age | Commit message (Collapse) | Author |
|
SfxDateTimeItem and SvxExtTimeField need to use 64-bit integer to store
Time as well. These classes also have binary serialization
Load()/Save() methods but they are unlikely to be used in a persistent
way, just for the clipboard.
The problem is easy to reproduce in Impress: Insert->Field->Time(fixed)
(regression from 9830fd36dbdb72c79703b0c61efc027fba793c5a)
Change-Id: I5946c5b94dd5a509805b6dc40461bbd910caffc4
(cherry picked from commit 7b9c61c7f20a679c5316a288c2ec2ffbf04b4200)
Reviewed-on: https://gerrit.libreoffice.org/7021
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
AutoCorrect option "Add non-breaking space in French..." insert
non-breaking space (hard blank) and avoid recognition of percent
number and time number. This patch treats hard blanks as soft blank
in number format recognition
Rev.#1: change #define to const variable. Same change in svxaccor
Rev.#2: improvements
Reviewed-on: https://gerrit.libreoffice.org/6015
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 2f4d7eacabd62db35777682bcca353e142e024bf)
Signed-off-by: Eike Rathke <erack@redhat.com>
Conflicts:
editeng/source/misc/svxacorr.cxx
svl/source/numbers/zforfind.cxx
Change-Id: I30c2c36778cb53a0238a0829043dad4d709f97d2
|
|
If Undo actions are removed due to max undo limit, invalidate the
current empty mark so it is different from sw::UndoManager::m_UndoSaveMark.
Change-Id: I20415f42a77b67e9935c75b12df675ba1c5ef5ec
(cherry picked from commit 1ff7dfa533b473d721c372ae801a46ecd513b32f)
Reviewed-on: https://gerrit.libreoffice.org/5379
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
|
|
Add IsUTC member to:
com.sun.star.util.DateTime
com.sun.star.util.DateTimeRange
com.sun.star.util.Time
Add new stucts with explicit time zones:
com.sun.star.util.DateTimeWithTimezone
com.sun.star.util.DateWithTimezone
com.sun.star.util.TimeWithTimezone
Adapt the sax::Converter to read/write timezones, and fix the unit test.
Everything else just uses default (no time zone), this commit is just
to fix the API.
STRUCT: /UCR/com/sun/star/util/DateTime
nFields1 = 7 != nFields2 = 8
Registry2 contains 1 more fields
STRUCT: /UCR/com/sun/star/util/DateTimeRange
nFields1 = 14 != nFields2 = 15
Registry2 contains 1 more fields
STRUCT: /UCR/com/sun/star/util/Time
nFields1 = 4 != nFields2 = 5
Registry2 contains 1 more fields
Conflicts:
sc/source/filter/oox/unitconverter.cxx
Reviewed-on: https://gerrit.libreoffice.org/4833
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 652ccbdf3111766fadc379a8cf4650b744e1e19c)
i#108348: fix TimeZone -> Timezone in struct names
(cherry picked from commit 604aae1fd240254fe851d93dc35b5408bd13296c)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
Conflicts:
forms/source/xforms/convert.cxx
offapi/type_reference/offapi.rdb
reportdesign/source/core/sdr/RptObject.cxx
sc/source/filter/oox/unitconverter.cxx
|
|
As the recent regression after merging AOO patch adding code serializing
"long" variables has shown, this overload (which was added in
7b2a0e541567be9750dfc7d98374555967da3470) is a bad idea.
In a unxlngx build, nm finds uses of the symbols _ZN8SvStreamrsERl
and _ZN8SvStreamlsEl in these files:
- sbxvalue.cxx: this appears to be a legitimate use with sal_Int64
- dateitem.cxx: this was accidentally changed by commit
9830fd36dbdb72c79703b0c61efc027fba793c5a
- atrfrm.cxx: this was added for Table Autoformat enhancement in
7e8c0bd73ee59ff3041e55268c77203373962e51, which is after the
sal_Int64 operators were added, so the file format is now
platform dependent
Change-Id: I78352b5429b53612c4831cdb81b587b5de5180a9
(cherry picked from commit 3835dee3c777bf10693903cb0866d22fab3794ea)
Reviewed-on: https://gerrit.libreoffice.org/4685
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
|
|
Old number formats had predefined formats from 0..49, locale data could
define additional formats from index 50 on. Internal (fractional)
formats were added to the number formatter, shifting the number of
predefined entries NF_INDEX_TABLE_ENTRIES by two that was also used as
an offset to determine whether a format needed to be added additionally.
As a consequece, formats defined with index values 50 and 51 in locale
data were ignored and not available in the dialog.
Introduced a new enum constant NF_INDEX_TABLE_LOCALE_DATA_DEFAULTS to
use as the old offset value for not having to change all locale data
definitions everytime an internally generated format is added.
Change-Id: I94bdaabf360f7b9c253b1e3f5b73087f0c45fb44
(cherry picked from commit e7d73b42bd71aaab862c3e519348507a84f74754)
|
|
Change-Id: I3db54045dc5be13dd7c72076c96a7e3f3b7b30ea
|
|
Change-Id: Ia4ea7d60d7b69c863c1e891887060265e73e1cb6
|
|
Change-Id: If75cad038f35033be6dcad6f051673bd795accf3
|
|
And use RTL_CHAR_{CR,LF} from rtl/string.h
Conflicts:
vcl/source/app/dbggui.cxx
Change-Id: I05b0325006845e48eb5483485a9042aa7b0cd22a
Reviewed-on: https://gerrit.libreoffice.org/3740
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
|
|
Change-Id: I7384a4fd82c8807dfaf9049306b65fe3ef5cab42
|
|
removal of the style by UI (which creates no undo actions). Re-add the
style when undoing if needed.
Change-Id: I6069a1cb42dfaeb0dd35fdc15687fd307f2b641e
|
|
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>
|
|
Change-Id: I7dcb2dcef78c67d90ff2dea58c1374bd17ac58af
|
|
Change-Id: Ic2fad1120876160f741056937825ab564e6d5f4e
|
|
Change-Id: I800840e1b3c0d97a049b3ceba0ec244365dc8e6b
|
|
Now all these usages were removed from LO.
Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6
Reviewed-on: https://gerrit.libreoffice.org/3326
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
|
|
String::Match() wasn't quite right at that place either, but..
Change-Id: I1aed325340f5f36973ef2da8fd48af3283c0b79b
|
|
- nanosecond precision
- signed (allowed negative) year
Also: assorted improvements / bugfixes in date/time handling code.
Some factorisation of copy/pasted code.
Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
|
|
Change-Id: I2e99cbe9db6d5911f0c2ec61229cd47e07e99cdf
|
|
also checked and fixed memory leaks caused by not deleting
SfxStyleSheetIterator instances.
Found by: Chao Huang
Patch by: Chao Huang
Review by: alg
(cherry picked from commit aee8221b3fbe64d8e88aa3a1b630214807cd86f0)
Conflicts:
sc/source/core/data/stlsheet.cxx
sc/source/filter/xml/xmlfonte.cxx
sfx2/source/doc/objcont.cxx
svl/source/items/style.cxx
sw/source/core/unocore/unostyle.cxx
Resolves: #120077# ALG: Reverted r1354011,
adapted all usages of SfxStyleSheetIterator and CreateIterator to use
boost::shared_ptr
(cherry picked from commit ec1819f218b94bed1556653e1b2b816a65da61ef)
Conflicts:
sc/source/core/data/stlsheet.cxx
sc/source/filter/xml/xmlfonte.cxx
sfx2/source/doc/objcont.cxx
svl/inc/svl/style.hxx
svl/source/items/style.cxx
sw/source/core/unocore/unoframe.cxx
sw/source/core/unocore/unostyle.cxx
26937d4d65562b14de0aea59a7b01cc4334f73c1
Change-Id: If99bf3ee399292ec269d68b36ee78ed63f033215
|
|
Change-Id: I1d095cf5640595789f4ae99f1b0679be88b0baa9
|
|
Change-Id: Ie7a4b836db7391f4e625bfeaeab55c2ed4304604
|
|
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
|
|
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
|
|
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.
This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.
Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
|
|
Introduced with c7709b460394283fd5b1d2779b6af3585f80a991
String to OUString where previous String::GetChar() handled this.
Change-Id: I9253df1af7498e2d7a8ea8077ec6b369697ad44e
|
|
...and fixing two call-sites.
Change-Id: I8ed8cb189bd5034130b49b2f57156568e6b24716
|
|
The header guard seems to solve the problem.
This reverts commit df8c41cceeca27ae49e9fa6b5cd64c65c8feb218.
Change-Id: I27869be9c70e79a366a547ce061e71a3743f87da
Reviewed-on: https://gerrit.libreoffice.org/3171
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
|
|
Change-Id: I0816631a1d0c68dcef9c640c91d00ac9942ded28
|
|
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
|
|
Change-Id: I377711500e6308e8aa273f016f8a2a9dcbaab760
|
|
Change-Id: I18f0a3d9e9c97164691233e3c997f978d339e401
Reviewed-on: https://gerrit.libreoffice.org/3062
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
SCNR
Change-Id: I3aaa8d9b37423d44fe11f161cc21c0a77b466353
|
|
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
|
|
Change-Id: I60fec73900b861363c02ec51ecbf9dcfd7edb167
|
|
Change-Id: Ib928f7e80aa185119c37b400e8a3e002619ffd41
|
|
Broken with 842c95519a35174238c728784662f854031993d7 were things like
;;;@ or _;0
Change-Id: Idf99378beedacf97a0376d1cd11ee78d3f7c9aff
|
|
Change-Id: Iabccc31c59cec32235661f5225f45bb13f76a68f
|
|
Change-Id: I57ff7cf21ab3d6bc7ded7fadd26475bbbe2cc2f5
|
|
Conflicts:
svl/source/items/itempool.cxx
Adapted to new pImp implementation. (erAck)
Change-Id: I106f0dc41bc8f41d394d680fe89a8fee6a2f508a
|
|
Change-Id: I92f5b3cb637b7cc6152d118505b69e762047f78b
|
|
Change-Id: I60726b445712cc15f8453812ce6313167314a8df
|
|
Patch by: Zhang Lu
Review by: Wang Lei
Conflicts:
svl/source/numbers/zformat.cxx
Change-Id: Id1ce742dc829a7aa8056e3be50e315ea4499ecc6
|
|
Change-Id: Ic50c6d02a3feaf72060defa50766b40b5dec1cf7
|
|
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
|
|
|
|
MSVC doesn't like this.
This reverts commit 84dc8e5b5504e5f54fba695d4338d022681d85cf.
|
|
some more conversions from 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10
Change-Id: I95e4fdf190e1f92501f3ec6ea09017e0c7bffe4f
|
|
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
|