summaryrefslogtreecommitdiffstats
path: root/xmlscript/source
Commit message (Collapse)AuthorAgeFilesLines
* xmlscript: include <> for external includesNorbert Thiebaud2013-11-116-16/+16
| | | | Change-Id: I3921f93a5ec2d043ed25d7569297131c020c4e83
* fdo#54938: Adapt supportsService implementations..Marcos Paulo de Souza2013-10-222-17/+4
| | | | | | | | | to cppu::supportsService Change-Id: I0b03d3910f094f2183bf9859db9d5bcaf35d1f14 Reviewed-on: https://gerrit.libreoffice.org/6370 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* CID#1103755 unint membersCaolán McNamara2013-10-191-2/+4
| | | | Change-Id: Ic6961e3f18aed2f271f80c69d17a5c34a0c9fa8e
* sal_Bool to boolTakeshi Abe2013-09-254-13/+13
| | | | Change-Id: I390b6b0d8e1c143a0d2e8f4f0a1ec80c2924942c
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-213-17/+40
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* fdo#57950: Remove some chained appends in xmlscriptJelle van der Waa2013-08-162-43/+9
| | | | | | | Change-Id: I7061f59077a75b879ad42179b839894747f5ba5b Reviewed-on: https://gerrit.libreoffice.org/5377 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* fdo#62475 removed pointless commentsJelle van der Waa2013-08-1222-691/+125
| | | | | | | Change-Id: I13e7eedaa5f0f116bd01834fc6db576c39350163 Reviewed-on: https://gerrit.libreoffice.org/5348 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* Adapt Dialog XML import/export codeLionel Elie Mamane2013-08-056-12/+116
| | | | | | | | | to: commit 8ee69b0ba13f74d1515fac71df92947eb6328ab1 fdo#67235 adapt form control code to time nanosecond API change, step 3. Change-Id: I57b549c9c1379154173bb50463171a60ce35ca0c
* Mark as constTakeshi Abe2013-07-221-1/+1
| | | | Change-Id: I2746b92b1360c3c181879a81f653c44ef609f351
* use static LanguageTag::convertTo...() for standalone conversionsEike Rathke2013-07-131-1/+1
| | | | | | | | If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
* write bcp47 format-locale if necessary and read bothEike Rathke2013-07-122-15/+23
| | | | Change-Id: I82cfdd8652d1c86b701ccb0b913928c860a360d2
* Introduce O[U]String::toUInt32Stephan Bergmann2013-06-132-2/+2
| | | | | | | | | | | | | | | ...which has become necessary since bd60d41176da540b01d7583cfe00637431967f39 "Handle oveflow in O(U)String::toInt() functions" reduces values in the range (SAL_MAX_INT32 .. SAL_MAX_UINT32] to zero, but some calls of toInt32(16) relied on getting a correct (unsigned) value for the whole input range ["0" .. "FFFFFFFF"] (see libreoffice-4-1 commit 9bf6c83367cedb7be81bf67f30d2147d26c7a8c3 "Revert overflow checks in O[U]String::toInt{32,64} again"). Audited all uses of toInt32/64 with non-decimal radix. (There is still a TODO comment in oox/source/helper/attributelist.cxx, and stoc/source/typeconv/convert.cxx will still need some love and test code.) Change-Id: Iadaca1c0e41dab553687d0ce41c20c10cd657a95
* remove unused componentcontext.hxx includesNoel Grandin2013-06-053-3/+1
| | | | Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
* fdo#46808, Convert various comphelper::ComponentContextNoel Grandin2013-06-051-4/+3
| | | | | | ..to regular XComponenContext Change-Id: I08f9092ae818db5c1e37880625b83607c860680b
* fdo#43157 - Clean up OSL_ASSERTRadu Ioan2013-04-088-84/+67
| | | | | | | | - replaced osl_trace with sal_info - added new log areas to log-area.dox Change-Id: I41444e90a22bad7d04d3827914d4d793b3601304 Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-079-52/+45
| | | | | | | | 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
* Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann2013-03-201-1/+1
| | | | | | | ...which is a confusing overload with unexpectedly different semantics from the one-parameter form. In preparation of marking it as deprecated. Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
* avoid Wundef for various FIXME, FEATURE_NOT_DONE_YET and what notLuboš Luňák2013-03-182-2/+2
| | | | Change-Id: I8e409ba63d32dca9a1c7f09d143165d1d702d642
* make use of startsWith()Thomas Arnhold2013-03-081-1/+1
| | | | | | | Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679 Reviewed-on: https://gerrit.libreoffice.org/2599 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
* loplugin: unused variablesThomas Arnhold2013-02-251-1/+0
| | | | Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
* loplugin: unused variablesThomas Arnhold2013-02-241-1/+0
| | | | Change-Id: I7fc203900256839e679bf73b717d121fedc42087
* fdo#46808, Adapt document::XMLOasisBasicImporter UNO service to new styleNoel Grandin2013-02-121-6/+4
| | | | Change-Id: Ic494847cf56c7661474d2a096dccc675780c9ce1
* fdo#46808, Adapt document::XML*BasicExporter UNO services to new styleNoel Grandin2013-02-111-6/+4
| | | | | | | | The services are document::XMLBasicExporter document::XMLOasisBasicExporter Change-Id: Ifd93e5735cae94d34904d79769cdb3edf587fe43
* fdo#46808, Adapt document::GraphicObjectResolver UNO service to new styleNoel Grandin2013-01-281-9/+5
| | | | | | The services already existed, it just did not have an IDL file Change-Id: I245f78c165dbfde11a981efd7033c5c282f4e8ad
* fdo#46808, Adapt util::NumberFormatsSupplier UNO service to new styleNoel Grandin2012-12-061-3/+2
| | | | Change-Id: I58436d9eea0c38d14cde2dc01aa463d5d71912e9
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-302-4/+0
| | | | | | | | | | | | This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
* targetted cleanup of misc. vba pieces.Noel Power2012-11-161-3/+3
|
* fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin2012-10-223-27/+7
| | | | | | | | Create a merged XWriter interface for the service. The xml.sax.Writer service already existed, it just did not have an IDL file. Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
* fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin2012-10-041-9/+2
| | | | | | | The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
* Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini2012-10-011-2/+2
| | | | | | | Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* remove duplicated codeLuboš Luňák2012-09-191-1/+0
| | | | | | | | Most probably not intended when introduced in 7c7267e88691ce354ed0cf116315952ceae555ad, and it certainly crashes xray installation for me. Change-Id: Ida64d4d2a706204989fc3c16d7487748747fb8fc
* disable scrollable Frame ( not working well )Noel Power2012-09-112-0/+4
| | | | Change-Id: I09dc7b656c7ff19b937936e0b8436022d287cc87
* get scrollbar details actually read for groupboxNoel Power2012-09-112-1/+3
| | | | | | <sigh> the display with groupbox is disappointing, there are many artifacts and the size of the area you actually need to scroll wrong, perhaps we actuall really need a proper groupbox Change-Id: Iba6ff62718728324a461806cef61ee6a6a438ddf
* add persistence support for the scrollable attributesNoel Power2012-09-116-0/+43
| | | | Change-Id: I6fc196233f997e540301cac2cdf1b99d48aa2bde
* Correct OUString check with proper startsWith()Olivier Hallot2012-09-071-1/+1
| | | | | | | | | | | This patch fixes an error introduced in c75af8578d921040e1baf8414edd7239969bcd45, with OUString::startsWith() introduced by Lubos Lunak in 095ffaf5efef5e8fdc4d7dfa8cd90fff7b768661 Thanks to Lubos and Kendy. Change-Id: Idcfb9ef59cfdf4c7b08193f5c137b985fa8b9965 Reviewed-on: https://gerrit.libreoffice.org/573 Reviewed-by: Jan Holesovsky <kendy@suse.cz> Tested-by: Jan Holesovsky <kendy@suse.cz>
* kill RTL_CONSTASCII_USTRINGPARAM in xmlscriptOlivier Hallot2012-09-0517-2849/+1434
| | | | | | | | | | Plus rtl::OUString cleanup Only on rebased files Change-Id: Icddaa20742cc45f08e5a48790447fcf8865f4bd6 Reviewed-on: https://gerrit.libreoffice.org/527 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
* simplify include guardsThomas Arnhold2012-07-143-3/+3
| | | | Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
* re-base on ALv2 code.Michael Meeks2012-07-1019-467/+270
|
* targetted rename xcr -> xmlscript to match includes and module nameMichael Meeks2012-07-092-1/+7
|
* re-base on ALv2 code.Michael Meeks2012-06-215-121/+76
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* targeted string re-workNorbert Thiebaud2012-06-011-12/+12
| | | | Change-Id: I1e47f90e387724e74312091e577f010fb16ca72f
* Targeted string re-work xmlhelp/xmlscriptThorsten Behrens2012-06-011-441/+441
|
* nuke unused typedefTakeshi Abe2012-05-311-1/+0
| | | | Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf
* removed unused temporary rtl::OUStringTakeshi Abe2012-05-211-1/+0
| | | | Change-Id: I81e04b1b71b8ee5a903185b6857e8cf91b67eed1
* Replaced a few equal calls with ==Szabolcs Dezsi2012-04-082-3/+3
|
* Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2012-04-063-14/+8
|
* Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2012-04-064-162/+162
| | | | | | Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
* Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2012-04-061-7/+7
| | | | | | Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
* removed duplicate #includesTakeshi Abe2012-04-041-1/+0
| | | | in vbahelper / writerfilter / writerperfect / xmlhelp / xmloff / xmlscript / xmlsecurity
* remove static OUStrings from static_initialization_and_destruction chainCaolán McNamara2012-03-281-7/+13
|