Commit Graph

2693 Commits

Author SHA1 Message Date
746784e16f fdo#46808 Convert awt::Pointer to new style
Change-Id: Ic2ff491e656ab7bcf0bd5994b601818a26478243
2013-04-25 11:03:15 +02:00
0c37eeebb0 Java cleanup, use generic containers where possible
Change-Id: Icd830004de3e121f5b96393e7d7b447775833419
Reviewed-on: https://gerrit.libreoffice.org/3569
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-24 08:57:57 +00:00
1cc9bbfd57 gbuild: drop empty use_packages calls
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f
Reviewed-on: https://gerrit.libreoffice.org/3503
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:18:15 +00:00
c042cd05e9 gbuild: drop uses of removed packages
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac
Reviewed-on: https://gerrit.libreoffice.org/3502
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:18:03 +00:00
a5f675c3d3 fix, forget SAL_CALL again
Change-Id: Ib13362c1a7aa7fa00e56c8df73f74ba1088999b5
2013-04-23 17:57:52 +02:00
1165aac95b fdo#46808, convert form::Forms to new style
Change-Id: I966ed18d45dc8a04c97a703d3c83382714025f2c
2013-04-23 16:05:56 +02:00
8ed6f1c2bf forms: FORMS_CONSTASCII_STRING is no longer needed
Change-Id: I2b666f0e48db4c97cc4c641480a82681f5057ac2
2013-04-23 11:58:32 +02:00
dfcbc1e1af Data-aware ListBox: declare the newly supported External Binding Types
Change-Id: I5ab021f99373f24b6be2ca6db00fe8b6e69bc9cb
2013-04-22 21:54:21 +02:00
567a4fcf02 Data-aware bindable ListBox new feature: bind *value*
As opposed to index in list or *display* string

Change-Id: I5fa74c80b28db843d45ee68523a4349ba44d229b
2013-04-22 17:56:00 +02:00
a2c54dc208 ListBox: take care of validation (use binding value when appropriate)
Change-Id: I7c2ab0e42a82baa39e1b48124cc8cf58bfa126d5
2013-04-22 17:55:55 +02:00
1e698bb7f1 Use (get|set)ControlValue instead of manipulating the property directly
Change-Id: Ice58cf4f67fae6a26548bae6569ae0c0993a7e84
2013-04-22 17:55:49 +02:00
1a19d12487 janitorial: alignment
Change-Id: I1e061635d496c54a0c948805dac968f0fb0c67f8
2013-04-22 17:55:39 +02:00
a16bb08013 Data-aware ListBox: add SelectedValue and SelectedValues properties
Change-Id: Id081e4f6bb765056f17babcfec52a1aedcd7b5d5
2013-04-22 17:55:34 +02:00
13a159896e janitorial: typo in comment
Change-Id: I5434b05a7980919773d017b5b450f5d3c2325551
2013-04-22 17:55:29 +02:00
f7be9c71d4 janitorial: typo in variable name
Change-Id: I0bc68e7a1f589e11f16bc539f49a323e64bd834f
2013-04-22 17:55:24 +02:00
0ed5028e8e Note on design philosophy of data-aware ListBox
Change-Id: I773c6b0704a31ab501cc51c6c7cd5e4be390a166
2013-04-22 17:55:19 +02:00
bfc0bf6a16 Data-aware ListBox: BoundValue==-1 to store index in list
Change-Id: I248cd5ec62574f47a27f8b37e1e90333b8748af2
2013-04-22 17:55:14 +02:00
52bc6737cd Data-aware ListBox: getCurrentValue should return *binding* values
As opposed to display values

Change-Id: I8afb52d69786702776f4e8d24390ba8ede417e92
2013-04-22 17:51:46 +02:00
3e1a0c9b2f Data-aware ListBox: populate ValueList even without bound field
Change-Id: I8742285778962b5be10f3aa300236efd525bdeb9
2013-04-22 17:51:41 +02:00
0202f9b7c4 assert non-nullness of interface before use
Change-Id: I467830dce80e97db1b20c6d589fb4ca407cfa26c
2013-04-22 17:51:36 +02:00
d198e7a1eb janitorial: typo in comment
Change-Id: Icc10f98e4153278d3e5bde33d0454675121306a7
2013-04-22 17:51:31 +02:00
64ef3bf0d9 janitorial: typo in comment
Change-Id: Icba805697caa6675339535b382fc4f24f86a94fb
2013-04-22 17:51:25 +02:00
24bdda09fb factorise common code
Change-Id: I53ee3b7c99205046b25f437480d26e484ac2c340
2013-04-22 17:51:20 +02:00
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
0f200cc30e fdo#63154: Change Min/Max/Abs for std::min/max/abs
Now all these usages were removed from LO.

Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6
Reviewed-on: https://gerrit.libreoffice.org/3326
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20 11:09:54 +00:00
c7d485d8fc Delete two pass-through include files and update the file that included them.
Change-Id: I6f02d312d1425dbb28b7cb7a2aa87a734054c4a7
Reviewed-on: https://gerrit.libreoffice.org/3474
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-19 14:52:36 +00:00
e8ff469da5 Remove any remaining remnants of unused component_canUnload feature
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-19 16:52:03 +02:00
0d8719b0ff Java cleanup, use generics in calls to UnoRuntime#queryInterface
A handful of places wrap the call to queryInterface. With a little
generics love, we can reduce the casting required.

Change-Id: I9efca2afb1b23fad2359af24e1c273aea96e45fe
Reviewed-on: https://gerrit.libreoffice.org/3433
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19 07:52:51 +00:00
d62425cc27 Java cleanup, remove unnecessary casts
Change-Id: Id12089bc7df16631737e6acaee0973fb91dd953f
Reviewed-on: https://gerrit.libreoffice.org/3431
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19 07:51:41 +00:00
9830fd36db date/time IDL datatypes incompatible change
- nanosecond precision
 - signed (allowed negative) year

Also: assorted improvements / bugfixes in date/time handling code.
Some factorisation of copy/pasted code.

Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18 21:34:46 +02:00
c32b6be06b fdo#60724 correct spelling
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15 05:32:37 +02:00
435f5e30c9 fdo#60724 correct spelling
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-15 05:10:29 +02:00
60fbefc615 fdo#60724 informations -> information
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-15 04:49:39 +02:00
ba044b1e96 remove needless forward rtl::OUString declarations
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07 14:23:12 +02:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
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
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
c893d404c6 Revert "Remove RTL_CONSTASCII_(U)STRINGPARAM in forms(frm_strings.hxx)"
This reverts commit 6591068f2a73252f4e3c9abf9b153a5b4f59410b.

The second parameter of ConstAsciiString is length.
2013-04-01 22:48:35 +02:00
2b7ee1db28 remove boilerplate comments
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-04-01 22:45:36 +02:00
6591068f2a Remove RTL_CONSTASCII_(U)STRINGPARAM in forms(frm_strings.hxx)
Change-Id: Ic94187181b102b8d1623806027b857203c4b746f
2013-04-01 22:12:21 +02:00
0502d66d88 Remove RTL_CONSTASCII_(U)STRING in forms
Change-Id: I5086a8ba9073e8ef2dfde0ecae55ee6065cb0253
2013-04-01 22:12:20 +02:00
5be14df244 ResMgr with LanguageTag
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-29 14:09:01 +01:00
b10fd86396 Prefer prefix ++/-- operators for non-primitive types
Change-Id: I7f536c136dff4c0d868055bf6400b6381750c988
2013-03-29 06:51:07 +01:00
089311bb3d coverity#704145 Resource leak in object
also cleaned up comments

Change-Id: Ia676d215cf8ef4830e31a1caf4153e33af84c200
Reviewed-on: https://gerrit.libreoffice.org/3071
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-28 13:03:19 +00:00
91aaceb727 fdo#39445 writing out tools/fsys.hxx (forms)
Change-Id: Iee0812ee098c3b7c12d297461907a2923bad2cc5
2013-03-27 08:31:16 -07:00
aa753f01ba -Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
ea360ff3ad add frm to Library_merged
Change-Id: I72fff5fe1fd26e618ffe89111471d95cd4d30852
2013-03-26 11:39:38 -04:00
2413a8edc2 Fix warning: unused variable 'sConverted' [loplugin]
Change-Id: I14a2d98c519b2eab6645eaf8b2dcdbccc7c36c2f
2013-03-25 23:58:12 +02:00
9325dca981 "atomar" is not a word
SCNR

Change-Id: I3aaa8d9b37423d44fe11f161cc21c0a77b466353
2013-03-23 12:30:56 +02:00
2d9ce9191d Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)
...which is a confusing overload with unexpectedly different semantics from the
one-parameter form.  In preparation of marking it as deprecated.

Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
2013-03-20 13:05:35 +01:00