Noel Grandin
eb2f8c5a63
fdo#46808, use linguistic2::LanguageGuessing service constructor
...
Change-Id: I5c650a96ea99a1cf16ca8aa61f2db4986790040b
2013-02-11 08:02:19 +02:00
Noel Grandin
e5fdaec54a
fdo#46808, Adapt document::XML*BasicExporter UNO services to new style
...
The services are
document::XMLBasicExporter
document::XMLOasisBasicExporter
Change-Id: Ifd93e5735cae94d34904d79769cdb3edf587fe43
2013-02-11 08:02:11 +02:00
navin patidar
fb697ed0ab
fix logic to get L/R direction
...
Change-Id: I481f9ea57f8c5b71eb849df3f71c75f8b9b0f1fa
Reviewed-on: https://gerrit.libreoffice.org/1972
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2013-02-06 19:44:40 +00:00
Andras Timar
5acf58bbde
remove obsolete hidother.src files
...
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
2013-02-06 14:51:42 +01:00
navin patidar
73de30ca9c
fix fdo#59892 completely and fdo#33302 partially.
...
fix fdo#33302 for rtl scripts in cal,impress and draw.
Change-Id: I83b1e077faf0f2578308e03b7598557f60e7cfd8
Reviewed-on: https://gerrit.libreoffice.org/1961
Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa >
Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa >
2013-02-02 07:48:37 +00:00
Luboš Luňák
1475618fda
remove useless macros
...
created by incorrect replacements in the previous commit
Change-Id: I15a56ecd201ce202fe933c7d24908923bedc6708
2013-01-30 14:03:45 +01:00
Jean-Noël Rouvignac
97eb8a6e0e
Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
...
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz >
Reviewed-by: Luboš Luňák <l.lunak@suse.cz >
2013-01-30 12:54:40 +00:00
Jean-Noël Rouvignac
0dc532bffc
fdo#38838 Some removal/replacement of the String/UniString with OUString
...
Changed SfxItemPool::GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; to use OUString.
Change-Id: I656c1d321ff96f1f2e5b77f6adc103ef0a6fdf66
2013-01-28 17:36:20 +01:00
Miklos Vajna
a1bef744a2
SwXTextFrame: use XFillGradientItem instead of extending SvxBrushItem
...
Change-Id: I8863cbe1d01fceac0f4b4152264c1464c90e02b8
2013-01-28 13:49:41 +01:00
Miklos Vajna
06de72bea2
SwXTextFrame: use XFillStyleItem instead of extending SvxBrushItem
...
Change-Id: I03b841ed703503425c9f1a2045d6399c8899815f
2013-01-28 13:49:40 +01:00
Michael Stahl
fc81393c7f
gbuild: remove various pointless calls that don't add anything
...
Change-Id: I7eccac4fa8890c2873c6bbd7f8f5bf5b0dd006d2
2013-01-26 22:20:07 +01:00
Michael Stahl
a53586f4ef
gbuild: do not copy boost headers around
...
- do not use gb_UnpackedTarball_copy_header_files for boost
- adapt the optimization in concat-deps.c for new path
- use boost_headers in all LinkTargets that require it
- add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus
Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26 22:20:06 +01:00
Miklos Vajna
2a34dd723b
text::BaseFrameProperties: add FillStyle and FillGradient optional properties
...
Change-Id: I854cc5e4da2ce87ef4a7af6e9c0cf6f208714e4c
2013-01-25 11:14:49 +01:00
Miklos Vajna
2aec78c0d9
SvxBrushItem: extend this with a vcl Gradient and drawing::FillStyle
...
So Writer fly frames can have gradient info as well.
Change-Id: If59ae9092fedabbe112f034e13fbe801815ebaaf
2013-01-25 11:14:48 +01:00
Chr. Rossmanith
e3f11c10d8
Changed SetText() / GetText() to take/return OUString
...
replaced lots of Len() with isEmpty()
Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0
Reviewed-on: https://gerrit.libreoffice.org/1795
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2013-01-21 20:48:35 +00:00
Jean-Noël Rouvignac
63bcb139b9
Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()
...
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de
Reviewed-on: https://gerrit.libreoffice.org/1784
Reviewed-by: Luboš Luňák <l.lunak@suse.cz >
Tested-by: Luboš Luňák <l.lunak@suse.cz >
2013-01-21 15:04:17 +00:00
Caolán McNamara
02d4f6a249
split confused ImplInitDigitMode method into seperate functions
...
a) ImplCalcDigitLang that determines the digit language
b) ImplInitDigitMode that just sets the outputdevice according to that lang
c) and convertDigits that physically converts the digits in a string
from one language to another
then change the body of convertDigits to use GetLocalizedChar from vcl rather
than its outdated copy of the method, which teachs editeng all the digit modes
that were added since the method was originally copy and pasted.
Change-Id: I2ef7d5d3396c106d4f8fd90142c9d9cf99064bee
2013-01-14 16:04:17 +00:00
Caolán McNamara
612981fc8f
callcatcher: update and remove newly unused code
...
Change-Id: Iff3ce7c3a44010b3bc81fc0d2156216ee13948dc
2013-01-13 23:02:37 +00:00
Kohei Yoshida
a796fdf07b
Explicitly initialize SfxItemPoolUser in copy constructor.
...
To keep MacOSX-Intel tinderbox happy.
Change-Id: I8dbc8330fd688fc1c1ed005d1603ff52f8b7a16d
2013-01-08 22:34:19 -05:00
Kohei Yoshida
63c19c8812
Remove unnecessary virtual keywords.
...
Change-Id: I1227a4e04bc962da96b77947a706293f9a2a3850
2013-01-08 22:28:58 -05:00
Kohei Yoshida
64520a6fc0
BinObject is no more. Change the method names to reflect that.
...
Change-Id: I723a7da307379c6f2e8256fe41023b4b96739f12
2013-01-08 21:03:51 -05:00
Kohei Yoshida
4da3a01084
Turn EditTextObjectImpl into a real impl class.
...
Change-Id: I0f0bba62da60a3397b733253dbc0891c69bd5b9c
2013-01-08 21:03:51 -05:00
Kohei Yoshida
678de82557
Let's not have "which" value in EditTextObject.
...
In fact, this value is always EE_FORMAT_BIN, and that's not going to
change.
Change-Id: I9324bf878b5766ef7a27461ba2bdf17742396f3d
2013-01-08 21:03:51 -05:00
Kohei Yoshida
71135683d1
Rename BinTextObject to EditTextObjectImpl.
...
Change-Id: Ie1e046624e671e87c7b3cf322572a7ed3f98726a
2013-01-08 21:03:50 -05:00
Kohei Yoshida
9260badb6f
More SfxItemPoolUser up to the base class.
...
Change-Id: I44819d66273e22db9f82d095061e3df627b64dae
2013-01-08 21:03:50 -05:00
Kohei Yoshida
7ec3861d69
Remove one variant of HasField() which takes arcane TypeId.
...
Change-Id: Ic8236b291ed5f318f67378bbc57b7cf027cbb92a
2013-01-08 10:16:35 -05:00
Kohei Yoshida
9487497376
Add new ods import test for rich-text cell contents.
...
Change-Id: I23eb8d53b8a2c48514900a5ab07ed7ec71d3ef99
2013-01-08 09:21:11 -05:00
Caolán McNamara
6773db03a6
allow menu items to be referred to by a name
...
Change-Id: I8bb1c082e3948f919232b81e0f1f869b88fcd852
2013-01-07 16:17:52 +00:00
Matteo Casalin
a4c7ded1fd
Cleanup: #include <tools/gen.hxx>
...
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530
Reviewed-on: https://gerrit.libreoffice.org/1484
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2013-01-07 13:14:57 +00:00
Korrawit Pruegsanusak
93a9e52dcc
fdo#58671: Remove accelerators from Undo action texts
...
These three texts appear in Undo dropdown list, so they don't need accelerators
Change-Id: Icec8e199c7cc3990b6316937e49aacb7eb1015fb
Reviewed-on: https://gerrit.libreoffice.org/1473
Reviewed-by: Ivan Timofeev <timofeev.i.s@gmail.com >
Tested-by: Ivan Timofeev <timofeev.i.s@gmail.com >
2013-01-06 15:02:14 +00:00
Jan Holesovsky
0c22f3eadd
Make LO buildable again after the GraphicFilter move.
...
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
2013-01-04 22:02:51 +01:00
Samuel Mehrbrodt
d39f1fb508
Spellcheck menu: Rename 'Add' to 'Add to Dictionary'
...
Change-Id: I601bf1fc34f3e4cccef02d1d4a5ecd1959007cf7
Reviewed-on: https://gerrit.libreoffice.org/1539
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2013-01-04 09:54:16 +00:00
Luboš Luňák
59074c09b8
remove use of #pragma optimize
...
All these are years old, guessing from some comments as old
as Windows 9x support. These workarounds do not seem to be needed now.
Change-Id: If67baa5cdefcec33b28696c764b1ed96143b7ccd
2013-01-01 22:39:15 +01:00
Julien Nabet
37abf7e629
Simplify this
...
Change-Id: If1a8a2441398ea9f20d6ec45e649967673c7a6af
2012-12-28 20:28:31 +01:00
Peter Foley
b92a0d9208
convert icu to gbuild and add to tail_build
...
Change-Id: Id7d8bc05b1393cc2bae4a531c8a47f62df24b1d6
Reviewed-on: https://gerrit.libreoffice.org/1488
Reviewed-by: Tor Lillqvist <tml@iki.fi >
Tested-by: Tor Lillqvist <tml@iki.fi >
2012-12-27 15:53:39 +00:00
Peter Foley
0897b55183
build fix for editeng OUString cleanup
...
Change-Id: I82fdca86631d5b364224d151d85da5baef1a54a8
2012-12-25 09:44:16 -05:00
Olivier Hallot
071b7eea79
OUString cleanup in editeng/acessibility
...
Change-Id: I253444e2859685cae88aa65fae755af2674bd4b4
Reviewed-on: https://gerrit.libreoffice.org/1471
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2012-12-25 06:07:25 +00:00
Olivier Hallot
cd54670045
OUString cleanup in editeng/acessibility
...
Change-Id: I5f8b73aab1e67a5ac071427574fa943a844fbf96
Reviewed-on: https://gerrit.libreoffice.org/1469
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2012-12-25 06:06:02 +00:00
Olivier Hallot
0e028d6ceb
OUString cleanups in editeng/accessibility
...
Change-Id: Ie280c48cabec4ef9e0c623f8966a65027b975fe4
Reviewed-on: https://gerrit.libreoffice.org/1468
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2012-12-25 06:04:59 +00:00
Julien Nabet
8e25844811
Some cppcheck cleaning in editeng
...
Change-Id: I94bf89867cec9cc24f8b96635c515d9477b561a9
2012-12-22 08:27:57 +01:00
Noel Grandin
bb121c864c
fdo#46808, Convert frame::Desktop to new style service.
...
I had to drop XEventBroadcaster from the merged interface
because it introduced method name conflicts (addEventListener).
Shouldn't be an issue since it was scheduled to be dropped anyhow,
and the service implementation still implements it, so existing clients
will be fine.
I dropped the interface XPropertySet from the combined IDL because nobody
seems to be using it, and it's primary purpose appears to be to set weird
flags.
I dropped the optional interfaces
XStatusIndicatorFactory
XDispatchInformationProvider
from the combined IDL because the service does not implement them, and
nobody seems to be using them. I suspect they were mistakenly copied
from XFrame.
I also did not convert the Title, UserDefinedAttributes and LayoutManager
properties to attributes, again because no-one is using them.
Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-21 10:57:09 +02:00
David Tardon
7cc485c88f
drop useless check
...
Change-Id: I3da8370930bafa6e1744291391c71871d203bb00
2012-12-17 05:56:32 +01:00
Luboš Luňák
5402ff6cd9
PCH for Library_sc
2012-12-16 10:30:33 +01:00
Eike Rathke
623410669f
fdo#58060 use acor_und.dat and LANGUAGE_UNDETERMINED
...
Previous versions used an empty language tag for LANGUAGE_DONTKNOW with the
"[All]" autocorrection entry and read/wrote from/to arco_.dat file. An empty
language tag otherwise is used for system locale and doesn't convert flawlessly
with the new LanguageTag system. Instead use LANGUAGE_UNDETERMINED with the ISO
639 code 'und' so the file name is "acor_und.dat".
During user profile migration an existing 3/user/autocorr/acor_.dat is copied
to the new 4/user/autocorr/acor_und.dat
Change-Id: I593f24829c6efd58f36e93ebd3385a3c925f7217
2012-12-13 20:18:56 +01:00
Michael Meeks
a61928d2f7
fdo#58060 - use empty-string for LANGUAGE_DONTKNOW ie. acorr_.dat
...
Change-Id: I399dcc41484c8b86f13c80bc1e92af919c9aeaff
2012-12-12 22:26:30 +00:00
Caolán McNamara
6f6056b62e
Related: fdo#55570 presumably we can attempt the insert...
...
and rely that it won't replace the original on pre-existing key and use the
usual .second == true flag rather than lookup and then insert on
non-pre-existing key
Change-Id: Idba65bfb2efaa5812b965a8811ff425f0b0939d8
2012-12-12 13:27:11 +00:00
Luboš Luňák
bbbbe235c9
'using namespace rtl;' in a header is baaaad
2012-12-11 10:40:17 +01:00
Caolán McNamara
0efcfcdf40
cppcheck: size() == 0 -> empty()
...
Change-Id: I23b6b8fdbb9c4f367a590a21e40e7bbaa76f7fce
2012-12-11 09:12:03 +00:00
Michael Meeks
e7e4d67786
fdo#55570 - use a hash instead of set initially until sorting needed
...
This rather substantially accelerates the first use of autocorrection.
Interestingly, it also appears to accelerate the sorting of the items;
potentially inserting sorted items into a set is a pathological balancing
case, that is avoided by the hash algorithm's randomness.
2012-12-10 20:43:50 +00:00
Michael Meeks
cccb0bb123
fdo#55570 - re-factor SvxAutocorrWordList to hide it's innards
2012-12-10 20:43:45 +00:00