9573 Commits
Author SHA1 Message Date
Noel Grandin e77b23fa1c Fraction->double in MapMode
Change-Id: I865fe1c2b0377eebda6f9f19e163928cbe7c9056
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202631
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2026-03-26 13:23:37 +01:00
Samuel Mehrbrodt 0534223b18 tdf#166030 Read bullet indents from metroBlob in ppt
for each shape there is a metroBlob which contains
a small ooxml part with some properties for the shape.

Read 'marL' and 'indent' from that metroBlob to properly
import margin and indent and thus have functioning hanging indent.

Change-Id: I126e13c6ed4fc062fdbe6b80ff358bcc363a1b84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202157
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202418
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@collabora.com>
2026-03-24 07:36:23 +01:00
Samuel Mehrbrodt 491a8a566a tdf#168135 Add test
Ensures that sub- and superscripted text have the same height

Change-Id: I5fb65f1317462d17d26200a0b547e0ec0e7cb38d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202184
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@collabora.com>
2026-03-23 09:26:45 +01:00
Noel Grandin cb1da4662f Fraction->double in GDIMetaFile
Change-Id: I10343479423a94272df30423c3dd910d02bde42d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202325
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2026-03-23 07:06:06 +01:00
Noel Grandin cff0defd2c Fraction->double in FrPair
Change-Id: Ibfee97e8b778bae6d93be852c78ab518285ca27c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201745
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2026-03-21 12:44:23 +01:00
Caolán McNamara 8b4a6ac308 check for some short reads
Change-Id: Ifdf20ba8215ce4e99d696666f1e38051a9c15f23
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201878
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2026-03-18 09:22:14 +01:00
Xisco Fauli 4e0c800134 filter: fix -Werror=sign-compare
Seen with gcc12:
filter/source/config/cache/filtercache.cxx: In constructor ‘filter::config::FilterCache::FilterCache()’:
filter/source/config/cache/filtercache.cxx:76:14: error: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Werror=sign-compare]
   76 |     assert(i == std::size(sStandardProps));
      |            ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
filter/source/config/cache/filtercache.cxx:97:14: error: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Werror=sign-compare]
   97 |     assert(i == std::size(sTypeProps));

after
commit 48d9138b74
Author: Liam Connors <liam.m.connors@gmail.com>
Date:   Sun Mar 8 18:03:18 2026 -0700

    tdf#147021 replace SAL_N_ELEMENTS with std::size

Change-Id: Iee239626110ff1f50cc9abeb693bc368e1d7607d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201500
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-03-12 08:37:47 +01:00
Liam Connors 48d9138b74 tdf#147021 replace SAL_N_ELEMENTS with std::size
Replace two asserts that used SAL_N_ELEMENTS with std::size to use the
modern C++ container size utility.

Change-Id: I2da8dd93199023aa742d438dafd641403afbddc2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201236
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2026-03-11 07:06:20 +01:00
Xisco Fauli efaa7a2a87 CppunitTest_filter_textfilterdetect: split single test into different ones
it fails on Windows

Change-Id: Iba2a045c963e06a79d3222bb6327acb5074940b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201118
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-03-06 15:35:47 +01:00
Samuel Mehrbrodt ff1a7d5ee1 tdf#166030 ppt: Default indent should be 0.95cm
This is the case in PowerPoint

Change-Id: I74ed4f476fba0a0858fff09d10050612c4d2df3b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200388
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@collabora.com>
2026-02-27 07:04:24 +01:00
Gabor Kelemen a9e9175ba6 tdf#146619 Use more forward declarations in include/sfx2
This shaves off some 300M of input
Change-Id: I2fae9ff6c6dab31010986e55365676d4a01f402d

Change-Id: I3b2551a1937929100f25c01c0c416a419e7fbb51
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199388
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
Tested-by: Jenkins
2026-02-23 12:19:48 +01:00
Gabor Kelemen 0a42ddbdf1 tdf#146619 Use more forward declarations in include/xmloff
Change-Id: I49e39d669ba77a99b77322275d2e54e211da5b11
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199386
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2026-02-22 10:42:36 +01:00
Mike Kaganski d8bf4ddc6d fix assorted VirtualDevice GDI handle leaks
Similar to commit e9392c0c86fcf373e00ede92f8ceeee2c7efd233 (fix
VirtualDevice GDI handle leaks across IconView callers, 2026-02-21).

Change-Id: Idae4f9e5fba0d5c46d32e35da5f84716616f59ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199936
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199948
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2026-02-21 18:51:04 +01:00
ayagamal-tech d0ef0cda30 tdf#114441 Convert use of sal_uLong to sal_uInt32
sal_uInt32 safely covers all possible small values and used single
constant sum variable.

Signed-off-by: ayagamal-tech <ayajamalpro@gmail.com>
Change-Id: I9c8027bf9652ac200e78f7a94231f08cda7ab8a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198149
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2026-02-19 11:02:29 +01:00
Xisco Fauli ba3fb9026c merge UnoApiText and UnoApiXmlTest
in preparation for a follow-up commit

Change-Id: I3449c031696fe3ab13d4832e2671da08eb483cdb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199552
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-02-18 21:17:13 +01:00
Xisco Fauli 3696d3d9b9 UnoApiTest: deactivate lok in tearDown
Change-Id: I8fbacbb7fe0e3ec3e9fc4801e345b2ffbdc9c8cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199537
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-02-17 16:29:31 +01:00
Gabor Kelemen 6e9fa580f0 tdf#146619 Use more forward declarations in include/svtools
Change-Id: If91cce7bf7ece7d1c125509118cbbe1a9ee65397
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198971
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
Tested-by: Jenkins
2026-02-17 09:13:52 +01:00
Samuel Mehrbrodt 4a46d514a9 tdf#166030 ppt: Fix spacing for bullets in text box
Change-Id: I51bc9bb780cb01cd5d126158ea159a4989ffdc4f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199449
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@collabora.com>
Tested-by: Jenkins
2026-02-16 12:02:03 +01:00
Melove 04121e1740 tdf#114441 msfilter: use sal_uInt64 for stream end position
The stream end position may exceed the range of 32-bit
integer types when parsing large MS documents.

Using a smaller type can lead to overflow and incorrect
parsing results.

Switch to sal_uInt64 to safely handle large values and
avoid data loss during import.

Change-Id: Ie8a4213007f1d902e98c2fd0895efb64045c8080
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198702
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2026-02-13 13:08:42 +01:00
Caolán McNamara 6ec591f922 make the PDF export warning dialog async
Change-Id: I19715102a1db7fb4f3f996cb02d1309caa2d0a4a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198170
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199325
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2026-02-13 12:58:13 +01:00
Xisco Fauli 6577d2a942 UnoApiTest: merge loadFromURL and loadWithParams into one
Change-Id: Ib58c211542018f07303cadacda86e3419062401e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199297
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-02-12 20:58:05 +01:00
Michael Weghorn fbcfd00fb7 weld: Move weld::Dialog to own header/source
Move the class out of weld.hxx into its own header and source
file, in order to make it easier to keep an overview and to avoid
having to recompile ~all UI code when the class is
modified.

Change-Id: Ic47dac553fc065c5c9cddbf31e33012314dbe43d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199073
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-02-11 07:32:57 +01:00
Michael Weghorn ab3635b2f3 weld: Move weld::MessageDialog to own header
Move the class out of weld.hxx into its own header, in
order to make it easier to keep an overview and to avoid
having to recompile ~all UI code when the class is
modified.

Change-Id: I5b23b02151c75bb49831a2bbf8d515eb0b54415e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199068
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-02-11 07:32:45 +01:00
Xisco Fauli a9491be1f1 filter, xmloff, svx, oox: only load one document per test
Change-Id: Ibb07c8069e6ce8965739c7ccef52c41bb1f04422
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198968
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-02-09 17:02:24 +01:00
Andrea Gelmini 84ad0f6951 Fix "is build"->"is built"
Change-Id: Ic7d1ee65bc2a1cb4ecbe94e7ce8538447f26ee43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198920
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-02-09 12:07:36 +01:00
Gabor Kelemen 94d987edc2 tdf#146619 Use more forward declarations in include/toolkit
Change-Id: I46b4f8c398662b2826f7e4bf90f43750e3569667
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198240
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
Tested-by: Jenkins
2026-02-07 00:41:15 +01:00
Gabor Kelemen bce3ef60a8 tdf#146619 Use more forward declarations in include/sot/
Change-Id: I6706c7009432d0d8d7bc6f9193d8f020e9aedf25
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198239
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
Tested-by: Jenkins
2026-02-06 19:33:51 +01:00
Gabor Kelemen 0bdcfc2900 tdf#146619 Use more forward declarations in include/unotools/
This shaves off some 40M of input

Change-Id: I12e10deb87ceea1f7a23f3de4ea624befe187c3f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198238
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
Tested-by: Jenkins
2026-02-05 17:35:46 +01:00
Michael Weghorn 7efb65c7ef weld: Move weld::Notebook to own header
Move the class out of weld.hxx into its own header, in
order to make it easier to keep an overview and to avoid
having to recompile ~all UI code when the class is
modified.

Change-Id: I56cea12845bc906a8b7aff13abe033e9723b85c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198614
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-02-03 23:09:35 +01:00
Xisco Fauli d2c12c44fe UnoApiTest: merge save and saveWithParams into one
it allows to simplify the code a bit since the
TestFilter is passed as the first parameter.

In preparation for a follow-up commit

Change-Id: I316c88e1583dc7d9b04876883b971bdfa54e8967
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198588
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-02-03 16:49:32 +01:00
Mike Kaganski 4ed617ea72 Use ScopedConfigValue in places where the values weren't restored
The config changes that didn't restore initial values could potentially
affect other tests in the same test suite, so that could create test
order dependency.

Change-Id: I53cc2fe4e545852d0bcec865da31f2e2a7896d40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198505
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2026-02-02 10:02:08 +01:00
Gabor Kelemen 495fa42afa tdf#146619 Use more forward declarations in include/vcl/weld/
after recent split of these headers

This shaves off another 150M input

Change-Id: Ia4e42781cdc6fd6e795c9fb55c6c24dd641b8f0d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197339
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
Tested-by: Jenkins
2026-01-31 11:06:42 +01:00
Xisco Fauli 46d70b0278 tdf#168054: filter_svg: Add tests
Change-Id: Ie32e143762436d43247563f6ca01a1c4ecc7f431
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198325
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-01-28 23:00:23 +01:00
Noel Grandin 7d6f84c624 loplugin:constantparam OutChar
always has pSuccess == nullptr

And is also not used outside of filter anymore, so remove from header file.

Change-Id: I9ea0f58941d301ec024e8c8d0ed8cf0ae354b950
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198123
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2026-01-26 13:40:39 +01:00
Gabor Kelemen f8dad0daf9 tdf#146619 Use more forward declarations in include/vcl/svapp.hxx
this was skipped in previous runs, since it contains some code behind #if

After inspecting these, it seems like the removals should not cause trouble.

Change-Id: If1e3e3c7c0fc14ed6e8b51174a0e7f1220fdbc8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197496
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2026-01-25 13:31:57 +01:00
Gabor Kelemen 49cb3077fb tdf#146619 Use more forward declarations in include/vcl/outdev.hxx
these were skipped in previous runs, since they contain some code behind #if

After inspecting these, it seems like the removals should not cause trouble.

This also shaves off some 140M input

Change-Id: Ie1f57174dd6fec3ba5b0b91eb0688acdc1a8143d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197494
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2026-01-23 21:27:08 +01:00
Gabor Kelemen 96cb87ca01 tdf#146619 Use more forward declarations in include/vcl/[a-o]
these were skipped in previous runs, since they contain some code behind #if

After inspecting these, it seems like the removals should not cause trouble.

Change-Id: I867ffc53254057e4bae43690214a2ab7ce0caa8f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197493
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
Tested-by: Jenkins
2026-01-22 09:42:36 +01:00
Mike Kaganski c103d337bd tdf#170396: implement SVG export support for dashed lines
Commit b71d9a6d15 (do not apply line dashing
in drawinglayer (tdf#136957), 2021-04-29) made sure that metafiles pass
dashing information in LineInfo of MetaPolyLineAction, instead of altering
the polyline itself. Since SVG export ignored dashing information in
MetaPolyLineAction, the exported lines were solid since that patch.

This patch introduces respective export support, emitting stroke-dasharray
attribute. As far as I see, it has exactly the same semantics, and renders
correctly in chrome and firefox. It also imports OK into Draw.

Ref: https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/stroke-dasharray

Change-Id: Ifb634a4f3608ee5c2c76727ef4416b80f8f90709
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197618
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2026-01-20 10:13:30 +01:00
Gabor Kelemen 47fe1cce1b tdf#146619 Use more forward declarations in include/vcl/[h-p]*
Found after running bin/find-unneeded-includes --headersfwd include/vcl/[n-p]*

Change-Id: If6436f3ef8300693c3869c2521e2fa2aa8a4edc8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196397
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2026-01-14 10:19:31 +01:00
Michael Stahl d92905f099 filter: XSLTFilter: unbreak XSLT2Transformer
Creating the service fails:

  java.lang.ClassCastException: class com.sun.star.beans.NamedValue cannot be cast to class [Ljava.lang.Object; (com.sun.star.beans.NamedValue is in unnamed module of loader com.sun.star.lib.unoloader.UnoClassLoader @6ff3c5b5; [Ljava.lang.Object; is in module java.base of loader 'bootstrap')
  at com.sun.star.comp.xsltfilter.XSLTransformer.initialize(XSLTransformer.java:143)
  at com.sun.star.comp.loader.FactoryHelper$Factory.createInstanceWithArgumentsAndContext(FactoryHelper.java:271)

because initialize gets a sequence<any> where the anys are NamedValues,
but it expects a sequence<any> where the any is sequence<any> where the
anys are NamedValues.

(regression from commit d22f3b8c78)

Change-Id: I4fd13f3e04d79f7646e6bb31c8f0d35efd42ae69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197132
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
2026-01-13 09:07:20 +01:00
Gabor Kelemen 2a9fd078ff Add some customAssumeFilenames to yaml files
After checking all modules with
bin/find-unneeded-includes --finderrors --headers --recursive

these subdirectories seemed to need custom assumes for an
error free run of IWYU

Change-Id: I8e0553355809e49e3ec3d06aa4404e6cd7b72aff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196631
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2026-01-12 11:21:38 +01:00
Gabor Kelemen b63115f3fa tdf#146619 Use more forward declarations in include/vcl/[d-g]*
Found after running bin/find-unneeded-includes --headersfwd include/vcl/[d-g]*

This shaves off about 150M input

Change-Id: I2b15257451d4b392dca3e5d07f4a443ee653b04c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196395
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2026-01-11 21:38:37 +01:00
Justin Luth df7e61358b tdf#170261: introduce DOCM 2010 (VBA) filters
This patch primarily allows exporting as an DOCM file
without forcing compatibilityMode = 12 (2007)
Other than that, I don't think there will be any other impact
(although that simple fact has lots of layout implications).

With this patch, the Word 2010-365 (macro-enabled) filter
will be the default for:
- --convert-to (command line) docm
- GUI (save-as) docm
- LOKit download as docm
- TestFilter::DOCM unit tests

Change-Id: Iabc9820096a100774157996b54e325c76d2440c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196789
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
2026-01-10 16:34:57 +01:00
Justin Luth b5b2413db6 tdf#170261: introduce XLSM 2010 (VBA) filters
This patch primarily allows exporting as an XLSM file
without forcing lowestEdited = 4 (2007)
Other than that, I don't think there will be any other impact
(and at this point we don't even know of lowestEdited impacts).

With this patch, the Excel 2010-365 (macro-enabled) filter
will be the default for:
- --convert-to (command line) xlsm
- GUI (save-as) xlsm
- LOKit download as xlsm
- TestFilter::XLSM unit tests

Change-Id: I5c5fac221b6a454a98df9034f59aba0a7d97880d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196788
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
2026-01-10 16:33:57 +01:00
Justin Luth e145133093 tdf#170261: dotx 2007 is no longer the preferred template.
filter/source/config/fragments/types/writer_OOXML_Template.xcu
is also marked as Preferred = true
Word 2010–365 Template

Change-Id: If77cdfc3502d7efbc8a93a7d4ef74976488bdf0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196790
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2026-01-09 17:48:59 +01:00
Gabor Kelemen c0b14ab9aa tdf#146619 Use more forward declarations in include/vcl/[A-Z]*
Found after running bin/find-unneeded-includes --headersfwd include/vcl/[A-Z]*

This shaves off about 100M input, not bad for such a small amount
of files checked

This time --headersfwd skips files that contain #if defs,
in hope of not breaking builds that are not checked by CI

(...except for include/vcl/BitmapTools.hxx - this was cleaned accidentally,
due to a bug in the bin/find-unneeded-includes script that is fixed
by the previous commit 930ff2b830
- but let's keep this anyway, it seems fine)

Change-Id: Ia8e49d94f6adb3cdbedbc40ffa56dbf846c9b6e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196235
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
Tested-by: Jenkins
2026-01-05 11:10:28 +01:00
Michael Weghorn ffc8326e99 weld: Move weld::Entry to own header/source
Move the class out of weld.hxx into its own header and source
file, in order to make it easier to keep an overview and to avoid
having to recompile ~all UI code when the class is
modified.

Change-Id: I27033905fe8be1c3646c8cf08799c9bf53eeb471
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196448
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-01-04 15:03:39 +01:00
Michael Weghorn 01e513fccf weld: Move weld::SpinButton to own header/source
Move the class out of weld.hxx into its own header and source
file, in order to make it easier to keep an overview and to avoid
having to recompile ~all UI code when the class is
modified.

Change-Id: I6555d2343ec9b01d7915cd52508c0db4c8704509
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196445
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-01-04 15:03:06 +01:00
Michael Weghorn 1db7d671f3 weld: Move weld::TextView to own header/source
Move the class out of weld.hxx into its own header and source
file, in order to make it easier to keep an overview and to avoid
having to recompile ~all UI code when the class is
modified.

Change-Id: I05a3ae87147fedfa39f4acd8c3f744fd88a83e5e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196442
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-01-03 12:10:26 +01:00
Michael Weghorn b44a20cdb7 weld: Move weld::ComboBox to own header/source
Move the class out of weld.hxx into its own header and source
file, in order to make it easier to keep an overview and to avoid
having to recompile ~all UI code when the class is
modified.

Change-Id: Ib2fe4a6b5e34ad8ae2194ba85249ca25ed16e9d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196435
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-01-03 08:12:10 +01:00