Age | Commit message (Collapse) | Author |
|
Change-Id: I90aae11aca84c9c5445f58bdf76d65f0213a334c
|
|
...and clean up call sites.
Change-Id: I7219a33652835e82fdc44e9e801a7e62868e4f38
|
|
Change-Id: I5cf06c6d9648f8f447b7669edfab8436e6f948ab
|
|
convert for loops using xub_StrLen to use sal_Int32
Change-Id: I5f635ca078966fefe938dbc7e8dea7c8d0d0b554
|
|
Convert code like:
xub_StrLen nLen = aStr.getLength();
into
sal_Int32 nLen = aStr.getLength();
Change-Id: Ib0af6b747068257478918fd1cc93e4925f32ac47
|
|
with low color depth or small size
(cherry picked from commit ba54ce4fc788605fc96235f432b455311faee406)
Conflicts:
cui/source/tabpages/tpbitmap.cxx
Change-Id: I10677414ab7d1904dbb29cd395a0c0334e0faa03
|
|
Converts code that calls comphelper::string::getTokenCount() to
use sal_Int32 to store the return value.
Change-Id: I439605a39d29b1309649e30f3ff40dfa412efcde
|
|
Change-Id: I10f3dbd9513052b3bbe30ddc6523cd231f26ded3
|
|
Change-Id: Ib7a040c48d8f35e8bd68a30e7b5219a7499ec8da
|
|
Change-Id: If451dfb24567157c86bca9a4a8564eb8de231a38
Reviewed-on: https://gerrit.libreoffice.org/6524
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Convert code like:
if( aStr == OUString("xxxx") )
to this:
if( aStr == "xxxx" )
Change-Id: I8d201f048477731eff590fb988259ef0935c080c
|
|
Change code like this:
aStr = OUString("xxxx");
into this:
aStr = "xxxx";
Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
|
|
This also means that this code now gets bounds checked in debug builds.
Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
|
|
boolean result used in bitwise operation
Change-Id: I581b681a6f3ba682c7b743928d1b6f397ecf960c
|
|
Change-Id: I77e46382cae6da03c3a972c9838afb3f8698c9a3
|
|
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
|
|
This patch fixes unsaveable booleans. Also fix the problem occurs when there is
multiple changes on page. Page was commiting only last added one, now
commits all.
Change-Id: Id1a15634e95d5ca9d54e7a90fa1bbbaf874e3f08
Reviewed-on: https://gerrit.libreoffice.org/6457
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I0a9f69b8c2129329f742f18e7749484b6f3e5bf7
|
|
lineend and color
(cherry picked from commit 03fa6020a862b1b6faf69f33274022cb871e8f4b)
Conflicts:
cui/source/tabpages/tpbitmap.cxx
cui/source/tabpages/tpcolor.cxx
cui/source/tabpages/tplneend.cxx
Change-Id: Ib99e8f0a59fb611972133bab1e864d59d019457b
|
|
So there is no need to do this locally, too.
Change-Id: I0fa1d0cd3e077ba0985848a9d2cbb061b123e8ad
|
|
Change-Id: I67a5457fa2f39b1d6ab0a635d9bdf78ffa90caea
|
|
Change-Id: I68110e2ff632d0446c127e428623fecb62aa14c5
|
|
Galaxy is our 'underlying' icon theme we use in LibreOffice. If an user
choose to have another theme, Galaxy icons will be overlapped by
that other theme. So in general the 'default' template _is_ galaxy, but
not for the end user. Different OS have different default theme and
are marked with '<themename>(automatic)'. To avoid misunderstandings
I delete the term 'default'.
Change-Id: If6a1ac781cb68eeb690edf1408c7ce4c62f2ec8e
Reviewed-on: https://gerrit.libreoffice.org/6321
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Convert places that call
aStr[aStr.getLength()-1] == 'x'
to use the shorter form
aStr.endsWith("x")
Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
|
|
They are practically always useless, often misleading or obsolete.
Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
|
|
hammer silver nails into coffin and bury in concrete
Change-Id: I3fda2ff47738bb33793adab97faba2d439ac9a28
|
|
Change-Id: Iec7a797581ab899e93ad6cebb06c3622ca2360b9
|
|
Change-Id: I9d25a58f22095689eccc0ac444c163d1e9bee69f
Reviewed-on: https://gerrit.libreoffice.org/6364
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
Change-Id: I9747817edc76973af4a4ffdbf542b8d1467d7f08
|
|
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
|
|
This commit removes copy and paste code, creating a constructor for it
Change-Id: I7a66cfda7fc7c11308d155a7a890352fdacfaacc
Reviewed-on: https://gerrit.libreoffice.org/6356
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
Change-Id: I635235896853693dd7687e0b72ccb3caf4febb89
|
|
We have no online/offline concept for the office anymore.
Change-Id: Id7e71d9c4383b47d3fae6f8cb5dc18ec22a55934
|
|
Also label it with "Ok" which reflects the new behavior better.
Change-Id: If8adde315c2d822e3210a0dcae7055519e5e558d
|
|
Despite it's name, rProperties, the Sequence is not a reference in the
function signature.
Besides, some small improvements:
- instead of compareToAscii, use operator==, which is optimized for
performance
(cherry picked from commit a17e221225915c140c7840904cb9b46d75731edc)
Conflicts:
cui/source/options/optsave.cxx
Change-Id: Ifffd2b9014210c885f03ff8116ea97625b903cba
|
|
The point of this menu option is that locked Smart-Art shapes would
preserve the original XML files attached so they could be exported
back to docx with no loss.
The new menu option is located at Options -> Load/Save -> MS Office ->
SmartArt to LibreOffice shapes or reverse.
Change-Id: I6aafc2eb83404ee2c0b8538b2f6fbbbd4363e7d3
Reviewed-on: https://gerrit.libreoffice.org/6138
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
An extra InsertEntry method is added with parameters to enable or disable the
load and save checkboxes independently.
Change-Id: I49233ce31e2eaf361310f89887dcede86dec0edc
Reviewed-on: https://gerrit.libreoffice.org/6137
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Remove leading and trailing whitespaces in the hyperlink dialog, because
the resulting links would be unusable.
Change-Id: Icf617daf51508a37494536e02fb298fb3cf746c5
|
|
Change-Id: I766c01c3ea4c03f4c76ef70fd16037d8196242a1
|
|
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
|
|
Change-Id: Ie30e4d67435808fd6c31e1ca7f10a58faad1c6ce
|
|
Change-Id: Ie599ddddca533db3a626ab63a9d47e10d76a4a94
|
|
Change-Id: Ife34807a447aae474f1df29ce22f50b9e9d9cacf
|
|
Change-Id: I27a6622f45ec3fdbb9153e1dcb1114c5dc71e884
|
|
Change-Id: I2894b7ffc186836890ab7b8117e2c7ca43bd21be
Reviewed-on: https://gerrit.libreoffice.org/6087
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I15c34278a3dca19547c77be7aca670fbbc2d2037
|
|
Change-Id: Ia73c38866b50e6986361909aa64f7a95c2ce8635
|
|
Change-Id: I0a463c38214b95582db2c7b3979367255426c14e
|
|
Change-Id: I72e497fb97edf8782c69000576f42896594e1556
|
|
This is the command that adds a Separator to the toolbar or menu
Change-Id: I38bb449b6f34b6fc80bbbe6c0161d3346f785888
Reviewed-on: https://gerrit.libreoffice.org/6088
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
|