summaryrefslogtreecommitdiff
path: root/xmlscript
AgeCommit message (Collapse)AuthorFilesLines
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl1-0/+1
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl4-0/+4
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava1-1/+1
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin2-92/+16
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-10-30Fixed typos. No automatic tools (sed, and so on).Andrea Gelmini1-1/+1
Change-Id: Ia43976d84eede6f699381bc4f3daf89b95e4cb4f Reviewed-on: https://gerrit.libreoffice.org/12150 Reviewed-by: Bryan Quigley <gquigs@gmail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin3-3/+0
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-01xmlscript: std::auto_ptr -> std::unique_ptrStephan Bergmann1-1/+1
Change-Id: I203b84180d3614a440b37af87223bbf5a6a0f21a
2014-10-01fdo#82577: Handle TimeNoel Grandin2-3/+3
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-16Rename LO-specific uno ini-file (Linux: program/unorc) to "louno"Stephan Bergmann1-1/+1
...to avoid confusion with the URE uno ini-file (Linux: ure/lib/unorc). It might even work to get rid of the louno ini-file altogether and fold its contents into the fundamental ini-file, but at least desktop/source/deployment/misc/dp_misc.cxx accesses the louno ini-file directly, so would need some inspection to avoid potential regressions. Change-Id: Ib49bbc4c814d677c22e68d2dd0f11af6d8423bb6
2014-09-12xmlscript: avoid accessing [0] of an emptry stringNorbert Thiebaud1-1/+5
Change-Id: I2ad756b07418d3eb93f48374cd7de3bc3db9ce29
2014-08-20ODF export: don't write invalid "group-name" attributeMichael Stahl2-3/+6
Radio buttons are grouped via their "form:name" attribute already. Change-Id: I9f8b27a2904d947c3d4665495d36961e3e41d2c6
2014-06-24new compilerplugin returnbyrefNoel Grandin2-8/+8
Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-05xmlscript: remove SAL_THROW macroNoel Grandin20-202/+67
Change-Id: Ic830c23d8696fde323dcf67697248a84658be2bf
2014-06-04update_pch: add a bunch of pch filesThomas Arnhold3-1/+96
desktop: 1m51s -> 54s framework: 1m55s -> 1m04s package: 32s -> 16s sdext: 1m31s -> 47s svgio: 32s -> 15s uui: 49s -> 20s vbahelper: 1m44s -> 27s xmlscript: 15s -> 10s xmlsecurity: 45s -> 23s Change-Id: Ia437969c091bf877983ababc5ea2d044bbc0bee0
2014-05-29fdo#68849: Add header guards to all include filesJens Carl4-0/+20
Added header guards to files in directories xml*/* Change-Id: Ia5dfb9ab494bfbfae7537f2d54ff11331dc8c922 Reviewed-on: https://gerrit.libreoffice.org/9539 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet1-4/+4
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin3-4/+4
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-22xmlscript: remove using namespace from headersThomas Arnhold4-78/+74
Change-Id: Ic3b355e732bcbecf020720752aadd70e0722b6f0
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold5-12/+12
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-04-14SCROLLABLEFRAME never definedThomas Arnhold2-6/+0
2014-04-11Clean up function declarationsStephan Bergmann5-30/+97
Change-Id: If482545f87a9b0c066f91639c55b73bee4d01b5c
2014-04-07xmlscript: sal_Bool->boolNoel Grandin4-10/+10
Change-Id: Ib784d23aa613dce80b786ecadb98cc2c3c278e33
2014-03-27xmlscript: sal_Bool->boolNoel Grandin2-5/+5
Change-Id: I5d0041283637dddeac86c50917d77c7e3d005b20
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann8-182/+182
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-21coverity#708728 Uninitialized scalar fieldCaolán McNamara1-6/+14
Change-Id: Ic5e22da988f762641daf4cc07f3b2bd0caba36f9
2014-03-21coverity#708730 Uninitialized scalar fieldCaolán McNamara1-2/+10
Change-Id: I464774697703b7143c3a6b0df88aa32745824394
2014-03-21coverity#708732 Uninitialized scalar fieldCaolán McNamara1-4/+8
Change-Id: I0e76926d25491f54b6552c5bc1d55c77e39318b0
2014-03-21coverity#708733 Uninitialized scalar fieldCaolán McNamara1-4/+8
Change-Id: I751be405978cfc4c13047033a71504353439145d
2014-03-21coverity#708734 Uninitialized scalar fieldCaolán McNamara1-5/+9
Change-Id: Icea7902268a362f35c16a22597f2c55d67eaa83e
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann15-370/+370
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from xmlscriptAlexander Wilms1-1/+1
Change-Id: Id984fe846f28eba50f0fd480dca235482d150dd9 Reviewed-on: https://gerrit.libreoffice.org/8347 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23Remove unneccessary commentsAlexander Wilms1-1/+1
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-18coverity#984352 Uninitialized scalar fieldCaolán McNamara1-0/+2
Change-Id: I871fcd02f461c798520a033217e14b3caa78876e
2014-02-06fdo#54938 Convert oox, sc, vcl, svtools... to cppu::supportsServiceAlexandre Vicenzi1-14/+8
Change-Id: I6268bc57417d53b9810c81071fbcd604e2a19507 Reviewed-on: https://gerrit.libreoffice.org/7886 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-01-28bool improvementsStephan Bergmann2-3/+3
Change-Id: I6caec041ce671aeeb9de86ea620774fb2e28f765
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann1-2/+2
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin1-1/+1
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-11-11xmlscript: include <> for external includesNorbert Thiebaud7-17/+17
Change-Id: I3921f93a5ec2d043ed25d7569297131c020c4e83
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl1-2/+0
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-22fdo#54938: Adapt supportsService implementations..Marcos Paulo de Souza2-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>
2013-10-19CID#1103755 unint membersCaolán McNamara1-2/+4
Change-Id: Ic6961e3f18aed2f271f80c69d17a5c34a0c9fa8e
2013-09-25sal_Bool to boolTakeshi Abe4-13/+13
Change-Id: I390b6b0d8e1c143a0d2e8f4f0a1ec80c2924942c
2013-09-23Try to fix cross-compilationTor Lillqvist1-1/+1
Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions. Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT. Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
2013-09-11Towards a working instdir for Mac OS XStephan Bergmann1-1/+1
Introduced gb_INSTROOT, which is the same as $(INSTDIR) except for Mac OS X, where it is $(INSTDIR)/LibreOffice.app/Contents. Most stuff ends up there (so most occurrences of $(INSTDIR) have been replaced with $(gb_INSTROOT)), but SDK- related stuff goes to $(INSTDIR)/$(gb_Package_SDKDIRNAME). (And GeneratedPackage needed to be made more flexible, to allow for packages that go into either of those two places.) For Android and iOS, gb_INSTROOT probably still needs to be set. The most obvious missing thing yet to make instdir work for Mac OS X is the instdir/*/LibreOffice.app/Contents/ure/ vs. instdir/*/LibreOffice.app/Contents/ure-link/ split. Change-Id: I4478edd27b14c92c96d92d5169bdca3ec50d78f5
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák3-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
2013-08-18Further work on the "Mac-like app structure" optionTor Lillqvist1-1/+1
Lots of stuff still either ended up in the wrong place, or was looked up from the wrong place, or both. Fix most cases. Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist1-1/+3
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-16fdo#57950: Remove some chained appends in xmlscriptJelle van der Waa2-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>
2013-08-12fdo#62475 removed pointless commentsJelle van der Waa23-703/+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>
2013-08-05Adapt Dialog XML import/export codeLionel Elie Mamane6-12/+116
to: commit 8ee69b0ba13f74d1515fac71df92947eb6328ab1 fdo#67235 adapt form control code to time nanosecond API change, step 3. Change-Id: I57b549c9c1379154173bb50463171a60ce35ca0c