5513 Commits

Author SHA1 Message Date
Thomas Arnhold
d2f57b6c12 fdo#43460: use isEmpty()
Change-Id: I47b35af71277fdda19767a553c960bf12164b92f
2013-03-09 20:32:40 +01:00
Thomas Arnhold
a2454a42ad fdo#43460: use isEmpty()
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
2013-03-09 20:32:39 +01:00
Stephan Bergmann
3912e47044 Work around -Werror=unused-local-typedefs from comphelper/stl_types.hxx
Change-Id: Id9f588e551b40a64bc86cae7c6d50f99659f94ab
2013-03-09 13:03:06 +01:00
Borim
a0296296fb fdo#60691 add modelines to *.src and *.hrc files
use solenv/bin/add-modulelines script for the task
and remove all UTF bom from *.src and *.hrc files

svx/source/dialog/hdft.src

Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-08 21:02:26 +00:00
Thomas Arnhold
6583305dd7 simplify compareTo (now correct)
Change-Id: Ia4fd2f54d0bda71d472f46949500c0b23ff8e1b7
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-08 13:04:13 +01:00
Stephan Bergmann
3d4723f80a Revert "simplify some compareTo"
This reverts commit 19020191cbf3e3c7a7bf98d0958d86d931ae687b,

  s1.compareTo(s2, length-of-s2)

is *not* equivalent to

  s1 == s2
2013-03-08 09:03:10 +01:00
Thomas Arnhold
19020191cb simplify some compareTo
Change-Id: Ib63cfac8b5f129f31534020fd634750e846e3b98
2013-03-08 05:42:05 +01:00
Julien Nabet
7146eaf9b3 coverity#984440: Use after free
Change-Id: Ia6d62ce5421d51fe4fc0128f60e9b39ab736276b
Reviewed-on: https://gerrit.libreoffice.org/2496
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-07 12:49:35 +00:00
Miklos Vajna
b4f8ab8881 extensions: get rid of no longer needed stringdefine.hxx
Change-Id: I53d8a164fe9333c286a04f88a0834feeecacd5ed
2013-03-07 11:14:57 +01:00
Noel Grandin
30caf94d81 fdo#46808, Convert ui::dialogs::AddressBookSourceDialog to new style
The service already existed, it just needed an IDL file.

Change-Id: I6b9a5a5fd02985bfdd29bb42f032265d0b5498c7
2013-03-07 08:23:41 +02:00
Thomas Arnhold
41e03a166e doubled using
Change-Id: Ib1d3213a688194bfb027b7bca5bd9ac1b7bb1b28
2013-03-05 12:34:33 +01:00
Peter Foley
b00254ab2a make lto work
Change-Id: Iab6892368c6ba6bb5b83132cdcd6aa959c3b0e1f
2013-03-04 17:58:53 -05:00
Caolán McNamara
cc71e03d3b audit GetParent harder wrt GetParentDialog
weed out assumption that widgets are direct children of Dialogs

Change-Id: Ib2cf0c8862bd5e82b13380634ed82ca7fcc746b8
2013-03-04 16:07:48 +00:00
Thomas Arnhold
33d6a7b2d7 doubled namespaces
Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
2013-03-04 13:58:40 +01:00
Thomas Arnhold
26e37ca4c7 doubled includes
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04 13:58:40 +01:00
Thomas Arnhold
5b04c9063c remove unused and commented out code
This code gets never called.

Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-04 11:34:07 +00: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
David Tardon
146d77fcd5 add missing deps on headers
Change-Id: Ia0dba8875fa7925f95911e11376d4d9175e0af2c
2013-03-03 09:28:26 +01:00
Markus Mohrhard
a050b17880 coverity#705648: fix memory leak
Change-Id: I1ba301831758f2ba05226588ec71b1a911d7bbba
2013-03-03 04:35:11 +01:00
Markus Mohrhard
fca5e0992f coverity#982975 and more: fix memory leaks
Change-Id: I4c147ea03eb4d5d7c926ec1cccbd344ff28c77d7
2013-03-02 06:52:00 +01:00
Markus Mohrhard
5ff1afbf1e coverity#982974: fix memory leak
Change-Id: I8501d26e0f0447b219ecbbdc9262f13158f5aa0a
2013-03-02 06:51:59 +01:00
Markus Mohrhard
f05ef81b31 coverity#982972 & coverity#982971: fix memory leak
Change-Id: I3fa44aa5651584c5a90d9e18c75d0c825fcf05fc
2013-03-02 06:51:58 +01:00
Michael Stahl
b0612be251 extensions: argh why can't that be formatted properly
Change-Id: I21a32877182dc84bd2291e87bdf49fa513835fc4
2013-02-28 23:39:42 +01:00
Luboš Luňák
2a601c5665 try harder when quoting for rc
Apparently the TYPELIB has problems with paths if they contain
some "special" characters like "-", unless it is quoted. It can't seem
to be able to concatenate quoted strings properly either. So build
up the whole filename in the makefile and quote/escape extensively for both
shell and rc.
2013-02-28 23:11:24 +01:00
Michael Stahl
25418b6ed9 extensions: m_nApplRegHandle unused now
Change-Id: I93c6d0e37306a9c8ac708124a6d21a7ce11810b8
2013-02-28 23:03:45 +01:00
Michael Stahl
ffa3735570 extensions: remove code specific to oleautobridge2
Change-Id: I88ecfceba0d08ef7136d6db49da1e62c61518d2b
2013-02-28 23:00:34 +01:00
Michael Stahl
5a68f57606 extensions: remove obsolete oleautobridge2 library
This library was never shipped with LibreOffice; presumably it is some
backward compat kludge for StarOffice versions older than 5.2 that only
shipped with StarOffice.

Change-Id: I5e07e14fde0f62814f4648b362f9e9333fd6c84f
2013-02-28 22:48:28 +01:00
Michael Stahl
2bb13b83e4 extensions: WinResTarget_activex: use absolute paths
This does not build from the top-level because it uses a relative path;
the command invoked from "make" runs in the top-level dir while the
command invoked from "make extensions" runs in the extensions/ dir, so
we have to use absolute path here.  Presumably the weird substitution
going on here is just a relic from the days when WORKDIR was variously
converted with cygpath.

Change-Id: I73a61699ec0394bd40e63864f3e9f566c7d28a32
2013-02-28 20:17:25 +01:00
Michael Stahl
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
Michael Stahl
936d7badcb cppu: new ZipPackage_cppu_odk_headers
Change-Id: I4ceee0ed3438a18e13c186ebd8d390604d26ec28
2013-02-27 01:33:18 +01:00
Michael Stahl
308cac3f23 sal: new ZipPackage_sal_odk_headers for public ODK headers
Change-Id: I76cb00121d7b4c21137be70ab7a5bd5389037302
2013-02-27 01:33:18 +01:00
Abdulelah Alarifi
278b976d4e Converted Insert -> picture -> scan -> select source widget.
Change-Id: Ic593056b43e145554b0d011e1547f3c4c098a508
Reviewed-on: https://gerrit.libreoffice.org/2061
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-02-26 13:33:50 +00:00
elixir
5269589ae4 fdo#38838,::rtl::OUString_to_OUString
Change-Id: I7c9ebd01c16ff066008e53de865560ad78215bab
Reviewed-on: https://gerrit.libreoffice.org/2330
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-25 13:00:14 +00:00
Thomas Arnhold
d5caf6898b loplugin: unused variables
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
2013-02-24 17:44:31 +01:00
Julien Nabet
bdace7b2aa coverity#982145 Buffer not null terminated
Change-Id: I5dd0050a0fbb5918da2d863998a7f24d9b144780
2013-02-23 22:53:11 +01:00
Julien Nabet
2dca0ccf07 Fix typo recieved/received
Change-Id: I0c838f5c06ff26149113a9bbab970d314758c648
2013-02-23 19:09:11 +01:00
Julien Nabet
7c7755473e Fix typo "teh" -> "the"
Change-Id: Iacfeb4a0c2bff254e5bcc8d58582994cd0f3993a
2013-02-23 15:28:55 +01:00
Thomas Arnhold
c4cc63badc sal: update log areas
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
2013-02-23 13:31:09 +01:00
Tor Lillqvist
616c6924f1 s/the the/the/
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
Tor Lillqvist
2926bd4d6b s/whith/with/
Change-Id: I23da81c182ad30faf871d98e55820295418207d0
2013-02-22 09:39:11 +02:00
Radu Ioan
ef1d096ddc fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT
- replaced osl_trace with sal_info
 - added new log areas to log-area.dox

Change-Id: Ib47c4b4c9604bca1f8a635dd01bb89702b47b591
Reviewed-on: https://gerrit.libreoffice.org/2010
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-02-19 16:02:40 +00:00
Tor Lillqvist
95e6a0885e Guard against unsigned ickyness for files less than 1024 bytes
Change-Id: I360fb8db35b36194c4f7ae08c93126e2a7bda853
2013-02-19 17:38:35 +02:00
Tor Lillqvist
b8da61acb2 Fix scan for central directory end signature in ODF in Spotlight importer
Once this was fixed it seems to work nicely. Add keywords in
File:Properties and they show up in Finder's Properties, and Spotlight
finds text from the document contents.

Change-Id: I203576a5a7e53ca3485b0a82f0c6d06122f361d1
2013-02-19 17:13:51 +02:00
Lionel Elie Mamane
7acc787052 Tweak properties ordering
That's so that heavily related ones stay together:
 PRINTREPEATEDVALUES
 PRINTWHENGROUPCHANGE

Change-Id: I90513da4ae9ce0798dec91e5057b112735c1cdc2
2013-02-19 12:35:03 +01:00
Lionel Elie Mamane
818b84eb15 property browser: respect property ordering
Consider the following situation:

Property Name     Property Order Index
-------------     --------------------
propA4                   4
propB5                   5
propB4                   4

And the loop goes over these properties in this order.
propB4 should be before propB5, but with the old code,
propB4 would be pushed after propB5: it asks for position
4, but as positions 4 and 5 are already occupied, it gets
pushed to position 6.

Remaining difficulty: properties from different
property index ordering series will be interleaved.
This should be solved at object model level;
ideally property order index should be unique,
at least within an object.

Change-Id: Ie235a4b22155df97df139f1dc354247845626620
2013-02-19 12:35:01 +01:00
Lionel Elie Mamane
1b2debf80a janitorial: indentation
Change-Id: Id21de98433f52c8659a3432c1c47354e18166f06
2013-02-19 12:35:01 +01:00
Tor Lillqvist
7c6b42851b Make sure MetadataImporterPluginFactory has external linkage
Otherwise, in a LO built with hidden visibility (as gcc terminology,
not ELF, Mac OS X does not use ELF), Spotlight won't be able to use
our importer.

Change-Id: Ie19082f9f14e4cc75ae6f7583031b929b7b75330
2013-02-18 21:44:14 +02:00
Petr Mladek
d77b25384b avoid space in the version of the update information provider
LO-4.0.0.3 sends "4.0 .0.3" to the server.

Change-Id: I2cda062778ac3632f89eb5c0d1cc85e57d8d1870
2013-02-18 11:31:02 +01:00
Julien Nabet
c83e10cf0a Fix conversion
to avoid error messages like:
error: could not convert ‘(const char*)"LocalFile"’ from ‘const char*’ to ‘const rtl::OUString’

Change-Id: I8b55049bd29c63b837f80b1562b9e8cd8324c603
2013-02-15 20:28:52 +01:00
Stephan Bergmann
ca0600f0c9 multiple unsequenced modifications to 'nPos' [-Werror,-Wunsequenced]
...solved by removing the nPos member and instead calculating the index on the
fly.  The difference is that old indices were before calling std::sort in
OPropertyInfoService::getPropertyInfo() while new ones are after, but that
should probably be OK per the documentation of
com.sun.star.inspection.XObjectInspectionModel.getPropertyOrderIndex (which
appears to be the only client of that functionality).

Change-Id: Id346bb219acbdad88ec43cf46feca8c37f2c7cf4
2013-02-14 17:59:43 +01:00