Commit graph

500095 commits

Author SHA1 Message Date
Olivier Hallot
a80a28f4d3 Update git submodules
* Update helpcontent2 from branch 'master'
  to ac18fb999e675f78ce6f2b687a67ea001edf5ccd
  - tdf#162607 disambiguate hid2file.js, SaveGraphic
    
    + Removed bookmark from simpress file
    
    Change-Id: Ia9ddb3cd9f2c1d6b8a611e958d5b966d882092d9
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/174146
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-09-28 16:50:12 +02:00
Olivier Hallot
2b6236cb8f Update git submodules
* Update helpcontent2 from branch 'master'
  to d81dc3348d3ac27155b0f9b021d95c7599848150
  - tdf#162607 disambiguate hid2file.js, TableBoundaries
    
    + Removed bookmark from the options help page
    
    Change-Id: If3b3aa13283e0f6733640676137d834fb8662475
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/174145
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-09-28 16:49:56 +02:00
Olivier Hallot
52d1da1f9a Update git submodules
* Update helpcontent2 from branch 'master'
  to 446f60711a2d62504ac3011987ad22fb64af6ffc
  - tdf#162607 disambiguate hid2file.js, uno:ScrollBar
    
    + Remove useless bookmark
    
    Change-Id: I38689febf073c29353fb1b7e089617eed3d52b69
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/174144
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2024-09-28 16:49:40 +02:00
Olivier Hallot
a7a43dd7a8 Update git submodules
* Update helpcontent2 from branch 'master'
  to b038ab4ef42ff67d505cdf5deddfe492852ad56b
  - tdf#162607 disambiguate hid2file.js, uno:SheetMenu
    
    + Remove singleton help file used nowhere (superseeded by scalc/main0116.xhp)
    
    Change-Id: I5e675d84c9e54fcf0d2bf7c3f0c46bd6de6d43aa
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/174143
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-09-28 16:48:11 +02:00
Julien Nabet
32fccb862f cid#1620317 COPY_INSTEAD_OF_MOVE
Change-Id: I7d31cf2a977cb095a6d3cd89f9cadf82bea3bddd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174099
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2024-09-28 13:33:11 +02:00
Julien Nabet
6a2333c166 cid#1620321 COPY_INSTEAD_OF_MOVE
Change-Id: I9030fafe12bb48d43049493102de23ca8212cd9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174087
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-28 13:33:02 +02:00
Julien Nabet
bb22876320 cid#1620328 UNINIT_CTOR
Change-Id: I4c56bf457920bb3800413d5e2289e49e5d64eb0f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174085
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-28 12:50:40 +02:00
Julien Nabet
9f50e04713 cid#1620326 UNINIT
Change-Id: Ic99797c2e286e25e7803668480a1aabd26cdca27
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174086
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-28 12:50:24 +02:00
Julien Nabet
1f578b6244 Typo: bDuplicatRows->bDuplicateRows
Change-Id: I307c81013723d6b47cf2e7f98ce9ac2e179136f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174100
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2024-09-28 12:49:28 +02:00
Olivier Hallot
6e9b04320c Update git submodules
* Update helpcontent2 from branch 'master'
  to 6ad81aa6d12b615374b39d0eb7e2dec4e12ebcbc
  - More tweaks in XHP DTD
    
    Added more entities
    
    Change-Id: Idc529efd6f26496e22ac56586622c4b54742531f
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/174037
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-09-28 12:21:53 +02:00
Bogdan Buzea
157ce1e127 tdf#163183 Improve Tip of the day 8/225
Change-Id: Ib9bb049afc56a889d764aa9d3a9c0bcf5a1ea1f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174009
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2024-09-28 11:43:56 +02:00
Caolán McNamara
247aeeebc9 setParentStorage is always called with an empty reference
Change-Id: I973811b3e8aa41bc331362a96a7cb519aec363a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174068
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-28 11:37:13 +02:00
Michael Weghorn
178430733b tdf#130857 qt weld: Declare support for "License Information" dialog
Now that previous commits have implemented what's
needed to display the dialog and for button clicks
to result in the expected action, add the .ui file
for the "Help" -> "License Information" dialog to the
list of supported .ui files for QtInstanceBuilder, so
native Qt widgets will be used for that one with
the Qt-based VCL plugins unless starting LO with
the SAL_VCL_QT_NO_WELDED_WIDGETS environment variable set.

Change-Id: I8a2dff1c751739567a3c9c0728e3357859069a9b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174080
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-28 09:36:14 +02:00
Michael Weghorn
08b55df5c9 tdf#130857 qt weld: Close dialog on button click
For QDialogs (created for "GtkDialog" objects in .ui files)
that have a button box, let clicking any of the buttons
that have a response code set close the dialog with
that response code by connecting to the
QAbstractButton::clicked signal.

This addresses the remaining aspect for the
"Help" -> "License Information" dialog
mentioned in earlier commit

    Change-Id: Ic9393755ec474f77ff22a1115e3cccba9d7b26cb
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Sat Sep 28 00:07:28 2024 +0200

        tdf#130857 qt weld: Add initial support for dialog and label

> However, currently (...) clicking the buttons doesn't yet have any
> effect.

Actually using Qt(InstanceBuilder) for that dialog
will be enabled in an upcoming commit.

Change-Id: Ie3c26963318fd5832688e3ed73f6952e09da4bb7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174079
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-28 09:36:07 +02:00
Michael Weghorn
8f5d8342e4 tdf#130857 qt weld: Move button response prop to QtInstanceDialog
It will be used for QDialog as well, not just QMessageBox

Change-Id: I887b3fe45beea40cc92f2b0b77f316ad73d7f922
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174078
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-28 09:35:58 +02:00
Michael Weghorn
70bbd7f6bd tdf#130857 qt weld: Ensure dialog button box is last in layout
For QDialog, make sure that if a button box is included in
the dialog's layout, that this is the last item in the layout,
by removing from the layout and adding it at the end again.

I don't see any explicit child index explicitly being set in
the .ui file for the "Help" -> "License Information" dialog
("sfx/ui/licensedialog.ui").

Potentially GTK implicitly visually makes the dialog's
button box the last item in the dialog.

Corresponding child is this one:

        <child internal-child="action_area">
          <object class="GtkButtonBox" id="dialog-action_area1">

Potentially the `<child internal-child="action_area">`
identifies this as the dialog's button box that should
be last, at least dialog newly created in glade
also has that set.

For QMessageBox, which is a QDialog subclass, this
special handling is not needed, as its default
button box is used, which is already at the right
place.

This addresses the first aspect mentioned in
previous commit:

    Change-Id: Ic9393755ec474f77ff22a1115e3cccba9d7b26cb
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Sat Sep 28 00:07:28 2024 +0200

        tdf#130857 qt weld: Add initial support for dialog and label

> However, currently buttons and the label with the text
> are in the wrong order (i.e. buttons are above the text)

Still missing:

> and clicking the buttons doesn't yet have any effect.

Change-Id: Id991551548c1e54fdf2e169886a6c67fc307931f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174077
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-28 09:35:48 +02:00
Michael Weghorn
4c7f4ed28e tdf#130857 qt weld: Add initial support for dialog and label
Add initial support for the "GtkDialog" and "GtkLabel" objects
in .ui files by creating corresponding Qt widgets
(QDialog for "GtkDialog" and QLabel for "GtkLabel").

This makes the elements of the "Help" -> "License Information"
show up once the .ui file of that that dialog
("sfx/ui/licensedialog.ui") is added to the set of supported
.ui files.

However, currently buttons and the label with the text
are in the wrong order (i.e. buttons are above the text)
and clicking the buttons doesn't yet have any effect.
Those aspects will be addressed in separate commits
before actually claiming support for the dialog
in QtInstanceBuilder::IsUIFileSupported.

Change-Id: Ic9393755ec474f77ff22a1115e3cccba9d7b26cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174076
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-28 09:35:41 +02:00
Michael Weghorn
f14b6a9c2d tdf#130857 qt weld: Use QDialog* as param for findButtonBox
Don't restrict to QMessageBox, but allow using the
method with any QDialog, and don't assert that
the dialog has a layout set in this case.

The method will be reused in an upcoming commit.

Change-Id: I1992f2eb4f34b25e487bbd349631b6ecd4365c95
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174075
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-28 09:35:33 +02:00
Michael Weghorn
592665ce86 tdf#130857 qt weld: Avoid unnecessary OUString copy
Change-Id: I36802f84070e579b714b696144536a2f130e2f7a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174074
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-28 09:35:13 +02:00
Michael Weghorn
a9c637da43 tdf#130857 qt weld: Use "p" prefix for pointer param name
Change-Id: I732b67ef6f864fcbb1724b6d6bc3290417660dcb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174073
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-28 09:35:05 +02:00
Michael Weghorn
0aa5380c22 tdf#130857 qt weld: Set widget layout and add to parent layout
When creating a QLayout, pass the parent widget
to the ctor as well, which makes the layout be
set for the widget. Quoting from the QVBoxLayout ctor doc [1]

> Constructs a new top-level vertical box with parent parent.
>
> The layout is set directly as the top-level layout for parent.
> There can be only one top-level layout for a widget. It is returned
> by QWidget::layout().

Also add widgets to their parent layout if the parent
is a QLayout, and not a QWidget.

This makes the items of the "Help" -> "License" dialog
actually be part of the dialog in a WIP branch
that has "QtInstanceBuilder::IsUIFileSupported" in
the set of supported files in QtInstanceBuilder::IsUIFileSupported.

[1] https://doc.qt.io/qt-6/qvboxlayout.html#QVBoxLayout-1

Change-Id: Ib823896a28520b6f7e1e89244239d3204d1d10e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174072
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-28 09:34:58 +02:00
Michael Weghorn
0d927b52a0 tdf#130857 qt weld: Ignore placeholders
In QtBuilder, ignore placeholders as encountered e.g. in
"sc/uiconfig/scalc/ui/checkwarningdialog.ui" (that's not
yet in the list of supported .ui files for QtInstanceBuilder
yet).

VclBuilder mostly ignores them as well, see
VclBuilder::makeObject.

Change-Id: I68481e31365561719af5e72ee20adb428b642941
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174071
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-28 09:34:49 +02:00
Michael Weghorn
4dc9182398 sc: Resave checkwarningdialog.ui with glade 3.40
Change-Id: Idb8efd7a8be06436b16572bfcf1d352a823e2497
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174070
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-28 09:34:42 +02:00
Michael Weghorn
e9761fb11c tdf#130857 qt weld: SAL_WARN and assert on unsupported widget type
Change-Id: I45b0eac84a5820d0ef8a3bb36de35827f0ae1e33
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174069
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-28 09:34:34 +02:00
Michael Weghorn
685c4aea78 qt: No longer use SalFrame::maGeometry in QtFrame at all
With previous commit

    Change-Id: Icaf712c956297dbc7a774bbd995d42eb8a63a1bb
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Fri Sep 27 11:06:55 2024 +0200

        qt: Query screen on demand in QtFrame

in place, all relevant members are explicitly set
for the returned SalFrameGeometry in
QtFrame::GetUnmirroredGeometry, so there's no more
reason to start with a copy of `maGeometry` instead of
a default-constructed SalFrameGeometry.

Margins for decorations are never set for the Qt-based
VCL plugins (using methods like SalFrameGeometry::setLeftDecoration),
so the default of 0 is fine for all of these.

Change-Id: Ibed98c665e61a4ba06bf9087a159048417598798
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174035
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-28 09:34:21 +02:00
Michael Weghorn
be0d89bea0 qt: Query screen on demand in QtFrame
Similar to how

    Change-Id: Ifa0eff271c7d3fa2b6db9bdc1669e62333bd3094
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Thu Sep 26 18:22:12 2024 +0200

        tdf#160837 qt: Rely on toolkit for frame positions, drop menubar hack

implements it for the frame/widget position and size,
also retrieve the current screen number by querying
the QWidget for it's current screen instead of doing
own bookkeeping of the current screen in SalFrame::maGeometry
by getting/setting it using `SalFrameGeometry::{getS,s}creen.

Only set it in the returend SalGeometry when
the current SalGeometry explicitly gets requested
by calling QtFrame::GetUnmirroredGeometry.

Change-Id: Icaf712c956297dbc7a774bbd995d42eb8a63a1bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174034
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-28 09:34:13 +02:00
Michael Weghorn
95283b72cf qt: Just ignore request to set frame to invalid screen number
Instead of setting the screen to the primary screen,
just ignore the request when QtFrame::SetScreenNumber
gets called with an invalid screen number.

The previous handling was introduced in

    commit f806a2832a
    Date:   Mon Oct 22 16:35:21 2018 +0200

        tdf#120451: Use primary screen if requested screen doesn't exist

to fix a crash, but just ignoring the request
avoids crashing, too.

(`git show --ignore-space-change` helps to see
the "actual" change more easily.)

Change-Id: I272ec64f89ef835161fa68c7fdc8cd0e407b7495
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174033
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-28 09:34:06 +02:00
Michael Weghorn
0218519537 qt: Make screenNumber() a QtFrame method
Don't explicitly pass a QScreen, but use the
current one. Both callers set the screen
just before calling the method.

Change-Id: I57b3ffc4341cabc0370dda3c26d85f2f63ec9292
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174032
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-28 09:33:55 +02:00
Michael Weghorn
bce84c9725 gen: Use std::vector::at instead of operator[]
std::vector::at does bounds checking.

Change-Id: Id173ad08fb3bf54e4b3e625b45bc439c59b4d9d8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174031
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-28 09:33:48 +02:00
Michael Weghorn
be28117cf6 qt: Use QList::at instead of operator[]
Change-Id: I366ec4439d2647f433a9dc480c6efa6160a451a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174030
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-28 09:33:14 +02:00
Michael Weghorn
be6312f8c5 qt: Use QList::indexOf instead of reimplementing logic
Change-Id: If78bc419ccffd874e47419bc06ed2841ffbeab96
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174029
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-28 09:32:55 +02:00
Michael Weghorn
25e5f05075 qt: Let GetQtInstance return ref instead of pointer
The return value was dereferenced in all callers
anyway.

Change-Id: Ib91eddd23222d086f9a4edac980a05cd96c75ad7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174026
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-28 09:32:44 +02:00
Michael Weghorn
a499874d9c tdf#160837 qt: Rely on toolkit for frame positions, drop menubar hack
Make `SalFrame::GetUnmirroredGeometry` overridable
(and let it return a copy of the SalFrameGeometry
instead of a const reference) and document that
subclasses can either make sure to keep the
`SalFrame::maGeometry` member (which is returned by
the default implementation of
`SalFrame::GetUnmirroredGeometry`) up to date or override
the latter in order to always return the current
geometry.

Override the method in `QtFrame` and fully rely on Qt
to report and set the position of the frame, via
the corresponding QWidget: Set the position, width
and height in the returned `SalFrameGeometry`
to the ones of the widget (factoring in the
scale factor).

Stop updating `maGeometry` size/position whenever
the widget position or size changes, as that is no
longer used anymore now that `GetUnmirroredGeometry`
is overriden.

This also allows to drop earlier hacks where
position calculation in some places had to be adjusted
by the height of the native menu bar, as that one
doesn't have a corresponding vcl::Window, but results
in everything else being shifted down a bit.

Using Qt directly to set other members of the
returned `SalFrameGeometry` (like the screen number)
would probably be possible, but is not included
in this change. (It can still be done separately
later.)

This makes Accerciser highlight the correct area
when using the qt6 VCL plugin and using Writer
with the standard interface (where the y position
reported via AT-SPI2 would previously always be
too small, missing the menu bar height) and thus
e.g. also allows to make use of it's "select object
under mouse" feature (s. tdf#160837).
The position via AT-SPI is however currently only
correct on X11/XWayland where global/screen coordinates
are reported via AT-SPI2.
Wayland, where window-relative coordinates are used,
still suffers from another issue that will be addressed
in a separate commit.

The highlighting in Accerciser is also still wrong
when a screen scaling factor other than 100% is set,
but that's broken for other applications (e.g. gtk3-demo)
just the same, so might be an issue in Accerciser instead.

I successfully tested that these behave as expected
when using the qt6 VCL plugin with this change in place:

* Combobox popup positions, with either 100% screen scaling
  or a scaling factor of 150% or 200% on both, X11 and
  Wayland.
* When enabling RTL mode via env var `SAL_RTL_ENABLED=1`,
  RTL layout is used and things look OK at a quick glance.
* The following bugs (somewhat related to positioning and/or
  the now dropped menu bar hacks) are still fixed, i.e. don't
  reappear:

    * tdf#149805 "kf5: Gap when expanding comboboxes in toolbar"
    * tdf#151677 "tip on "formula bar" for "formula making" is
      displaying over the formula itself."
    * tdf#152217 "Black box in Basic IDE where the status bar
      should be (kf5 only)"
    * tdf#153458 "Connecting to database: wrong cursor position
      for dropping data to Calc sheet"
    * tdf#153800 "Calc sheet tab drag-and-drop target area has
      shifted vertically (kf5-only)"
    * tdf#154043 "Change object layer via drag and drop has target
      shifted down (KF5-only)"
    * tdf#154447 "Clicking a dropdown tool button shouldn't
      place the context menu on top of the button (kf5)"

Unrelated to this commit, popup positioning and rendering in
in a multi-screen setup on Wayland with different scaling
factors set for the single screens is still broken (see
tdf#141578).

Change-Id: Ifa0eff271c7d3fa2b6db9bdc1669e62333bd3094
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173996
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-28 09:32:33 +02:00
Michael Weghorn
b2743ac254 tdf#160837 SalFrame: Replace direct uses of maGeometry member
Call `GetUnmirroredGeometry()` instead of directly
using the `maGeometry` member in order to get the
current SalFrameGeometry.

This is in preparation of allowing to override
`SalFrame::GetUnmirroredGeometry` in subclasses in
an upcoming commit.

No change in behavior intended (yet).

Change-Id: I72b44052ba5e8ed61a1c54130ea088f1bb0b3941
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173995
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-28 09:31:55 +02:00
Michael Weghorn
54bdc8cb95 tdf#160837 qt: QtFrame: Use getters instead of SalFrame::maGeometry
Replace some direct uses of SalFrame::maGeometry
in QtFrame with corresponding getters:

* SalFrame::GetUnmirroredGeometry() to get the
  SalFrameGeometry
* the more specific SalFrame::GetWidth() and
  SalFrame::GetHeight() where only the width/
  height is of interest

No change in behavior intended yet.

Change-Id: I1b4e13c5efef7b78f082f6444e1e8d0ee591db41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173994
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-28 09:31:47 +02:00
Michael Weghorn
c9b7d8cc74 android: Update Android Gradle Plugin to 8.6.1
as suggested by Android Studio.

Change-Id: Idbd71e7766d44374b4972362fb917f385b4fc5a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174042
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-09-28 09:20:17 +02:00
Andrea Gelmini
f7fbf6504f Fix typo in code
Change-Id: I10ed53c4d85b3b83b608bdd051742c6000162390
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174060
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2024-09-27 23:34:26 +02:00
Andrea Gelmini
79e4910620 Remove duplicated includes
Change-Id: Iaef510a5b79e6a213be1580a469fe145adabca88
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174057
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-27 23:33:57 +02:00
Andrea Gelmini
397cf22d84 Update git submodules
* Update helpcontent2 from branch 'master'
  to 8cdedc9880681f9c51c0d54f7d1109c173ddb75d
  - Fix typo
    
    Change-Id: I3084421a7390178d8b6cecf8752b3223994e41fa
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/174056
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-27 23:33:36 +02:00
Andrea Gelmini
0dab76c5ce Update git submodules
* Update helpcontent2 from branch 'master'
  to d91ca5cb94128baa047ee0187ead1f99c70544b2
  - Fix typo
    
    Change-Id: I4ecf82ce4ebf13c9147f08c960f2624a4997a3e4
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/174054
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-27 23:32:56 +02:00
Andrea Gelmini
bc6fc27fe9 Fix typo
Change-Id: I6eb94e2733f3b55564c0e04dd69cb4c8c197b259
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174061
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2024-09-27 23:31:49 +02:00
Andrea Gelmini
b574a35a86 Update git submodules
* Update helpcontent2 from branch 'master'
  to e9e8e9ac861dc080105ee93dcc4c4dd76445e7e2
  - Fix typo
    
    Change-Id: I32cf04e2b4e9f1b05a904d7cecdc12ca719ff696
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/174055
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-27 23:31:12 +02:00
Andrea Gelmini
ddf05a8856 Fix typos
Change-Id: Ie35705bf4559f977c7a7b67edb6b05b6cd564249
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174062
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-27 23:28:16 +02:00
Andrea Gelmini
4ae702d675 Fix typo
Change-Id: Ie14012caf6bb97c779e647c84ea7d5bbb576f24d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174059
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-27 23:27:40 +02:00
Andrea Gelmini
5a505cfa26 Fix typo
Change-Id: I2745fe4a7ffdae1e22fb103023c5555505f49548
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174058
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-27 23:27:17 +02:00
Andrea Gelmini
3e069a6fd5 Fix typo
Change-Id: I0e967db5c0d116528313c192cb4ea68c2bbe87e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174063
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-27 23:26:51 +02:00
Andrea Gelmini
131ad0b930 Fix typo
Change-Id: I86f217216acffcd020b3e08e3cc90a87d62cd5cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174064
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-27 23:26:24 +02:00
Caolán McNamara
6762578ee5 use the same early return as the other ::dispose cases in this file
as done with:

commit 2bfd51eab3
CommitDate: Fri Jul 31 11:00:25 2020 +0200

    loplugin:flatten in sw/core/unocore

for consistency with the rest, no logic change intended

Change-Id: I69cc24c8ba4ec3aa483e869e68b79ab8b406afff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174067
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-27 22:37:36 +02:00
Rafael Lima
25399d65d4 tdf#162855 Draw a guide line while resizing the comment sidebar
This patch draws a guide line while the user is dragging the comment sidebar edge, to provide a better feedback of the size that will be applied.

Thanks to Jim Raykowski for his comments and contributions. It should be noted that he authored much of this patch.

Change-Id: I08d4761a25c021c3ddda563a70fc0324000e4e62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173017
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2024-09-27 19:44:17 +02:00
Michael Stahl
037a765f03 tdf#162268 sw: IgnoreHiddenCharsForLineCalculation
The other problem here is that if hidden text isn't displayed,
SwLineLayout::CalcLine() doesn't ignore the hidden text portion when
calculating the line height.

This is apparently the case all the way back to OOo 3.3, but it doesn't
make much sense, so change the default to ignore hidden text here,
except if a pre-existing ODF document is imported.

Change-Id: Ief3f62bbdb6ac0ac79b54d6885a711128ad8d81f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174041
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-09-27 18:10:17 +02:00