2306 Commits

Author SHA1 Message Date
Noel Grandin
746784e16f fdo#46808 Convert awt::Pointer to new style
Change-Id: Ic2ff491e656ab7bcf0bd5994b601818a26478243
2013-04-25 11:03:15 +02:00
Noel Grandin
a5f675c3d3 fix, forget SAL_CALL again
Change-Id: Ib13362c1a7aa7fa00e56c8df73f74ba1088999b5
2013-04-23 17:57:52 +02:00
Noel Grandin
1165aac95b fdo#46808, convert form::Forms to new style
Change-Id: I966ed18d45dc8a04c97a703d3c83382714025f2c
2013-04-23 16:05:56 +02:00
Miklos Vajna
8ed6f1c2bf forms: FORMS_CONSTASCII_STRING is no longer needed
Change-Id: I2b666f0e48db4c97cc4c641480a82681f5057ac2
2013-04-23 11:58:32 +02:00
Lionel Elie Mamane
dfcbc1e1af Data-aware ListBox: declare the newly supported External Binding Types
Change-Id: I5ab021f99373f24b6be2ca6db00fe8b6e69bc9cb
2013-04-22 21:54:21 +02:00
Lionel Elie Mamane
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
Lionel Elie Mamane
a2c54dc208 ListBox: take care of validation (use binding value when appropriate)
Change-Id: I7c2ab0e42a82baa39e1b48124cc8cf58bfa126d5
2013-04-22 17:55:55 +02:00
Lionel Elie Mamane
1e698bb7f1 Use (get|set)ControlValue instead of manipulating the property directly
Change-Id: Ice58cf4f67fae6a26548bae6569ae0c0993a7e84
2013-04-22 17:55:49 +02:00
Lionel Elie Mamane
1a19d12487 janitorial: alignment
Change-Id: I1e061635d496c54a0c948805dac968f0fb0c67f8
2013-04-22 17:55:39 +02:00
Lionel Elie Mamane
a16bb08013 Data-aware ListBox: add SelectedValue and SelectedValues properties
Change-Id: Id081e4f6bb765056f17babcfec52a1aedcd7b5d5
2013-04-22 17:55:34 +02:00
Lionel Elie Mamane
13a159896e janitorial: typo in comment
Change-Id: I5434b05a7980919773d017b5b450f5d3c2325551
2013-04-22 17:55:29 +02:00
Lionel Elie Mamane
f7be9c71d4 janitorial: typo in variable name
Change-Id: I0bc68e7a1f589e11f16bc539f49a323e64bd834f
2013-04-22 17:55:24 +02:00
Lionel Elie Mamane
0ed5028e8e Note on design philosophy of data-aware ListBox
Change-Id: I773c6b0704a31ab501cc51c6c7cd5e4be390a166
2013-04-22 17:55:19 +02:00
Lionel Elie Mamane
bfc0bf6a16 Data-aware ListBox: BoundValue==-1 to store index in list
Change-Id: I248cd5ec62574f47a27f8b37e1e90333b8748af2
2013-04-22 17:55:14 +02:00
Lionel Elie Mamane
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
Lionel Elie Mamane
3e1a0c9b2f Data-aware ListBox: populate ValueList even without bound field
Change-Id: I8742285778962b5be10f3aa300236efd525bdeb9
2013-04-22 17:51:41 +02:00
Lionel Elie Mamane
0202f9b7c4 assert non-nullness of interface before use
Change-Id: I467830dce80e97db1b20c6d589fb4ca407cfa26c
2013-04-22 17:51:36 +02:00
Lionel Elie Mamane
d198e7a1eb janitorial: typo in comment
Change-Id: Icc10f98e4153278d3e5bde33d0454675121306a7
2013-04-22 17:51:31 +02:00
Lionel Elie Mamane
64ef3bf0d9 janitorial: typo in comment
Change-Id: Icba805697caa6675339535b382fc4f24f86a94fb
2013-04-22 17:51:25 +02:00
Lionel Elie Mamane
24bdda09fb factorise common code
Change-Id: I53ee3b7c99205046b25f437480d26e484ac2c340
2013-04-22 17:51:20 +02:00
Marcos Paulo de Souza
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
Michael Dunphy
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
Stephan Bergmann
e8ff469da5 Remove any remaining remnants of unused component_canUnload feature
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-19 16:52:03 +02:00
Lionel Elie Mamane
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
Thomas Arnhold
c32b6be06b fdo#60724 correct spelling
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15 05:32:37 +02:00
Thomas Arnhold
435f5e30c9 fdo#60724 correct spelling
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-15 05:10:29 +02:00
Thomas Arnhold
60fbefc615 fdo#60724 informations -> information
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-15 04:49:39 +02:00
Luboš Luňák
ba044b1e96 remove needless forward rtl::OUString declarations
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07 14:23:12 +02:00
Luboš Luňák
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
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
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
Thomas Arnhold
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
Thomas Arnhold
2b7ee1db28 remove boilerplate comments
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-04-01 22:45:36 +02:00
Chr. Rossmanith
6591068f2a Remove RTL_CONSTASCII_(U)STRINGPARAM in forms(frm_strings.hxx)
Change-Id: Ic94187181b102b8d1623806027b857203c4b746f
2013-04-01 22:12:21 +02:00
Chr. Rossmanith
0502d66d88 Remove RTL_CONSTASCII_(U)STRING in forms
Change-Id: I5086a8ba9073e8ef2dfde0ecae55ee6065cb0253
2013-04-01 22:12:20 +02:00
Eike Rathke
5be14df244 ResMgr with LanguageTag
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-29 14:09:01 +01:00
Julien Nabet
b10fd86396 Prefer prefix ++/-- operators for non-primitive types
Change-Id: I7f536c136dff4c0d868055bf6400b6381750c988
2013-03-29 06:51:07 +01:00
Julien Nabet
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
Andras Timar
91aaceb727 fdo#39445 writing out tools/fsys.hxx (forms)
Change-Id: Iee0812ee098c3b7c12d297461907a2923bad2cc5
2013-03-27 08:31:16 -07:00
Stephan Bergmann
aa753f01ba -Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
Tor Lillqvist
2413a8edc2 Fix warning: unused variable 'sConverted' [loplugin]
Change-Id: I14a2d98c519b2eab6645eaf8b2dcdbccc7c36c2f
2013-03-25 23:58:12 +02:00
Tor Lillqvist
9325dca981 "atomar" is not a word
SCNR

Change-Id: I3aaa8d9b37423d44fe11f161cc21c0a77b466353
2013-03-23 12:30:56 +02:00
Stephan Bergmann
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
Thomas Arnhold
39d45390f4 removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms

Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 10:48:30 +00:00
Stephan Bergmann
4c0c23af21 Simplify equalsIgnoreAsciiCaseAscii[L] calls
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19 11:32:20 +01:00
Thomas Arnhold
8b27d78b4a automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
Done with a perl regex:

s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms

Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 09:00:26 +00:00
Thomas Arnhold
3991eaf556 reduce whitespaces between include and filename
Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
2013-03-19 01:26:45 +01:00
Thomas Arnhold
937b63af33 use startsWith() instead of compareToAscii()
brain damage...

Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
2013-03-11 11:07:09 +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