Age | Commit message (Collapse) | Author |
|
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
|
|
Convert places that call
aStr[aStr.getLength()-1] == 'x'
to use the shorter form
aStr.endsWith("x")
Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
|
|
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
|
|
Change-Id: Icdc36b4b24d2f399f481065df3200feb98025135
|
|
Change-Id: I9747817edc76973af4a4ffdbf542b8d1467d7f08
|
|
Change-Id: I891fa5b9b8bd3be7dd4d73f2911ec56d16a3b09f
|
|
Change-Id: I086e812b0db60fed094d21d2ba5aac1b9943e0d5
|
|
Change-Id: I16ced23894e461e7953ed4978ca0d4cf7f40f5e8
|
|
set to RTL language
Change-Id: I0c133e3bbb6801f56e9ac0f508961bfa07a19523
Conflicts:
svtools/source/control/ruler.cxx
|
|
Change-Id: I0b47849ba0fa0dfaf4a481779a5ece09be496c1e
Reviewed-on: https://gerrit.libreoffice.org/5973
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
|
|
Change-Id: I647e952769c79b95e11af778b07d64d3a6fbe226
|
|
On the Borders tab in the preview block (called User-defined area
in help) fine dashed border is drawn as solid line.
The problem is that 1 pixel gap is too small and painting
can hadnle it so I doubled the numbers to get the same rate and
get the rigth visual result.
Change-Id: Ide037fa3f4f90b304dc53f5f806c2acd2194ec0c
|
|
Change-Id: I70d9f0409962be607eddac1b308d8cc44d2a7b7f
|
|
It is now possible to disable snapping of the ruler at dragging
with holding the ALT key and coarse snapping with ALT+SHIFT key.
Tooltips are shown when hovering over indents and borders.
Change-Id: Ib1e9639e1e2824f2a75b5abd35765bbbd02c87f7
|
|
Change-Id: I051e28d9241c17192b580c49fbec488be69f727b
|
|
Change-Id: Ifc9baeabedeab526d040220e9e45f171b5353bcf
|
|
Change-Id: I7495f86cb35b6f712cfb7d603f022f6f6c407266
|
|
Change-Id: Id6d22b71f2b552ea7872e8a3da6afe207e856561
|
|
Change-Id: I18cefc69b963cb957645a4586079de0d448e90b3
|
|
Change-Id: I9c3b4f84df252e632f02e79e069426fafadee0fe
|
|
- minimal unit for inch is 1/16 and for cm 1/10 (1mm)
- additional tick level (now 4 in total)
- top and bottom tick in addition to the number (highes tick level)
- dynamically draw tick levels depending on the tick gap (should be
at least 6 pixel wide)
Change-Id: I0598b16e32d19eb1294a2358eacbeb19a70966a2
|
|
Change-Id: I633dcd452a0df426421eaccadf648ad06b8e124c
|
|
Change-Id: I099387648988b83d4d4b53f59237906e8f939c6e
|
|
Change-Id: I9ccb6453fbebf03d44d3f5b385fa5a49579da873
|
|
Change-Id: I06dca63053dae5d3dceb49bf67adb0c100b56e8b
|
|
Change-Id: I7409f7a58796c9bf7542b6a7904ad40581637eeb
|
|
This is a follow up commit to
- 22d1beb78a475e4846af945afde1c4d6c263b5d6
- 1c7af455ab9345304a7ac48ce2e0310de2ac8a75
Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
|
|
Change-Id: Ied2a6982d5564228b0ce7fecb89723f3742b6d0d
|
|
Change-Id: Ie77f9bfc44708db6555386eeb8b2da3a39259f42
|
|
Change-Id: Ie2ffa23966fcd14bc4c60fc2139b74534a6edeb0
|
|
Change-Id: I471920e26a8e336cde795360945b5a843fe8f9c8
|
|
Change-Id: I58e6f189c950dbaa5b71bb1b040f9eff20c50796
|
|
Change-Id: Ie302038c5c9e8771bb27be50081788d6545aef5a
|
|
Change-Id: I3d22eede61fb7ba15bac6f6130a7a60ec62170dc
|
|
Change-Id: Ib5849c9a652401dbac7e93bb69c18d95d31292af
|
|
Change-Id: Id6488ba7a72603f2f0eb2972f22797d6025f6031
|
|
One of the changes is inside an "#ifdef WNT" block, so I missed it.
The other change is because MSVC is not quite as smart when it
comes to matching the "const char *" OUString constructors.
Change-Id: I60f2ccb719630bab2a178cecc2f84b7a706ad230
|
|
Change-Id: I32e411801d3754ca635cfc3ed9529b8ea43ffa3c
|
|
Change-Id: If4a61b5d9f24c7dd7d815540d40c13e1d784d574
|
|
Change-Id: I69db7527f915badb26d7162305521a81d65b3599
|
|
Change-Id: I86b78137f02a11c5a2c34930b19cef22acd7ac69
|
|
Change-Id: Ie0e07c61caba1e15475900622c97e0f0426558d6
|
|
Change-Id: Id8b6e41b6eeb0f0b6cd835cea53abca55f1d1373
|
|
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
|
|
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3
Reviewed-on: https://gerrit.libreoffice.org/5550
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
|
|
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
|
|
Change-Id: I2a2cc56cf005f564c798b8d43ef7e8c4b7f9eeff
|
|
This reverts commit 389bdc162415abff78971b1ce7c5d47482e1d37b.
Sadly this was going in the wrong direction...
|
|
This reverts commit 1cbdcc31b8a921c508f2fdf09847f64d004a7faa.
Sadly this was going in the wrong direction...
|
|
Change-Id: Id3ae8e34fa8ca8c7a47ddaa9cf5183fec48457fa
|