Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I8ac3c45b83961541c4b5d9b2d5dc7193013d806d
|
|
This commit renames the most annoying abbreviations in Writer (and
partially in the shared code too).
Change-Id: I77e5134f42f25e3786afa36b7a505c7e3237a9e8
|
|
Change-Id: I323a038e5581b00cd3a4ea2f362c66540377759e
|
|
Checking for a bool is certainly cheaper than a chain of member function
calls.
Change-Id: I9520194e58e75264f3fcbb413a618e3995f59a4e
|
|
Regression from commit 54a2c8c006e2f216e9d8c6b0ed625180c843c48b
(tdf#39080 Interactive hide-whitespace mode, 2015-08-30), the problem
was that SwPageFrm::IsOverHeaderFooterArea() checked if the header is
active before accepting that the user clicked in that area.
Don't require an active header at least in non-hide-whitespace mode, as
the member function is used in the "could there be a header here" sense
in SwEditWin::MouseButtonDown() to show the controls that allows
actually adding a header.
Change-Id: I6f905920113aed1512e333e718a8f26d88a3245d
|
|
replaced using:
git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)'
| xargs perl -0777 -pi -e
"s/Sequence<\s*OUString\s*> (\w+)\(\s*1\s*\);
.*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g"
Change-Id: I20ad0489da887a9712982531c3b127339bb8b3b9
Reviewed-on: https://gerrit.libreoffice.org/19969
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Conflicts:
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Reviewed on:
https://gerrit.libreoffice.org/19962
Change-Id: Ic91ebf4a18a77704dc1ccd1e1180b42d0bc84c74
|
|
... and mpErrorBmp to actual members (not just in name only).
Change-Id: Id02553451f1990dbc111e9c842247764bf7554bc
|
|
... but there's no point in them being static either.
Change-Id: I49931289560da9de7a2e79577e525872d316cc4e
|
|
Change-Id: I6f4d0bb57c5d82984ff29b621dc4570f453be31d
|
|
Change-Id: I6520e47198a3da4e72fc77c6a6955afac410c7fa
|
|
depending on constness is a little worrying, lets just use different
names
Change-Id: I3e7ca96c8c7dc8d58a7415d39b937984961aa619
|
|
Browser and Hide Whitespace page height now use
SwPageFrm::GetContentHeight, which is const.
A few improvements are done for both paths as well.
Change-Id: I73a8e920ccfa96d76cbbb002bed6a85f2e636ede
Reviewed-on: https://gerrit.libreoffice.org/19730
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I5f30071bfe4f429a6ce7b2e79e4f1330b73e1e88
|
|
Change-Id: Id953a15b3d6167a2983500d21a215662415bc074
|
|
Change-Id: I8f23fb4fe51f64a82e58dcc150aeca964ac6af38
|
|
Change-Id: Ife08acfd0defbed7f09a3b8dce089f61b0d7e11c
|
|
Change-Id: I22a2123265da9d6808d9fd1bcb44666810a9311e
|
|
tools/rtti.hxx removed
completed the interface of some Sdr.* Items
and removed pseudo items
Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a
Reviewed-on: https://gerrit.libreoffice.org/19837
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
|
|
Change-Id: I845e2ceab1cf35a021eea23632291111c8f43362
|
|
Moved the page resizing from SwLayoutFrm::Format to
SwPageFrm::MakeAll and calculated the new page height
more accurately based on the content (stolen from
the browser-mode height calculation, to be refactored).
This fixes issues with repagination with certain contents.
Removed unnecessary ToggleLayoutMode calls and
prevented clicking between pages in single-view
mode to jump the cursor.
Change-Id: I5662dd26efff66d6e95b8fd4dcf8564588adbbb7
Reviewed-on: https://gerrit.libreoffice.org/19699
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
|
|
Streamlined a couple of hotspots and some
minor cleanups.
Change-Id: I85a9423e03f7e20ce78736a44d668da859a443cd
Reviewed-on: https://gerrit.libreoffice.org/19720
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
|
|
Change-Id: I30016977f1be8fb53dd239367d043de92a9467d9
|
|
Change-Id: I4be589325b89eac129328f98f9db7ce8c741892d
|
|
Change-Id: I55970d363ab53eb78d580192006e52d9240d46fb
|
|
Change-Id: I416c43f5f6819029e279bc2f5fb696b59917ef06
|
|
Change-Id: I9bea22d07a95eb521d9c3729b2aba1694cf02def
|
|
The short-lived SwBorderAttrAccess is manually deleted
which is not exception safe and can potentially leak.
This wraps it in unique_ptr.
Change-Id: Ib45c1c36214583e0bf205231f9f793e023d106c7
Reviewed-on: https://gerrit.libreoffice.org/19701
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Idc0290d82bb51fec0fcc1db003bd48f3cc402a0f
|
|
Change-Id: I0d00ca7727e0756030830cd732655b2a22b900d6
|
|
Change-Id: I08a2c2bb8ebd8cb2adf25b23fa57a5c5441fcfea
|
|
Change-Id: I962ee5dc35d5b33c751890ff9d56850897c7d080
|
|
Change-Id: Id9e18c67a4fa6e3646ac33cd616838819d1f10d8
|
|
Change-Id: Iad3c970b263b8ee847cf6a7d2e05c5336cad9b26
|
|
Change-Id: I7587c587a52310dbfee8e79a038495eb26b108b0
|
|
look for places calling the 1-argument vector fill constructor and then
immediately called push_back, which is generally a sign that its
leaving empty slots.
Change-Id: I34e69b8d09cc48c0d409499faaf192b9f86bc517
Reviewed-on: https://gerrit.libreoffice.org/17525
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
|
|
Change-Id: I11ff551955c1ac291ab576f2f18c2dd410427eda
|
|
Change-Id: Ib5b0e87064b6dcff03f6b77287a80ee2a03b8799
|
|
MSWord has a page-style vertical alignment (center/bottom/justify)
setting that was lost after round-tripping through LibreOffice.
Writer does not currently have the ability to vertically align text
outside of a frame, but the setting should be preserved for
interoperability.
Change-Id: I91ae841b91ca2f2dd1b68212fdcdf830c7cef22a
Reviewed-on: https://gerrit.libreoffice.org/18480
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
|
|
Change-Id: I9b671637fbe0f32e695d22b74bfb40a39a9fe884
Reviewed-on: https://gerrit.libreoffice.org/19364
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I187c182a1645cdd38c81bc72b3c836ab21725173
|
|
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
|
|
FormatObjsAtFrm() returns false, indicating that the result is not
perfect, and the caller hopes that formatting all children of the frame
again will help. Make sure that in case that assumption turns out to be false, we at
least do not loop.
The loop limit is enough to make the original i#43771 bugdoc still laid
out properly.
Change-Id: Ife9bd99a628a72edb922d04e05081971b6adf340
|
|
ubsan and valgrind continue to report use after delete of SwSectionFrm
with the same error message listed in the original commit of
commit c3087d969671e62182eb049850479e77190ccff4
avoid crash on layout of ooo77837-1.odt
by attempting to set the parent as un-joinable for the duration of the
Cut/Paste in order to ensure it survives the process
which introduced FlowFrmJoinLockGuard
continue to use lighter weight SwFrmDeleteGuard where we can get away with
doing that.
Change-Id: Ifb4c69514d074c776ec036987153043d1f715b95
|
|
this reverts
commit 9eb16c85d6af4b73de9a75716c3ff34f929f26b2
Author: Caolán McNamara <caolanm@redhat.com>
Date: Wed Jun 3 14:15:03 2015 +0100
don't crash on layout of ooo55381-1.sxw
The pLay here is getting joined and thus deleted in a stack of
FormatLayoutTabs so set it as unjoinable for the duration that
we expect pLay to remain valid
because ooo31216-2.doc fdo57780-2.doc rhbz193771-1.doc assert when converting
it to a more conservative SwFrmDeleteGuard. They would leave the function
safely on the early return if the delete was allowed, so go more conservative
again and restore to the original logic.
ooo55381-1.sxw continues to apparently not fail.
|
|
Change-Id: Iadb8be29d28c957ac773271904ee5ed86950087d
|
|
replaced use of PTR_CAST, IS_TYPE, ISA in
idl, editeng, sc, sd, sw, sfx2, sot, starmath
Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653
Reviewed-on: https://gerrit.libreoffice.org/19132
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
|
|
Given both tdf#91695 and the remaining crash on novell622972-2.html
it seems now safer to replace the remaining FlowFrmJoinLockGuard with
SwFrmDeleteGuard and rely on IsDeleteForbidden instead of IsJoinLocked
for the crashing layout edge-cases
and bundle the IsDeleteForbidden other IsDeleteForbidden users together
under SwFrmDeleteGuard
Change-Id: I017b6155daa3a6e49c5bee5b21ca4eddcfd5b5c0
|
|
The pLay here is sometimes getting deleted and then dereferenced afterwards
#20 0x00007f0c95395b23 in SwSectionFrm::~SwSectionFrm()
#21 0x00007f0c95395b6a in SwSectionFrm::~SwSectionFrm()
#22 0x00007f0c953af59d in SwFrm::DestroyFrm(SwFrm*)
#23 0x00007f0c95396d4e in SwSectionFrm::MergeNext(SwSectionFrm*)
#24 0x00007f0c95397e28 in SwSectionFrm::MakeAll(OutputDevice*)
#25 0x00007f0c952d13d5 in SwFrm::PrepareMake(OutputDevice*)
#26 0x00007f0c953cca7f in SwFrm::Calc(OutputDevice*)
#27 0x00007f0c9532d0ea in SwLayAction::FormatLayout(...)
Change-Id: Ib54515bd917333ee9a10f467148d2fe76991cde1
|