Commit Graph

537 Commits

Author SHA1 Message Date
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
412c47ded6 Remove visual noise from lingucomponent
Change-Id: I6021eabab1474c99868f38ecd0d466eb0d97054e
Reviewed-on: https://gerrit.libreoffice.org/8279
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 10:04:11 -06:00
04ff535f72 normalize values of SYSTEM_ZLIB, SYSTEM_DICTS, SYSTEM_FONTCONFIG
Change-Id: I7530cb9d0797df5fc86695b0379cc44c159d2ab5
2014-02-12 09:53:08 +01:00
16e21955d2 coverity#707953 Uninitialized scalar field
Change-Id: I7ae556a065f250774c7d0f8ca4f6f9c9c2c6c533
2014-02-11 14:33:34 +00:00
604a0b7282 fdo#44314 Unicode hyphenation at soft hyphens with two extra char.
Change-Id: I4b8eba6d8353e4207cac4a8b24d2b9f0440ce9e6
2014-02-04 22:04:02 +01:00
e63923b033 fdo#44314 non-standard hyphenation at soft hyphens + with pers. dic.
Change-Id: I25e7c13036c6ce1948cc33d45901ef69a258fb03
2014-01-30 14:56:30 +01:00
c5685ec791 fdo#63154 Removed unused solar.h ref. in linguc., sfx2, starmath, svl and svx
Change-Id: I241661119371b75804fcf9215ff5e5da2a5b9265
Reviewed-on: https://gerrit.libreoffice.org/7732
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-30 11:16:27 +00:00
679e4152ad Drop the unnecessary extra directory level
Just like other lingucomponent parts, besides altlinuxhyph is a
historical library name that no longer exist.

Change-Id: I803c4483633c3c8993d70e0057f0c825b1020ace
2014-01-01 19:10:20 +02:00
25fe5fe9fd WaE: unused variable 'aPathOpt'
Change-Id: I6544fdddd1662850a715e8841dcad35135fb1d94
2013-12-26 18:42:15 +02:00
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
9ed364774c Adapt all (non-extension, SharedLibrary) .components to environment="..."
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
a83b2af9ab Clean-up uno/lbnames.h
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-12-16 21:43:12 +01:00
7666149128 Revert "fdo#56443 allow different name for .dic and .aff files"
This reverts commit cb56ab9bca5e917d86a7dc24eb144353c405f07c.
2013-12-09 22:37:16 +01:00
cb56ab9bca fdo#56443 allow different name for .dic and .aff files
For example, de_CH_frami.dic and de_AT_frami.dic use de_DE_frami.aff.

Change-Id: I1d3770ad871b4714f7e595e1cd13f5fd7f224a1f
2013-12-09 20:22:26 +01:00
d366c9b20e remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-14 08:17:32 +02:00
ef90021abe convert OUString !compareToAscii to equalsAscii
Convert code like
   if( ! aStr.compareToAscii("XXX") )
to
   if( aStr.equalsAscii("XXX") )
which is both clearer and faster.

Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-11-11 12:58:12 +02:00
e2451bd729 Convert indexOf->startsWith and lastIndexOf->endsWith
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
2013-10-31 08:34:21 +02:00
704f95e525 fdo#54938: More uses of cppu::supportsService
Change-Id: I90a7a07a43559b8d7e1d4b886b2624255200d46b
Reviewed-on: https://gerrit.libreoffice.org/6406
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-25 08:19:58 +00:00
f852bda5ec clean up some include guards
Conflicts:
	sw/source/ui/inc/content.hxx

Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6
Reviewed-on: https://gerrit.libreoffice.org/6388
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-23 10:28:07 +00:00
a7724966ab Bin comments that claim to say why some header is included
They are practically always useless, often misleading or obsolete.

Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22 16:56:28 +03:00
e6e0098be8 String -> OUString
Change-Id: Ied50819f226d1fa7fd7f6d004a796b5a08194a23
2013-10-20 23:00:36 +02:00
45e366eadb drop unnecessary tools/string includes
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-20 19:00:36 +01:00
7b003de403 move externals together
Change-Id: I8c28241fc836551360711b984f8785da5e43e0e8
2013-10-13 12:05:48 +02:00
d5f33e2db4 the dreaded hu_HU_u8.dic of myspell-hu needs exceptional handling
Change-Id: I2cef8d0dd306ce22552db0b5d8890c754be9e835
2013-10-11 23:00:44 +02:00
386a382e62 lingucomponent: kill Package_config.mk
Change-Id: I5c97347cfaefb23cd985b7776a83337856e4d55c
2013-10-02 22:07:17 +02:00
3ec4fedc6a CID#983035 fix potential memleak
Change-Id: If41d78ce424e85390c7a92eaa36f912c43eef390
2013-10-02 20:26:00 +01:00
19d7fd2c41 Sprinkle more boost_headers love
Fix compilation errors when not using system boost. Might be more.

It's sad that one has to micro-manage boost use like this.

Change-Id: I3541789530fbdb0fb03e2b355144e63f8b031097
2013-09-19 11:12:46 +03:00
91a1e61ec6 clearly it's enough to obtain the const array once
Change-Id: I6d9ffef6b052012d09ff54d2a457e1314e6239ee
2013-09-17 14:07:33 +02:00
75be8fd665 convert LINGUCOMPONENT module from String to OUString
Change-Id: I1a47545127885f92e9fcdbf855ca60fbbef1395d
2013-09-17 09:05:30 +02:00
b291852c2f get rid of unnecessary conversion, use LinguIsUnspecified(OUString)
Change-Id: Ib1074e3025680306c0a8bf7dcff651cefdcb90ba
2013-09-12 19:31:45 +02:00
2f6551b016 a set of LanguageType fallback converted to is utter nonsense here
Change-Id: I02881a2a7ab3178521388b76e2413b7e1cd6c443
2013-09-12 19:31:44 +02:00
22dc925e35 no need to count, just find
Change-Id: Ia4fa44c2382f6d1f5a6b3fed533f401bcb03be53
2013-09-12 19:31:44 +02:00
349b2c2de1 it's a set, so treat it as such
Change-Id: Ia156b27d944bf419a2e0bd45fa65efd4b7f89404
2013-09-12 19:31:44 +02:00
08e4d51f04 if valid accept whatever the dictionary's name might comprise
Change-Id: Ia6ea53f1a9e1c575606901e173bc952449135522
2013-09-12 18:44:22 +02:00
39c9c7420a was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()
Change-Id: Ieea44614271c79beb7a9a3fce35acf921ccb478f
2013-09-03 20:35:42 +02:00
12b1d1cda3 Mark as const
Change-Id: I9277052ee9c6197cef7a46bd8f3ab9c5515c2502
2013-08-12 09:23:52 +09:00
358d1a9948 use static LanguageTag::convertTo...() for standalone conversions
If no LanguageTag instance is at hand use the static methods to convert
between BCP 47 string, Locale and MS-LangID instead of creating
temporary instances.

Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-07-13 11:55:16 +02:00
9e958cd987 Use a simpler fix for bad old libexttextcat constants.
Don't patch the upstream sources. Don't do version dependend checks.
Just define the missing constants ourselves if they are missing.

Change-Id: Ie0c56474e5ff20c092c99c1648cd15b97149041f
Reviewed-on: https://gerrit.libreoffice.org/4200
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-06-10 05:02:52 +00:00
cb6d67c21f Spelling "separate" (etc) correctly is hard 2013-05-15 11:14:28 +03:00
d49a0b4304 One more XPropertySet -> XLinguProperties
Change-Id: I9ce34899181416f6c5e38289035af35ed5533616
2013-05-14 20:25:40 +03:00
708cab47c4 fdo#46808, propogate XLinguProperties through some more code
Change-Id: I89258875094e9731921fcafdc903278ca8f95aa8
2013-05-14 13:39:30 +02:00
b4d9ed1434 small optimization, don't call objectAtIndex twice
(cherry picked from commit a88630fb326fa4dcbe28edd1c149c8e5e7b7f123)

Conflicts:
	lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx

Change-Id: Ic48281be27bf43f8a564f46684ddb53a2d83d80e
2013-05-09 12:03:39 +01:00
2ce25faffd fix typos (wich instead of which) 2013-05-06 20:07:23 +02:00
72e5d0c8fb Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-30 13:34:06 +01:00
1cc9bbfd57 gbuild: drop empty use_packages calls
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f
Reviewed-on: https://gerrit.libreoffice.org/3503
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:18:15 +00:00
c042cd05e9 gbuild: drop uses of removed packages
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac
Reviewed-on: https://gerrit.libreoffice.org/3502
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:18:03 +00:00
6c7659b584 move URE headers to include/
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d
Reviewed-on: https://gerrit.libreoffice.org/3499
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:17:10 +00:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
876c619b94 new module i18nlangtag
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.

This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.

Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05 19:10:48 +02:00
580c639997 add missing dep on osl/thread.h
Change-Id: I4c33ed5a9ae5a29c2deb1a7f7d3ef1a11a44c539
2013-03-28 08:59:24 +01:00