Kohei Yoshida
a1feb649d9
NOT_INVALID => Valid.
...
Change-Id: I71acebdb9c55fdd71d2e611f2ba436f734e949a8
2013-08-28 08:56:58 -04:00
Kohei Yoshida
9ef0523688
bClearRange is always true. Remove it.
...
Change-Id: I1df4bdaa5f13ede9e04972a02948eb072dca2bec
2013-08-28 08:56:58 -04:00
Caolán McNamara
6dc887d8d5
XubString->OUString
...
Change-Id: I7b76026012af2b57861ec8d3dfd285d9e871d74c
2013-08-28 11:31:21 +01:00
Caolán McNamara
68dea1c1b6
Resolves: fdo#67743 ensure user autocorr config dir exists
...
We try and copy the shared one to the user location the first time we create a
customized user file. If the dir doesn't exist then that migration doesn't
happen. The new autocorr file is then written, creating the dir, and any
further operations will reattempt the skipped share copy, and this time succeed
because the dir now exists. Which overwrites the previously written customized
content.
This is similar to fdo#65501 "ensure configured backup dir exists before using
it", so reuse that code and move it into unotools.
Change-Id: I38fa621b8d7295d70b09172a028569ea95404120
2013-08-27 14:42:24 +01:00
Kohei Yoshida
d81b56c7f6
fdo#60740: Handle empty paragraphs correctly.
...
Change-Id: I47d4f60daec82d2b6a4b5e8f20b8cb6484c55057
2013-08-25 14:51:10 -04:00
Kohei Yoshida
0d57434180
Create sections for unformatted paragraphs too.
...
Change-Id: Id3486cf7faf0c03f2ce9c72f31d564d5149e5b48
2013-08-25 14:51:10 -04:00
Kohei Yoshida
9ae7d6762b
Change of plan - we need to include feature attributes here as well.
...
Change-Id: I431b7ff79cffd5c9a7ff06f41a2fdd56bf2f968c
2013-08-24 17:16:56 -04:00
László Németh
a248008d08
fdo#68373 fix three dot -> horizontal ellipsis autocorrection
...
Change-Id: I9c906c9ab91f604537769db6820aa820d5f637fd
2013-08-24 13:36:08 +02:00
Miklos Vajna
2a01c49f76
sw: add ShadowTransparence UNO property for frames
...
drawinglayer has a separate property for the shadow transparency, too.
One more step towards Writer frames have the same UNO API as
drawinglayer shapes.
Change-Id: I84617502e9beb9e077c783ee8eb771d79c6ee666
2013-08-24 12:45:15 +02:00
Caolán McNamara
7b80e47bb7
XubString->OUString
...
Change-Id: If59e9a3956074557842ebc5b178266e9be95a867
2013-08-23 19:58:28 +01:00
Miklos Vajna
c35898696f
SvxShadowItem: allow setting transparency other than 0% or 100%
...
Also adjust SwFrm::PaintShadow(), seems that can't deal with
transparency ATM (always paints white in case of even minimal
transparency).
Change-Id: I88baea732d6ef01b2e516af562bc424775c38f84
2013-08-23 16:13:10 +02:00
László Németh
9eb39ccff8
fdo#68373 allow "*word" pattern matching
...
Change-Id: I13682f3886451838e522b259dbb2d686bff1437b
2013-08-23 11:42:47 +02:00
Caolán McNamara
166510ed48
Resolves: rhbz#996162 apparent NULL bullet font
...
Change-Id: I2f50ef1dabe2f152f2e18025edc88734158dbea2
2013-08-22 15:29:43 +01:00
László Németh
82236dd326
fdo#68373 wildcard char. matches only real suffix in autocorr.
...
Change-Id: Ibe06bb5c62ac0d8fae17c8a9ffcc4b1bc2768bcc
2013-08-21 18:01:41 +02:00
Luboš Luňák
64b993e046
finish deprecation of O(U)String::valueOf()
...
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +02:00
László Németh
6616e1e4eb
fdo#68373 fix comments
...
Change-Id: Id65e819fd1172a28b2cb0bafbd7763313c5fcf50
2013-08-21 13:25:35 +02:00
László Németh
26c4d2f5bd
fdo#68373 pattern matching in autocorrection for suffix rich lang.
...
Change-Id: I4a996c51e6e7115e90bf15254b26025aae1f9a6c
2013-08-21 13:15:29 +02:00
Kohei Yoshida
9ca5e3da5c
Add a means to retrieve all formatting attributes in non-overlapping sections.
...
Change-Id: Id04dffc135fad6bb66ea157cd280dd481cb80117
2013-08-20 22:57:13 -04:00
Matteo Casalin
8aee44c181
String to OUString
...
Change-Id: I41b73e0af6841247a0403974b1c66e5a66123420
Reviewed-on: https://gerrit.libreoffice.org/5483
Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com >
Tested-by: Matteo Casalin <matteo.casalin@yahoo.com >
2013-08-17 21:10:39 +00:00
Michael Stahl
79adda35a9
EditHTMLParser::StartPara: shut up clang tinderbox
...
Change-Id: I8d65f43b95944583b50874adb90db38eee7623de
2013-08-15 12:34:55 +02:00
Noel Grandin
55f2f0864e
convert include/svtools/parhtml.hxx from String to OUString
...
Change-Id: I20adfc9148b8afa7a59245349f233604bd9a1d2e
2013-08-15 09:11:35 +02:00
Noel Grandin
33eeb70011
convert include/svtools/svparser.hxx from String to OUString
...
Change-Id: I4d6196a9a96ad1dd236f8622a523b4702e92d76f
2013-08-15 09:11:33 +02:00
Caolán McNamara
96f24b9cc0
XubString->OUString
...
Change-Id: I9ccb06134dfadd9bf1ecb8e5edcd24c02980b754
2013-08-14 16:10:09 +01:00
Caolán McNamara
403a75a275
XubString->OUString
...
Change-Id: I178f9eb702afb6143c583d5fd54003a427d895fa
2013-08-14 09:13:07 +01:00
Tor Lillqvist
97e24a710d
Also ' was duplicated
...
Thanks to dougmencken for noticing.
Change-Id: If9b18b7686981b523e8422cecef0930fded10c91
2013-08-13 13:01:38 +03:00
Tor Lillqvist
c625772a6f
Avoid warning: rtl_uString_newFromLiteral - Found char > 127
...
Using a literal string that includes non-ASCII character(s) to initialise an
OUString causes a warning "sal/rtl/strtmpl.cxx:1338:
rtl_uString_newFromLiteral - Found char > 127".
I doubt the '\xFF' in the aWordDelimiters initialiser makes sense. The
initialiser contained "\0xFF" since the beginning of time, which (as said in
e7a958441a
) means a zero byte '\0' followed by
"xFF".
So '\xFF' was not included in the initialiser during all that time
either. Whatever the '\xFF' means in the set of "word delimiters", quite
possibly it is handled explicitly in the code anyway (grep for
CH_FEATURE_OLD).
Change-Id: I2998a13e6e573f85c92e66ff6edbb6354ba11b5b
2013-08-13 11:06:34 +03:00
Tor Lillqvist
3440201b75
Remove duplicated space in aWordDelimiters initialiser
...
Change-Id: Idf191ab3dfa7f6fde190c55d4d1d228a49ecf771
2013-08-13 11:06:34 +03:00
Matteo Casalin
86637135b8
String to OUString and some optimizations
...
Change-Id: I9d93d6aa26b2c9d20f7be8d201051a51e8e4ce7a
2013-08-12 18:31:05 +02:00
Noel Grandin
d3ebe15c1e
convert vcl/cmdevt.hxx from XubString to OUString
...
Change-Id: Ib574cc7130f49c7a6be23566377313906c52abb8
2013-08-12 11:56:37 +02:00
Caolán McNamara
9dd40c656f
XubString->OUString
...
Change-Id: I04c7da143425a9d8cc4fae155ad45a469df953c1
2013-08-12 08:32:59 +01:00
Caolán McNamara
e7a958441a
single delimator of \xFF not four of '\0', 'x', 'F', 'F'
...
d08a76cf72
revealed that "\0xFF" was
always inserted as a delimator but presumably the intent was a single
delimator of "\xFF" and not four delimators of '\0', 'x', 'F', 'F'
Change-Id: I6b34c1bcd90086fd5d6fe7043fa98ef89bcb8553
2013-08-11 20:22:47 +01:00
Ivan Timofeev
d08a76cf72
String->OUString
...
Change-Id: I49e0e589c4bad3706882c9e30fe4f6bf8bdd7f1d
2013-08-11 21:53:59 +04:00
Neil Moore
9ffa46f008
Removed chained appends in SvxAuthorField, as part of Bug 57950.
...
Change-Id: Id23139b9bdd7897178a013d7dc9e39a670e3d4da
Reviewed-on: https://gerrit.libreoffice.org/5324
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2013-08-10 15:02:37 +00:00
Caolán McNamara
d2c3297eed
Resolves: fdo#67743 user autocorr file not written
...
regression since c9c2fbe485
revert the logic change and keep the OUString conversion
Change-Id: Ia4f8c3be2b6e325122ae7b21c431c301b8afecad
2013-08-09 11:41:36 +01:00
Caolán McNamara
0136b4e524
XubString->OUString
...
Change-Id: I888537cbaec11ef52b1e89b61f7351c6b7769819
2013-08-09 11:41:36 +01:00
Michael Stahl
28f38798fc
SvxFont: remove duplicate LanguageType member
...
... that already exists in Font baseclass.
Change-Id: Ia87e8b791e153bdd4ddc6c84eba6b4f37d127dca
2013-08-08 23:25:26 +02:00
Takeshi Abe
e2e15148fc
Mark as const/static
...
Change-Id: I54a7daee7345e7c0c5c3f866d5c365722b567eff
2013-08-04 00:54:12 +09:00
Matteo Casalin
31ab7f0c7d
String to OUString
...
Change-Id: I8d4f62b473ad43807621a9dbb826ed33857b737e
Reviewed-on: https://gerrit.libreoffice.org/5189
Reviewed-by: Luboš Luňák <l.lunak@suse.cz >
Tested-by: Luboš Luňák <l.lunak@suse.cz >
2013-07-30 14:40:30 +00:00
Matteo Casalin
73a136945d
String to OUString
...
Change-Id: Ia9bebaf92bf570c10d01a9ed3db437f70098a07d
Reviewed-on: https://gerrit.libreoffice.org/5185
Reviewed-by: Luboš Luňák <l.lunak@suse.cz >
Tested-by: Luboš Luňák <l.lunak@suse.cz >
2013-07-30 13:35:28 +00:00
Michael Stahl
a1c081a7c2
Revert "SfxStyleSheetBasePool: remove internal iterator"
...
This reverts commit 3a46d91f8d
.
This breaks the Stylist, not sure why (does it depend on something
setting the search flags before?) so revert for now.
Change-Id: Ia50feeebae8bf852c827e4f270e81e9f08d2b1ac
2013-07-27 17:15:55 +02:00
Takeshi Abe
826be413d6
Mark as const/static
...
Change-Id: I9000ea607e1df140ac18d59f7c4d4abd999c71d1
2013-07-27 10:07:31 +09:00
Takeshi Abe
d976a9d3ee
Drop unused inline function
...
Change-Id: Ibc0d19861cf86cfdbef48010dd4099768e7ee767
2013-07-27 10:07:31 +09:00
Michael Stahl
3a46d91f8d
SfxStyleSheetBasePool: remove internal iterator
...
The clients always start with First() anyway so they might as well use
external iterators, which makes calling First() in certain situations
just so the internal iterator is invalidated unnecessary.
Change-Id: I0948576c20410136448e8b85311c21a257469bc7
2013-07-27 00:45:21 +02:00
Eike Rathke
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
Eike Rathke
a0f20ee1d5
use LanguageTag
...
Change-Id: Ibbe84ddde5c9d7fbcb9920ea76896c44c0cdf387
2013-07-10 21:20:20 +02:00
Miklos Vajna
9487b71306
SvxBrushItem::TransparencyToPercent: add this to avoid copypaste
...
Change-Id: I9b77c0a48b7de39eadae118c24c70ac415898293
2013-07-10 09:41:45 +02:00
Norbert Thiebaud
009851223b
module svl: all String and some bool and related clean-up
...
Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed
Reviewed-on: https://gerrit.libreoffice.org/4733
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2013-07-07 20:00:16 +00:00
Radu Ioan
61db96daa8
fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
...
- replaced RTL_CONTEXT_ with SAL_INFO
- replace OSL_* with SAL_*
Change-Id: I26761cf1d4c1cfe21dec7d8ede6df6f177bf2c3e
Reviewed-on: https://gerrit.libreoffice.org/4620
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
2013-07-03 07:59:33 +00:00
Norbert Thiebaud
6a08067902
OUString convertion for unotools
...
Change-Id: Ifae7f344e3827875e32afa3cda23c771f5735707
Reviewed-on: https://gerrit.libreoffice.org/4659
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-07-02 07:31:30 +00:00
Norbert Thiebaud
710f41b7ae
Clean String and sal_Bool in tools
...
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655
Reviewed-on: https://gerrit.libreoffice.org/4627
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2013-06-30 04:58:49 +00:00