2007 Commits

Author SHA1 Message Date
Eike Rathke
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
Eike Rathke
8ef9e38aa8 use LanguageTag
This creates a circular dependency between modules i18npool and
comphelper, but not between libraries. To be resolved by moving
languagetag, isolang and mslangid stuff to a separate module.

Change-Id: I669aa66010800632c5637b42c6136a7ca14e7e68
2013-04-05 19:01:52 +02:00
Ashish Banerjee
e1f6dac689 Replace compareTo(...) == 0 with ==
Proposed patch for the following issue:
https://bugs.freedesktop.org/show_bug.cgi?id=62096

Change-Id: Ib83a9051ea12c53642f781e5427a6ca728049a7f
Reviewed-on: https://gerrit.libreoffice.org/3198
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-04-05 08:57:28 +00:00
Eike Rathke
1d073a3b48 -I$(SRCDIR)/comphelper/inc before solver/*/inc
Change-Id: I2a8a4ba93b5ffb2273573c81466595e1c4cf1d9d
2013-04-04 19:42:18 +02:00
Thomas Arnhold
2b7ee1db28 remove boilerplate comments
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-04-01 22:45:36 +02:00
Peter Foley
8ffb20747c fix loplugin unused warnings
Change-Id: I23fc6bf62e74f192f77c74ed48d5276737375f3c
2013-03-30 16:55:25 -04:00
Julien Nabet
7ec010c8c2 Use const_iterator and put them in for loop
Change-Id: I1dbfe5735580d940081298c372c12db8a3c3b3a3
2013-03-29 07:12:02 +01:00
Stephan Bergmann
048e64e71f Drop redundant typedef
Change-Id: I13f1858babb1fb2b4120bcbf0e2e04a2a1f4bf88
2013-03-28 15:35:43 +01:00
Stephan Bergmann
acca22d642 Related rhbz#928568: Detect aggregators listening at themselves
...which would lead to infinite recursion during disposing.

Change-Id: Ie895dbf8b4497296f2216edeac012f242d720adf
2013-03-28 13:30:41 +01:00
Eike Rathke
567a3ea42c ditched now unused comphelper::Locale
Change-Id: Iddfce58d2cce01e777d51054f1a70c25ad06b15c
2013-03-28 01:39:09 +01:00
Eike Rathke
222414f92e typo
Change-Id: I7e19c2b8a05a86f9995a879b5296f5ca93d3ef87
2013-03-27 20:38:18 +01:00
Stephan Bergmann
787bdc61dd -Werror=unused-macros
Change-Id: I8548078dd6b9fc3555bfb5e23a683879ee3de3fa
2013-03-27 12:55:05 +01:00
Stephan Bergmann
d684a3cad9 _USE_MATH_DEFINES is already taken care of by sal/config.h
Change-Id: Ib0dab05534c34eb407f3acee3b4a3638a36bdddc
2013-03-27 09:36:49 +01:00
Michael Stahl
3605407693 sd::DocumentSettings: throwing UnknownPropertyException ...
... for properties that are in the PropertySetInfo just because there's
no document or shell is just plain wrong.

Change-Id: I84f4f930f492753b20ba04ec4d41c905d674b9ba
2013-03-22 15:25:23 +01:00
Chr. Rossmanith
b2f8318dbd simplify OUString assignments
Change-Id: Ieffd80aa84c9a041785bb81b3a904a32d00cb2bb
Reviewed-on: https://gerrit.libreoffice.org/2863
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-03-20 10:28:58 +00:00
Stephan Bergmann
4c0c23af21 Simplify equalsIgnoreAsciiCaseAscii[L] calls
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19 11:32:20 +01:00
Michael Meeks
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
Matúš Kukan
bdfdd054bd more subtle dependencies for cross-compilation
Now we build only what we really need for 'build' platform - there is
new build-tools make target.
The list of tools is in solenv/gbuild/extensions/pre_BuildTools.mk.
Also similar is done to some extent for 'host' platform using
gb_Module_add_targets_for_build which is ignored for 'host'.

Change-Id: I6acd1762b16aca366aac1a0688500f27869cfca2
2013-03-13 16:26:10 +01:00
Stephan Bergmann
0a1e834a73 Improve comphelper/README
Change-Id: I81e3cb8f21f156e61536237ee8b87e475218dafd
2013-03-06 12:09:02 +01:00
Kenneth Beck
21e1e859a7 fdo#60724 change spelling error REMOVEABLE -> REMOVABLE
Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments.
All other instances of the misspelling have remained the same.
Example: AF_REMOVEABLE

Change-Id: I391f4101bbc3e06689318235a37d616065bc1686
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-06 10:39:30 +01:00
Thomas Arnhold
41e03a166e doubled using
Change-Id: Ib1d3213a688194bfb027b7bca5bd9ac1b7bb1b28
2013-03-05 12:34:33 +01:00
Takeshi Abe
ce33f85ffd sal_Bool to bool
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-03-04 23:14:41 +09:00
Thomas Arnhold
32943a5b7e binfilter: remove some traces
Change-Id: I5b03dcb5d1f8c73c7a308e7ae209cc7872f18c61
2013-03-03 20:30:44 +01:00
Thomas Arnhold
f5ca04caca Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice
extras/source/autotext/lang/en-US/acor/DocumentList.xml

Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657
Script: http://pastebin.ca/2327716
2013-03-03 17:14:16 +01:00
Thomas Arnhold
919e277466 loplugin: unused variables and commented code
Change-Id: I01f1f1d112767b576d7cfc6e25fe95385de2c0cf
2013-03-03 11:48:02 +01:00
Gábor Nyers
9e991e1852 fdo#39468 Translated German comments to English
Change-Id: If4f8e308cfae6a4ba64576c1b2844210e64085a0
2013-03-02 21:08:46 +00:00
Gregg King
db7a441342 Typo fix: informations -> information and a few other adjacent typos.
FDO:60724

Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b
Reviewed-on: https://gerrit.libreoffice.org/2479
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-03-02 02:45:55 +00:00
Michael Stahl
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
Julien Nabet
c13802e009 Fix typo "persistant" -> "persistant"
Change-Id: I639afec2508d189c10a180fd8f824e634afbd14a
Reviewed-on: https://gerrit.libreoffice.org/2347
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-28 16:05:17 +00:00
Thomas Arnhold
4f4e4e40f5 loplugin: improve indentation
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25 17:59:40 +01:00
Julien Nabet
1443a9f7ab [Uu]sefull -> [Uu]seful
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22 11:12:33 +01:00
Tor Lillqvist
616c6924f1 s/the the/the/
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
Michael Stahl
24eae2b75c add comphelper::string::indexOfAny()
to replace String::SearchChar()

Change-Id: If5476e94be1255247918584cf1923d408ad75064
2013-02-18 20:16:07 +01:00
Ivan Timofeev
e2f97dcc10 spelling: otherwhise -> otherwise
Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
2013-02-17 13:57:44 +04:00
Andras Timar
c16e9f4ed9 Move SyntaxHighlighter class from svtools to comphelper
We use this class in helpcompiler, and it is not desirable to
compile svtools (thus half of LibreOffice) for a build tool
in cross-compiling environment.

Change-Id: I5e6bc3e576af41eb03c1420dd347c542306f69fa
2013-02-16 12:55:03 +01:00
Noel Grandin
0cd4caa547 fdo#46808, convert code in desktop module to XComponentContext
Change-Id: I79a22f52ebe59f8f89291d4e6e78bd37817cd047
2013-02-11 08:02:18 +02:00
Noel Grandin
5d0b2b011f fdo#46808, convert comphelper::OStorageHelper to XComponentContext
And drop the optional parameter on CreatePackageEncryptionData
because no-one is using it.

Change-Id: Ia83ebfc099dd121273d2c39431d015b3bc0abd81
2013-02-11 08:02:18 +02:00
Noel Grandin
591ef78440 fdo#46808, Use singleton util::theMacroExpander new-style constructor
And deprecate the old-style service util::MacroExpander

Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2013-02-11 08:02:13 +02:00
Mark Wright
d4bab97023 fix compile for change to boost 1.53.0 declaring smart pointer operator bool as explicity for C++11 compilers
Change-Id: If2c3ad68b2ffea645a9f2035cd802553edc0ee79
Reviewed-on: https://gerrit.libreoffice.org/2064
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-09 22:41:50 +00:00
Michael Stahl
44f74a0c2b EmbeddedObjectContainer: log some exceptions
Change-Id: I7356dfedc6121876641ef0e5f41d50db725980d4
2013-02-08 20:40:52 +01:00
Kohei Yoshida
709f6ba6ae fdo#59426: Don't try to repair package during flat detection phase.
Change-Id: I35968241a79db0aabe06e25c0efac2aa3d1c5b84
2013-02-04 15:38:50 -05:00
Chr. Rossmanith
be9d9fee66 RTL_CONSTASCII_(U)STRINGPARAM removed in comphelper
Change-Id: Ib068c06956bc9f04bb7c468375aacd2e6e9db77d
2013-01-31 10:21:07 +01:00
Chr. Rossmanith
69bb1336bf RTL_CONSTASCII_(U)STRINGPARAM removed in comphelper
Change-Id: I36bb19c123c1de54e04ba2e6c30b1cb0f7353047
2013-01-28 13:15:21 +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
Noel Grandin
abcbababca fdo#46808, Convert comphelper::MimeConfigurationHelper to XComponentContext
Change-Id: I74b4f0c4a84f02b218102405eaba24cf47f654ce
2013-01-15 09:56:03 +02:00
Noel Grandin
251f1b0b38 fdo#46808, Adapt embed::*EmbeddedObjectCreator UNO services to new style
The services already existed, it just did not have an IDL file.
Adapts
  com.sun.star.embed.OOoEmbeddedObjectFactory
  com.sun.star.embed.OLEEmbeddedObjectFactory
  com.sun.star.embed.EmbeddedObjectCreator

Change-Id: I8ba01c7fd956a46c87d02dc7d61bdd5fcdf21ab8
2013-01-15 09:56:03 +02:00
Markus Mohrhard
5dad4d7a23 correct indentation
Change-Id: Ibcbcb69c96e8bbd6bccc0f852240a2a6cef2c1c0
2013-01-12 05:34:08 +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
Noel Grandin
2f998bdf8f fdo#46808, use service constructor for embed::FileSystemStorageFactory
Change-Id: Ic523e4b0a662a68a1a222b7697fcdae56d69903c
2012-12-13 05:20:57 +02:00