Commit graph

467836 commits

Author SHA1 Message Date
Noel Grandin
f67392948d loplugin:moveparam in xmloff
Change-Id: I46c1c8dc46cd2b8470b69506f6609f8bd7e42211
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123347
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-10 21:03:18 +02:00
Caolán McNamara
210bbdead2 gtk4: popdown context menu when radio/check is toggled
Change-Id: I6cee9ee639b85c76c140d1ee0ad735fb57dae905
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123345
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-10 20:32:47 +02:00
Rene Engelhard
4a9ecab08c fix (cppunit test) build with --enable-mergelibs
S=/home/rene/LibreOffice/git/master && I=$S/instdir && W=$S/workdir &&  /usr/bin/ccache x86_64-linux-gnu-g++ -pthread -shared -Wl,-z,noexecstack   -Wl,-z,origin '-Wl,-rpath,$ORIGIN/../Library' -Wl,-rpath-link,$I/program  -Wl,-z,defs -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc  -Wl,--hash-style=gnu  -Wl,-Bsymbolic-functions -L$W/LinkTarget/StaticLibrary -L$I/sdk/lib  -L$I/program  -L$I/program  -L$W/LinkTarget/Library -Wl,-z,relro    $W/CxxObject/vcl/qa/cppunit/BackendTest.o      -Wl,--start-group  -lcppunit   -Wl,--end-group -Wl,--no-as-needed -lmergedlo -luno_cppu -luno_cppuhelpergcc3 -luno_sal -ltest -lunotest  -o $W/LinkTarget/CppunitTest/libtest_vcl_backend_test.so
/home/rene/LibreOffice/git/master/workdir/CxxObject/vcl/qa/cppunit/outdev.o: in function `VclOutdevTest::testDrawPixel()':
././vcl/qa/cppunit/outdev.cxx:1091: undefined reference to `typeinfo for MetaPixelAction'
/usr/bin/ld: /home/rene/LibreOffice/git/master/workdir/CxxObject/vcl/qa/cppunit/outdev.o: in function `VclOutdevTest::testDrawRect()':
././vcl/qa/cppunit/outdev.cxx:1203: undefined reference to `typeinfo for MetaRoundRectAction'
/usr/bin/ld: /home/rene/LibreOffice/git/master/workdir/CxxObject/vcl/qa/cppunit/outdev.o: in function `VclOutdevTest::testDrawEllipse()':
././vcl/qa/cppunit/outdev.cxx:1225: undefined reference to `typeinfo for MetaEllipseAction'
/usr/bin/ld: /home/rene/LibreOffice/git/master/workdir/CxxObject/vcl/qa/cppunit/outdev.o: in function `VclOutdevTest::testDrawPie()':
././vcl/qa/cppunit/outdev.cxx:1243: undefined reference to `typeinfo for MetaPieAction'
/usr/bin/ld: /home/rene/LibreOffice/git/master/workdir/CxxObject/vcl/qa/cppunit/outdev.o: in function `VclOutdevTest::testDrawChord()':
././vcl/qa/cppunit/outdev.cxx:1263: undefined reference to `typeinfo for MetaChordAction'
/usr/bin/ld: /home/rene/LibreOffice/git/master/workdir/CxxObject/vcl/qa/cppunit/outdev.o: in function `VclOutdevTest::testDrawArc()':
././vcl/qa/cppunit/outdev.cxx:1284: undefined reference to `typeinfo for MetaArcAction'

Change-Id: I65f79d726de553d894c848a89cf1dd97d5e45b54
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123329
Tested-by: Jenkins
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-10-10 20:32:40 +02:00
Caolán McNamara
e354e36c9e gtk3: popdown context menus on toggling radio/check buttons too
like we do for menubar menus (tdf#125803)

Change-Id: Ib70b90bd9ec9b1f624b1cdff5ba6d304f75f8919
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123344
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-10 20:32:32 +02:00
Caolán McNamara
522983d79a gtk[3|4] use set_buildable_id and get_buildable_id
Change-Id: Ia3a24d80ac56bc834c11f85a98e3b9fa1a862e41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123343
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-10 20:32:18 +02:00
Caolán McNamara
44583c313a gtk4: this is fixed now by at least >= gtk4-4.4.0
Change-Id: Iaff7c779917c7a1d90849d2091dd818bc0c04750
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123342
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-10 20:32:04 +02:00
Arnaud Versini
96726f4a7f OSL : remove useless rtl::Static in debugbase
Change-Id: I54ef4d1b492409265496c7f2b852568274bcf073
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123321
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-10 19:46:36 +02:00
Noel Grandin
eea7af10d9 loplugin:moveparam in basegfx
Change-Id: I73414e94358114ff0d475f13855db8c4c493b6f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123334
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-10 19:46:01 +02:00
Noel Grandin
f4ac99f717 loplugin:moveparam in xmlscript
Change-Id: I8c33291dae8a4f90c02f47d823b127ca4e383d61
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123338
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-10 19:45:48 +02:00
Noel Grandin
fa311ad62f loplugin:moveparam in svx
Change-Id: I2e422235129f810feea5c17afa1332d8b7ac14ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123332
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-10 19:45:34 +02:00
Noel Grandin
6af0da482d loplugin:moveparam in editeng
Change-Id: I08aed09b0acd283d700bdf75f650e93dba7c7b85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123341
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-10 19:45:23 +02:00
Caolán McNamara
e3fc69457d ofz: Integer-overflow
seeing as GetHmmFromInch is already using limit_cast, use saturating_add here

Change-Id: I3123ac15edd300f6d7d64c458ce95b20c9220117
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123340
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-10 18:26:53 +02:00
Noel Grandin
c954552a82 loplugin:moveparam in comphelper
Change-Id: I109d8507890460c5a479af2a5b94f905197b08d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123335
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-10 18:25:02 +02:00
Noel Grandin
d035f86de2 loplugin:moveparam in svl
Change-Id: Icd45c7f693c866e7eafcf6aeb052a4d190dce38c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123337
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-10 18:24:35 +02:00
Noel Grandin
0ff2a432f7 loplugin:moveparam in ucbhelper
Change-Id: Id6b03af5ecd662ce2e390bb76819cfe5d2ec05ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123336
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-10 18:23:20 +02:00
Caolán McNamara
4dc3629175 cid#1492337 Unintended sign extension
Change-Id: I6836e83ba17de646bfb661281b76c2b5e58b76c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123323
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-10 15:50:38 +02:00
Arnaud Versini
82bc337c97 OSL : use std::mutex in backtraceapi
Change-Id: I2df73d7959dd24882f75130f0fd03ff096dce8d8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123322
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-10 14:43:21 +02:00
Julien Nabet
cf22245d49 Typo: brake(s)->break(s) (I let the right use of "brake" of course)
Change-Id: I6a15f4d09c571877db22feee688b46b872eb73dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123331
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-10 13:28:02 +02:00
Noel Grandin
dbd49cf90b use SfxItemSetFixed in sw
Change-Id: I69e188d7599b7fc439f613cec0a0967ccb748b7e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123313
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-10 11:33:38 +02:00
Luboš Luňák
b972aa8727 don't use common PCH with sc_parallelism test
Otherwise it duplicates the precompiled_system.o object, the second
copy brought in by libscqahelper, making Clang LTO build fail.

Change-Id: Ic6827b0745e134ab327ad18fc212ca31084ff579
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123327
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-10-10 08:18:08 +02:00
Julien Nabet
633e8c98cb Typo: CT_SytemColor_lastClr->CT_SystemColor_lastClr
Change-Id: I10ebe939562097d3fc098a42c09b1e0f6e5cbd6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123315
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-10 08:17:17 +02:00
Chris Sherlock
d389a54e64 tdf#144757 - fixed fonts not shown in font list
When in font options, the Fonts in "Font Setting for HTML, Basic and SQL
Sources" were not showing any fixed (non-proportional) fonts in the list
when "Non-proportional fonts only" was ticked.

The reason this was occuring was because we were not populating the
fixed font attribute when getting the CT font descriptor.

Change-Id: I06127ac48bd0f3bc9b70217b36bbf584a1b0fdc2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123316
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2021-10-10 07:49:21 +02:00
Julien Nabet
21b2c6b7d8 Rename bookmrk* -> bookmark*
Change-Id: I9dec77b2af8abe5abb286ff76ed85d1e4078ee6a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123325
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-09 23:17:06 +02:00
Julien Nabet
25c9f041ad Typo: *adress* -> *address* (except from not translated German parts)
Change-Id: I62e12aed5bc67119433c39ff333f69b79944dca3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123318
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-09 22:38:36 +02:00
Julien Nabet
df0592cfb1 What's the interest to gain 1 letter? bDelBookmrk->bDelBookmark
At least, it'll be easier to search bookmark in whole code if there's a bookmark pb

Change-Id: I25cbfb8dae823495b87d5bfcdd41cea479230eee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123319
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-09 21:35:59 +02:00
Julien Nabet
84a4e281c1 tdf#143148 - Use pragma once instead of include guards
I changed this one only because the goal was above all to change filename
in a following patch to put bookmark.hxx instead

Change-Id: Ia224f32227404e5685e03efb134dd525a88b3917
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123320
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-09 21:35:48 +02:00
Julien Nabet
6a5f4fb9f9 Typo: braket->bracket
Change-Id: I75c8c0fc15acb7e3ae6e59de91d5d9f67a4cd1ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123317
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-09 20:19:36 +02:00
Julien Nabet
70faac516e Typo: *Extesion* -> *Extension*
Change-Id: I7c1791327bec14b1c36359d64ac905bc7b358c04
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123314
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-09 19:17:04 +02:00
Johnny_M
28d057e2dd Update git submodules
* Update helpcontent2 from branch 'master'
  to d155b3e2133f3eb6593d438b69dc3e42d37b11ff
  - tdf#132643 Translate German section IDs
    
    Change-Id: I69505b323ed9148e3f4560dd883753c5c728211b
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122985
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-09 15:51:14 +02:00
Julien Nabet
a4eecf033e Typos in qadevOOo/_NumberingLevel.java
Change-Id: Id4ea4b27c527c34f9d4b6b4658486b189f9089c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123307
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-09 12:17:21 +02:00
Andreas Heinisch
f7a0e58a3c Don't URL encode the filename in the macro security warning dialog
Change-Id: Ic1243f562fa4142ffdfece7296223b693ce7fe90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123298
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2021-10-09 11:22:46 +02:00
Julien Nabet
f0fd4574ff Typo *ropertie -> *roperty
Change-Id: Id5ae03140ac4fd67bf4940569ac5cd2f15716749
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123306
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-09 11:10:27 +02:00
Natalia Gavrilova
c307c34a29 tdf#142121 Cell focus rectangle does not use font color
* The black square in the down right corner is also
  highlight color now

Change-Id: I249872da70cde25b2d14e6fb3189a5a21e52f492
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123300
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-10-09 10:26:49 +02:00
Julien Nabet
6a9efc627b Declare and initialize variable only when really needed (sw/unocrsrhelper)
Change-Id: If2dafc18b404f39d42df25c5f923eba348eac907
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123293
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-09 08:48:39 +02:00
Bayram Çiçek
ce1902d396 Rename strings and change criss-cross border icon
regarding 3a9167e1b8
'tdf#143919: Calc: add diagonal borders in Toolbar>Borders'

- criss-cross border icon replaced with a new one
- rename -> 'diagonal left' to 'diagonal down'
- rename -> 'diagonal right' to 'diagonal up'
- code refactoring: large if-else blocks refactored
as methods and called from proper cases
- clang-format
- "Set" word dropped from include/svx/strings.hrc

Change-Id: I1284e69b9481e1a512f7cab29913bf23b6a493c7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121117
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-10-09 08:22:17 +02:00
Mike Kaganski
4d82c1d8a3 Simplify SvXMLExport::AddAttribute overloads
Remove overloads taking const char* which were not needed, because
every their use eventually took a string literal convertible to
OUString directly.

Many other literals were converted to OUStringLiterals.

Change-Id: Ia1e742a8087776cd20bf5094dc415dafd9a8834a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123155
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-09 07:08:24 +02:00
Jim Raykowski
a5ba8d94e6 tdf#142344 SwNavigator: Keep heading selected after navigating to
headings in tables and sections

Currently after navigating to a heading in a table or section from the
Navigator the table or section is selected in the Navigator content
tree. This patch makes the Navigator selection remain on the heading
until the cursor is moved to another outline position which then makes
the Navigator track tables and sections again.

Change-Id: Idfcfd168fbbda541d07bbcadbaad62772ef156af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123244
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2021-10-09 01:48:15 +02:00
Hossein
8fb366c13a const OUString -> constexpr OUStringLiteral
* Defining the constant strings as "constexpr OUStringLiteral"
  instead of using macros
* Changing "const OUString" to "constexpr OUStringLiteral" where
  possible
* Using "inline" in the header files to avoid duplicate copies of the
  global variable inside the files that included them

* Read more:
https://learncpp.com/cpp-tutorial/sharing-global-constants-across-multiple-files-using-inline-variables/

Change-Id: Ic0741c0044ff160734e641d072fef9be956815a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123104
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-08 22:55:04 +02:00
Julien Nabet
09d544d0c0 Fix iteration in sc/source/ui/docshell/externalrefmgr.cxx
Like this since 2012 with:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=63ade823e2d854b60df76790e3628a5ab78f653a
commit	63ade823e2 (patch)
tree	69283e6601
parent	51caf9b454 (diff)
remove entry from unsaved ref container if doc is saved

Change-Id: I4845c2c6b9ffd7b9f6b14276e1ca97817d584913
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123233
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-08 21:34:57 +02:00
Julien Nabet
849d879ac1 Clean up a bit iterator management in sc/bcaslot
Change-Id: I2bced8cb78ccecf85798f3468aab87681d520180
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123235
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-08 21:34:18 +02:00
Julien Nabet
b0d32bfec0 Clean up a bit iterator management in oox/vmldrawing
Change-Id: Icd4f4980332edc3fd9027cc4cace2b4a0d0c1315
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123234
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-08 21:33:22 +02:00
Noel Grandin
1cf57765dd loplugin:moveparam in connectivity
Change-Id: Ie5c2f6ec1573ab2c47218dd4da8c9150b23bcd2e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123247
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-08 21:23:59 +02:00
Caolán McNamara
36d43d4637 remove unwanted xpad/ypad properties and replace with a margin-end
the xpad didn't do anything in vcl, and is deprecated for gtk.  There
was additional padding shown in gen anyway because a yalign of
0.5 wrongly horizontally centering, which is now fixed.

Change-Id: I546ec72b0449185217213ee1ba061dd051122880
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123270
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-08 21:03:16 +02:00
Caolán McNamara
5649ddc290 vertical centering is WB_VCENTER not WB_CENTER
Change-Id: I75cff767008aa215ce43856da4cd31db1b6d83fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123269
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-08 21:01:45 +02:00
Caolán McNamara
492b4a76ee remove (presumably) unwanted 'Widget name' property
Change-Id: Icf296074e21e02c2aeb63bc6a9d8ff0702cc4c14
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123268
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-08 21:01:28 +02:00
Caolán McNamara
2f79940bee resave with glade to tidy this up
Change-Id: I7b3499cc1044cb976415d3db6855283bf928c4b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123266
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-08 21:00:54 +02:00
Caolán McNamara
98e085b11b add mappings for emphasis property
Change-Id: I1406d57a47075bfad3973c6bbb825a7754e8f279
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123264
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-08 21:00:26 +02:00
Caolán McNamara
b94b9bae78 fix "GtkBox does not have a child property called left-attach"
on launching development tools

probably since...

commit 81d6ed89d1
Date:   Mon May 17 13:59:25 2021 +0300

    tdf#142276 Use vertical GtkBox insted of horizontal GtkGrid for the left side.

Change-Id: I6d4e4a056fb25c6ffb44e0ed734eb7a553a78ba3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123263
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-08 20:59:00 +02:00
Andreas Heinisch
cab77a48da tdf#83090 - Allow any font size in the toolbar/sidebar
In order to allow any font size in the toolbar/sidebar, correctly round
the height of the font in the status listener.

Change-Id: Iebd07f5e710a01c5a9be4a7dd8c950d191d5d629
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122332
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2021-10-08 20:26:04 +02:00
Chris Sherlock
3f5fb07565 vcl: test PhysicalFontCollection and move to vcl::font namespace
- tested PhysicalFontCollection, noted odd behaviour with search names
  and normalization
- moved PhysicalFontCollection.hxx to vcl/inc/font
- moved PhysicalFontCollection into vcl::font namespace

Note that I needed to regenerate the pch file otherwise errors were
generated.

Change-Id: Ifa0c7b871c40687bd15002565d2f7a3e408218f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122036
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-08 19:22:59 +02:00