1a5457a11c
Avoid possible memory leaks in case of exceptions
...
Change-Id: I4b2b439615db0ff4598f405d1e339eebbff7ae91
2014-04-21 22:29:09 +09:00
8bb2ce61c0
fixincludeguards.sh: some smaller dirs
...
Change-Id: Ic25bd678dc299627299b22145efd7bebcf2b39d0
2014-04-19 11:10:13 +02:00
981590d1cf
Clean up function declarations
...
Change-Id: Ic00323f1c22f9b3642758dc21b65a2413624515e
2014-04-14 21:54:23 +02:00
5b8ca52fe7
Clean up function declarations
...
Change-Id: Ia811e9d3a6745e75fddddb6c6876316fde3629d8
2014-04-14 13:10:53 +02:00
2ee552c897
loplugin:saloverride
...
Change-Id: I19d7a8eb9f53a7f5ab7acf9dc7b0ca0b90950ee5
2014-03-30 22:20:14 +02:00
70cc2b191b
First batch of adding SAL_OVERRRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
f883832c93
WaE: unused variable 'catst2' [loplugin:unusedvariablecheck]
...
Change-Id: Iaeff659796b17ffe5e102b75045c90913f12b615
2014-03-25 14:43:05 +02:00
1cc0bdd037
coverity#735439 Logically dead code
...
Change-Id: Id475c10effc81386a08337128be270f715daef52
2014-03-25 12:33:21 +00:00
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