Commit graph

362431 commits

Author SHA1 Message Date
Matúš Kukan
87cb3a7c96 unusedcode: Remove Deflater::setLevel
Which makes bSetParams always false; remove that too, together with nLevel.

Change-Id: I94a4ec14b2b2c498d749ef72c1b6b118bba37076
2014-10-22 16:03:20 +02:00
Tor Lillqvist
8b292a29a4 Match also "debug" lines (for instance from SAL_DEBUG)
Change-Id: I2981a622205cca2dadfc6cb0007559b8270f3d5b
2014-10-22 16:52:35 +03:00
Maxim Monastirsky
ce59240410 fdo#85324 Prioritize writerglobal8_template detection
Change-Id: I0454b52dcfe1514f81ddfc97a4f9246d6d2571f7
2014-10-22 16:49:16 +03:00
Michael Stahl
816e5063b8 framework, unotest: do not override UserInstallation from environment
The PythonTest_dbaccess_python may fail in incremental builds because of
stale JVM path in workdir/unittest/user/config/javasettings_Linux_X86_64.xml
so it's better to use the fresh UserInstallation that is already passed
in from PythonTest.mk.  To make that work, tolerate non-existing path in
SubstitutePathVariables::SetPredefinedPathVariables() at least when
running in the build environment, which is probably better than
effectively running with "/" as UserInstallation anyway...

This partially reverts commit 6dbb6275eb.

Change-Id: I4d42d53c049056590662828360c4ce5a29af0f4b
2014-10-22 14:10:16 +02:00
Caolán McNamara
deb9dd0648 remove original and unused word for windows 1 filter
move fltshell.cxx into basflt and fire up the chainsaw for the rest

This filter has never, as far as I know, had a route to actually execute it
since day 0 of OpenOffice.org.

Change-Id: I35a92e2dee60bdc5d2d4e7181074bc4a3635b54c
2014-10-22 13:11:35 +01:00
Caolán McNamara
e8204fe4cb Resolves: ooo#40683 support word for windows 1
via the standard .doc binary filter

Change-Id: I0284fa815e6874d7d59ad1ad8ede4482d2e266a4
2014-10-22 13:11:34 +01:00
Caolán McNamara
1a2c28cf0d callcatcher: update unused code
Change-Id: I96b4d44e44389245f3ccc4a08198676461c6a38b
2014-10-22 13:11:34 +01:00
Stephan Bergmann
f5fc81616c Avoid unnecessary #include
Change-Id: I6ec5de40ce2f4cbcce751dcae16dae60abbc1a37
2014-10-22 13:14:43 +02:00
Takeshi Abe
294c80f1cd fdo#75757: remove inheritance to std::vector
from SwOLENodes, by typedef'ing it instead.

Change-Id: Idafdc69a4cf7629c8c82fab5f3472be3049dfeab
Reviewed-on: https://gerrit.libreoffice.org/12019
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-10-22 11:02:55 +00:00
Vinicius Vendramini
f73112e229 fdo#83991 - remove redundant function folding comments.
Change-Id: I630aeedc31099e11d4bd0e91a05943e926efd61e
2014-10-22 12:03:35 +01:00
Takeshi Abe
d19f950dc4 fdo#84168 change writerperfect filters to use a new base class template
in writerperfect/source/writer.

Change-Id: I8840f13b44aa1060dab9383583bdb1db4db70aaa
Reviewed-on: https://gerrit.libreoffice.org/12038
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-10-22 11:01:05 +00:00
Stephan Bergmann
4b89bd55b0 Speed up xmlreader::Span::equals
Change-Id: Id1613a100e96667717cc32f44f84c0916055ea01
2014-10-22 11:46:23 +02:00
Stephan Bergmann
d9f303a030 Remove unused FormulaToken::Is3DRef
Change-Id: Ib720bc4b3bfff8e428d14d65ff73144db82c60e0
2014-10-22 10:58:21 +02:00
David Tardon
e3ac30fe62 fix oox build on big endian
Change-Id: I580266d908e30ef076de0517f41a600f4c9372c1
2014-10-22 09:55:23 +02:00
Adolfo Jayme Barrientos
2a858a4443 Save precious vertical space by removing some redundant heading labels
Change-Id: I6aaa7602f57f6cb2d0f9bc3ee897a9c3576d47d3
Reviewed-on: https://gerrit.libreoffice.org/12012
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-10-22 07:51:33 +00:00
Miklos Vajna
9212cd18b9 sw: port two switchHeaderFooter() calls to DocxTableExportContext
These two APIs do the same, except that the previous doesn't handle
nested calls, while the later does, as it stores its state on the stack.

The idea is that once all calls to the previous are eliminated, we can
get rid of it, reducing code duplication.

Change-Id: I0162f3ab475e306734412b39d7166c4f0bc6cd7f
2014-10-22 08:52:22 +02:00
Tor Lillqvist
9ecac3874d Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTING
Feature test macros that govern conditional compilation should be
defined in config_*.h include files, not on the compilation command
line.

Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
2014-10-22 09:30:23 +03:00
Caolán McNamara
d0be09322d coverity#1242908 Untrusted value as argument
Change-Id: If9dd92c361d406c435329d29870dc8bb07a8ba7b
2014-10-21 17:23:17 +01:00
Miklos Vajna
29474c7a22 PythonTest_dbaccess_python: don't modify source document
Change-Id: I4e8f94554141e41863c474c5f99be4b1974f3dd7
2014-10-21 18:06:22 +02:00
Philipp Weissenbacher
c58c28d19b fdo#39468 Translate German comments - sw/source/core/{unocore|text}
Change-Id: Ib68eb94b296b002a8cd4e73dd6fd72a4f9d2f7d3
Reviewed-on: https://gerrit.libreoffice.org/12058
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-21 15:42:03 +00:00
Caolán McNamara
6cc11e591f true on success, false on failure
Change-Id: Iaba5f2634e985cf41d52bedcbf7ac1c060d02c1d
2014-10-21 16:30:07 +01:00
Stephan Bergmann
4492b1cf0c Remove dead CustomerNumber functionality
Change-Id: I221d3b9f0bf0f90a117fcf0caead52f2c31f7926
2014-10-21 17:22:55 +02:00
Stephan Bergmann
c35fec830a The only SID supported by PropExec/State_Impl is SID_ATTR_UNDO_COUNT
...apparently, given that the SID_ATTR_UNDO_COUNT entry in sfx2/sdi/appslots.sdi
is the only place that mentions those functions.  That reveals that all the
other SIDs mentioned there are completely unused.  (Also, there seems to be no
need to wrap the remaining PropExec/State_Impl functionality in #ifndef
DISABLE_SCRIPTING.)

Change-Id: Iea7a41aa323b7876d316794cebe962e6e086236d
2014-10-21 17:22:55 +02:00
Stephan Bergmann
16591b8ef7 SAL_WARN about unsupported dispatch requests
Change-Id: I3ee646258ed1419245a0766c79214102b08bbca1
2014-10-21 17:22:55 +02:00
Caolán McNamara
d1e9aa23a7 Resolves: fdo#83588 Revert "center slide after changing zoom"
This reverts commit b179235f70.
2014-10-21 16:18:45 +01:00
Yousuf Philips
7d9f02ccdb SIFR: add insert hyperlink icons from hyperlinkdialog icons
Change-Id: Idc02ca8c9faa8dfc05329bc1ef2807873590aabe
Reviewed-on: https://gerrit.libreoffice.org/12063
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-10-21 15:08:11 +00:00
Tor Lillqvist
2a6be90210 Flush output after each line
Change-Id: Id96ab8d9938725d780c475f2f892660f04448df1
2014-10-21 17:42:40 +03:00
Tor Lillqvist
fe2711dc10 WaE: unused parameters
Change-Id: I080677b1add4f82315ed063af2478c9e41d267ac
2014-10-21 17:42:39 +03:00
Stephan Bergmann
429af15f99 -Werror,-Wunneeded-internal-declaration
Change-Id: Id3c70202bd028bf7400419fcba5ba4217954acd5
2014-10-21 16:39:28 +02:00
Miklos Vajna
0796b30412 dbaccess: make sure fdo84315.odb.lck is removed after the test passed
Change-Id: I6c9a42625f10a3a30e2636a2a2be2b9bcba8f6af
2014-10-21 16:36:12 +02:00
Caolán McNamara
6b398581f3 Resolves: fdo#33598 don't show filter list any more
Change-Id: I4100600455f1cc48c6d8957dacfe232192895e50
2014-10-21 15:18:35 +01:00
Caolán McNamara
75ffeadb55 Related: fdo#33598 don't show filter list if there is only one filter
Change-Id: If31787ed84157cfb1c28710277fba747f96adc8d
2014-10-21 15:01:06 +01:00
Yousuf Philips
c69b48a420 fdo#83579 - 'Extrusion On/Off' should be added to Fontwork toolbar
Also hid 'Extrusion On/Off' button in the extrusion toolbar

Change-Id: I768ba62878039a18cad8294046b3ae84d762d91b
Reviewed-on: https://gerrit.libreoffice.org/12046
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-10-21 13:59:47 +00:00
Caolán McNamara
92360e7413 Resolves: fdo#84417 restore focus window after preview
regression due to changes of sd/source/ui/slideshow/slideshow.cxx
in cc5518ca61

commit cc5518ca61
Author: Steve Yin <steve_y@apache.org>
Date:   Thu Nov 28 12:09:19 2013 +0000
    Integrate branch of IAccessible2

Change-Id: I6b399d68c1f3ef32b702135b981100a23760569b
2014-10-21 14:35:27 +01:00
Yousuf Philips
7cfb805a82 fdo#84405 TRACK CHANGES: New icons for the changes toolbar (small)
Change-Id: I62a942dc525eea17115959533f0c9b06b85722c6
Reviewed-on: https://gerrit.libreoffice.org/12033
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-10-21 13:22:29 +00:00
Michael Stahl
820e64f966 connectivity: firebird: fix temp directory leak
Dispose the dbaccess document, and recursively delete the temp directory
in Connection::dispose().

Change-Id: Id283289e44b8ca09b88da19920da7f27b551aa7e
2014-10-21 15:08:57 +02:00
Michael Stahl
a2e4d4329b connectivity: firebird: use Reference for Connection where appropriate
ODatabaseMetaData and OResultSetMetaData apparently have life-times
independent of their creating object, so they need to own the
Connection too.

Change-Id: Idee28a96e318ca4b3d804084d609737a7fc75862
2014-10-21 15:08:57 +02:00
Michael Stahl
137131b1e0 connectivity: firebird: fix Connection leak in OStatementCommonBase
bin/refcount_leak.py was very helpful here.

Change-Id: I61dc57408cf1533f733c08b701884851ec6afb8d
2014-10-21 15:08:51 +02:00
Michael Stahl
666ec98b7e dbaccess: surely the problem is that the storage could _not_ be committed?
Change-Id: I03e7e09e185e9cb25868c86de0b402b89e7f5d75
2014-10-21 15:06:41 +02:00
Michael Stahl
ed45c87896 sc: fix temp file leak in ScTableSheetsObj
Change-Id: Iff838c97c1cf633f99e75a169eeb8bb324d4a32a
2014-10-21 15:06:41 +02:00
Michael Stahl
d7806edcba sc: remove duplicate test methods from ScTableSheetsObj
Change-Id: I4b0798a08f650660d1b5daaa41c7ee3618fbab3a
2014-10-21 15:06:41 +02:00
Michael Stahl
4548e98596 sc: fix temp file leak in ScTableSheetObj
Change-Id: If75573ffe565ec621aa6c9739cec71bc4b087c7a
2014-10-21 15:06:40 +02:00
Yousuf Philips
5dee00ee50 SIFR: fix issues color icons, control code icon, and large underline icon
Change-Id: Id2c795b7bdcf00a67ddacb2ea076967fbbefcb0a
Reviewed-on: https://gerrit.libreoffice.org/12053
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-10-21 13:10:00 +00:00
Stephan Bergmann
e73ee8db85 Remove unused SfxInterface::GetResManager_Impl
Change-Id: Ia9ad8072b07f0121af18377445c90480ff7c2600
2014-10-21 12:36:08 +02:00
Stephan Bergmann
5309cab855 Remove unused pSfxFormalArgs_Impl
Change-Id: I0c1e8c42fd03bd861323cbff172031f5405c1597
2014-10-21 12:36:08 +02:00
Caolán McNamara
a2f80c9436 Related: fdo#84676 make the undo popup not center under windows
Change-Id: Idef87a0ec74b7da4779a34ec2c18e7243eb328ac
2014-10-21 11:35:21 +01:00
Chris Sherlock
23cebb364b unotools: correct filename spelling - testGetEnglishSearchName.cxx
Change-Id: I9d8bc0b8d9257e8bd2453a0707081c134cc775c3
2014-10-21 20:22:41 +11:00
Caolán McNamara
fd92dffe05 add CVE-2014-4114 test
Change-Id: I4d195f5ff7f9dc12747a8748915e82ab06d770fa
2014-10-21 10:10:55 +01:00
David Tardon
166eaf213b conversion to double should not be necessary
Change-Id: I12ad83453b68077fe672576680b0cd5fd9acf49f
2014-10-21 10:54:43 +02:00
Caolán McNamara
a29301cf69 fix debugging build
Change-Id: I7264f670dd60f6121a23a4cb5524edc3bf1dcee7
2014-10-21 09:10:10 +01:00