Commit Graph

5970 Commits

Author SHA1 Message Date
Caolán McNamara
11265856c5 drop some tools/string includes
Change-Id: I83698b10c0c4fef1929d62be809ac7d77e9a3502
2013-10-20 12:03:50 +01:00
Caolán McNamara
984d10ca8d CID#1103675 use normal assert, as it's toast anyway
Change-Id: I065ce5f80f0c54443aca9378a653a9f25175feee
2013-10-19 19:16:33 +01:00
Caolán McNamara
9f8a3e7329 CID#1103676 use normal assert, as it's toast anyway
Change-Id: I47340d71b5f3af9c06556965f240fb084440ea27
2013-10-19 19:16:32 +01:00
Caolán McNamara
0c28b1d555 CID#703918 ensure buffer is null terminated
Change-Id: If7937abf1ea51578187269a48af58bdede569ed6
2013-10-19 19:16:31 +01:00
Caolán McNamara
e8c15a9c20 SetS only used once with constant values
Change-Id: I2223c22da5bee6d9f9741c96eafe4d65e15dcb55
2013-10-19 19:16:31 +01:00
Thomas Arnhold
67aec43915 cleanup
Change-Id: I7bfd221f89718ba8634417c93a26b3a199178694
2013-10-16 05:41:26 +02:00
Stephan Bergmann
21055f014c -Werror,-Wunused-variable
Change-Id: Ia3e6da86b47099106c4be793a1477979d327a2b9
2013-10-11 10:48:41 +02:00
Caolán McNamara
8254648828 CID#736174 yikes, sizeof(char[]) includes 0, so 4 not 3
Change-Id: Ia54ecab9e08485ebffe98dc064f328360c17a120
2013-10-09 16:59:52 +01:00
Björgvin Ragnarsson
f3123d396c EPS import: convert to BMP instead of PNG
This speeds up rendering of EPS figures by approximately 10%

Change-Id: Ie7d39bab4a7ea5f9350f989c25364f70bd8b8453
Reviewed-on: https://gerrit.libreoffice.org/6124
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-07 13:31:43 +00:00
Michael Stahl
96852a89da DXF import filter: fix OUString handling
The DXF import filter stores all strings read from the file in
char[DXF_MAX_STRING_LEN+1] arrays, and then calls OUString constructor
with that which then asserts because the string is actually shorter than
the size of the array... avoid that by converting from char* to OString.

Change-Id: I93c52788f88fe5d21968d450d029ed5db101d88b
2013-10-05 23:29:29 +02:00
Jan Holesovsky
ad7b757a25 'ist' -> 'is' here and there.
Change-Id: I0a463c38214b95582db2c7b3979367255426c14e
2013-10-04 20:27:30 +02:00
Jan Holesovsky
2997d7d10a HighLight -> Highlight.
Change-Id: I2db5102fbc441c0b79d8c28023f3e3bb5613b3cf
2013-10-04 11:23:10 +02:00
Matúš Kukan
f351a98565 gbuild: kill gb_XcuModuleTarget_get_outdir_target
Change-Id: I1d54d98b8aa50f778de87e6ebb17ec2eed0d65dc
2013-10-02 22:07:21 +02:00
Stephan Bergmann
2b06c5b34b -Werror,-Wunused-variable
Change-Id: Ib6ccb342f28d831e49be91ec6b6167f6ea5336b8
2013-10-02 18:49:07 +02:00
Tor Lillqvist
25bceaf767 WaE: unused variable
Change-Id: Ibaa2cecb60942a83b0ddaa699327607af7a22d85
2013-10-02 19:45:22 +03:00
Björgvin Ragnarsson
f5c3f5601a Improves fdo#41407: Make gs a higher priority than convert for EPS rendering.
This speeds up EPS loading on systems where convert is configured to execute
gs for conversion instead of using libgs. This seems to be how convert is compiled
on most linux distos.

Change-Id: Ibfc95bff11076d286b6ba210d2db2129ac0bb45b
Reviewed-on: https://gerrit.libreoffice.org/6009
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-02 14:57:10 +00:00
Stephan Bergmann
8d73ead2bc -Werror,-Wunused-const-variable
Change-Id: Ibec53c0e3565007be5d3379dad5c7c7678afc721
2013-10-02 16:49:38 +02:00
Michael Stahl
041d2b88a4 filter config: stop replacing %productname% / %formatversion%
... at runtime.  Hard-code these to OpenOffice.org 1.0, since nobody
will ever build a "StarOffice" or "StarSuite" any more.

Change-Id: I1785dea8dfd15a9384f9fecd92935a6043d995bc
2013-10-01 18:03:37 +02:00
Michael Stahl
664594651b filter config: another case of accidental OpenOffice.org XML rebranding
... but apparently only used as a fall-back.

Change-Id: Iebaf3d01a2eeb8aceef0168b2e1817cdd4cde5ab
2013-10-01 18:03:37 +02:00
Noel Grandin
2e767575c4 convert remnants of String to OUString in filter module
Change-Id: I83cea804b73d9219019354223bd2c966f52c5688
2013-10-01 10:08:43 +02:00
Noel Grandin
0d586f5b7e convert leftovers in filter module from String to OUString
Change-Id: If8954c39fec724066d46fe5d8c7e486d9bf6e955
2013-10-01 10:08:37 +02:00
Julien Nabet
9fb9b057d6 cppcheck: avoid possible division by 0
Change-Id: I8ff8e72d0d25168da374d752a18210cf764ed311
2013-09-27 23:32:53 +02:00
Andras Timar
7f436c1fd3 typo fixes in comments
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-26 11:47:45 +02:00
Jesús Corrius
7d491bec40 Everytimes -> Every time
Change-Id: Ib84cee7dbb493387760ce68c25ec442bf0a4a121
2013-09-26 10:37:00 +02:00
Caolán McNamara
5342cd7533 Resolves: fdo#66400 import combined characters from docx
move .doc combined character parser stuff from sw to filter for reuse in .docx

and fix bad length problem when nSavPtr == -1 after String->OUString conversion

thanks for the pasta CloudOn

Change-Id: I368ca30c14fd089271902b9b874de1099eb40038
2013-09-25 22:40:23 +02:00
Caolán McNamara
98de5b40c8 Related: fdo#38838 remove UniString::EqualsIgnoreCaseAscii
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-25 19:24:23 +02:00
Tor Lillqvist
4c63fd10a5 Try to fix cross-compilation
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-23 00:54:43 +03:00
Tor Lillqvist
19d7fd2c41 Sprinkle more boost_headers love
Fix compilation errors when not using system boost. Might be more.

It's sad that one has to micro-manage boost use like this.

Change-Id: I3541789530fbdb0fb03e2b355144e63f8b031097
2013-09-19 11:12:46 +03:00
Caolán McNamara
ed9a82918b this SUPD is wrong since the .res stopped getting versioned
Change-Id: I93e970902f4862fa895aa768cdcb72399a1997d8
2013-09-17 13:47:13 +01:00
Tor Lillqvist
6fbf0762ab WaE: private field 'nWidth' is not used
Change-Id: I855a92d55646eff1c79634a839726564bf973744
2013-09-17 12:45:01 +03:00
Noel Grandin
ed53efd9db convert remains of filter module from String to OUString
Change-Id: I87b1d2d944ba2b6e2e42adb2c948fff85ec021e1
2013-09-17 09:05:13 +02:00
Noel Grandin
9d2016516b convert filter/source/flash/swfwriter.hxx from String to OUString
Change-Id: I161a63399522cc92f833361195c2c86fdce18204
2013-09-17 09:05:05 +02:00
Noel Grandin
da57d51f12 convert filter/source/msfilter/eschesdo.hxx from String to OUString
Change-Id: Ie92f645bb55f4d9eb477074a685023a6f5274357
2013-09-17 09:05:00 +02:00
Noel Grandin
db4fb3b716 remove dead code
Change-Id: Ibaa30ae983ddff4d7c9c1e9f95abf7b44124d07d
2013-09-17 09:04:55 +02:00
Noel Grandin
baf80a0623 convert filter/source/svg/svgwriter.hxx from String to OUString
Change-Id: I60cc4a013bd7bb6cb3eadb163045577850d47b9b
2013-09-17 09:04:50 +02:00
Noel Grandin
d4f46e00a8 convert filter/source/msfilter/rtfutil.hxx from String to OUString
Change-Id: Ibcea731a84e9afb62c6ce0a0e6b70017e610dc45
2013-09-17 09:04:44 +02:00
Stephan Bergmann
5397b49f4d Towards a working instdir for Mac OS X
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-09-11 00:50:54 +02:00
Matúš Kukan
36a619e7e5 gbuild: bin obsoleted gb_Configuration__get_source
Change-Id: If6f125b83114643430fcc02a2ec7f59ab406da7b
2013-09-10 22:58:07 +02:00
Andras Timar
b4f8efc3bc typo fix: absoulte -> absolute
Change-Id: Ib728cb9bac3f42e17649685b4413b9335f2dc2c4
2013-09-07 15:59:10 +02:00
Bjoern Michaelsen
651f5f223b tests that ensure the master to be broken arent that helpful
Change-Id: Ie59f2ba4daec0375d1d64b765be3b1484e8cba3e
2013-09-05 20:28:44 +02:00
Michael Stahl
267ddb1c29 fdo#68552: try different build-time replacement
Replace the offending variable at build time in pyAltFCFGMerge.

Change-Id: Ie96d780eed8325c6f8399e78025345c0f0369856
2013-09-05 18:17:00 +02:00
Michael Stahl
791a8b96f7 Revert "fdo#68552: Don't (attempt to) do run-time expansion of build-time parameters"
This reverts commit ac4e19f908.

Unfortunately does not work if BUILDDIR is different from SRCDIR.
2013-09-05 18:17:00 +02:00
Caolán McNamara
a46fade2c1 CID#1078757 nOfs <= nPersistPtrAnz
Change-Id: Icf2729a4a7f8476d71d4609e060d3da2d172e7a8
2013-09-05 12:58:30 +01:00
Tor Lillqvist
ac4e19f908 fdo#68552: Don't (attempt to) do run-time expansion of build-time parameters
The $(share_subdir_name) things in the filter fragment .xcu files didn't
actually work it seems. But anyway, it's a bit silly to do expansion at
run-time of $(foo) things known at build-time anyway. Thanks to sberg for
pointing this out.

So just use the normal configury .in mechanism for these. Simpler.

Change-Id: I14b3e5cc5169b34df8a1d7ff07cc28452c67bcc8
2013-09-05 13:34:25 +03:00
Bjoern Michaelsen
3a021c00d9 fdo#68210 related: make other filters work again too
- see dc86610d16 for details

Change-Id: I6041ca10f58335187928995368db673c1ce22e7b
2013-09-04 16:55:22 +02:00
Bjoern Michaelsen
dc86610d16 fdo#68210: Make tiff import work again with merged-libs
- there was a symbol mismatch for dynamic loading
- while this fixes fdo#68210, similar fixes are likely needed for the other
  dynamically loaded functionality

Change-Id: I7e4d6baf256dbe7b145dcbc118b4cac2075e07f5
2013-09-04 16:37:25 +02:00
Jesús Corrius
6f667f7e5b dezimal -> decimal
Change-Id: I196026cc7f2f885664e9719557f662a32a7187b8
2013-09-03 21:09:04 +02:00
Philipp Riemer
bf42b6f9f5 fdo#62475 - remove visual noise
This is a follow up commit to
 - 22d1beb78a
 - 1c7af455ab

Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-31 22:41:10 +02:00
Caolán McNamara
b3b8427235 test case for CVE-2013-5575/EDB-27875
Change-Id: I43214c3ec840274f120730c1f80ef693859ddae7
2013-08-27 10:29:31 +01:00
Miklos Vajna
750f0ebf97 Introduce msfilter::util::findQuotedText()
This was in writerfilter, but we'll need it soon in sw as well, so move
it down to msfilter.

Change-Id: I8efe02b6bbe8f391d9e14857ed58dbae184d5632
2013-08-26 13:11:09 +02:00