Commit Graph

307718 Commits

Author SHA1 Message Date
Thomas Arnhold
de48c99f7e Remove some PCH traces
Is testhxx still useful?!

Change-Id: Ic7761214df4e3056c95f1b5dd8f1e3a2ce357d84
2012-06-22 11:05:01 +02:00
Miklos Vajna
c18ce7120e n#758883 test remaining issues
Change-Id: I0ec2570aab2fdc645638875b632d8a854fc00b94
2012-06-22 11:02:12 +02:00
Sebastian Spaeth
281a43d7e1 Remove commented code, superfluous comments and translate German
Remove commented out code, superfluous code comments (that did nothing
but restate the function name), and translate a few bits of German
comment to English.

This is v2, addressing Bjoern's comment (leave in public OOo bug
references)

Kept some more bug refs.

Change-Id: I9e94444bfe08db90befc3d038b01c94c85507afa
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-06-22 10:56:39 +02:00
Robinson Tryon
2f06cba97d fdo#43180: Use hyphen for copyright range in About box
A range of years is more clearly delineated with a hyphen than with a
comma.

Change-Id: I36a668b7e6ccecc210daa69de7948ad5c029f96d
2012-06-22 09:51:05 +01:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Lionel Elie Mamane
b2bb1d7f41 correct ODBC timestamp column size
Change-Id: I17255da6989df4ef01d874bbb318b8374d7dd5e0
2012-06-22 10:45:04 +02:00
Philipp Riemer
06395b802f cleanup of duplicated includes
After commit ec5fa0164b "replace all but one .hdl include with equivalent .hpp includes" some of these includes were doubled in the corresponding files. This patch deletes those duplicates.
2012-06-22 09:14:43 +02:00
Jonathan Adams
850e9faa2d icu: add patch for Solaris/GCC
Change-Id: I070b878b9275884e1ad0db3bb07483a3451682fb
2012-06-21 22:16:50 +02:00
Michael Meeks
ec5fa0164b replace all but one .hdl include with equivalent .hpp includes.
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21 19:28:47 +01:00
Noel Power
b326c1d728 some const correctness tweaks to various signatures in new formulabuffer
Change-Id: Ic6570608ac98c51438b583b7a75fa940b29b7473
2012-06-21 19:07:48 +01:00
Pierre-Eric Pelloux-Prayer
d212cbd96e fdo#51249 Disable stream copy when saving a file with 'Changes Record' active
Change-Id: Id06caa5d0552e4f3695244de4f6096f80885a783
2012-06-21 18:47:41 +02:00
Andras Timar
9f82f0dee9 add "Publisher Document" filter to drawing filters in file selector
Change-Id: Idbe935d4fa1a83f49db28c2dcb74a421ba22b822
2012-06-21 18:00:33 +02:00
Bjoern Michaelsen
fe49f23529 add helper script for gerrit CLI integration
Change-Id: I5705530ee4d5b93bc66ca23463098ac45f49323d
2012-06-21 17:51:19 +02:00
Andras Timar
ade85a43e1 fdo#51274 optionally associate Visio file types (vsd/vst) to Draw
Change-Id: I0362d758205e7d12484e9e86ff2dce9608730c57
2012-06-21 17:38:14 +02:00
Noel Power
75c789691b fix core dump setting preload value for some cell formula
this patch is a follow up to 6ea4e42eaa & 7fff98724b

Change-Id: Ia286164c369526acb4dfe733b651e65a79d124d8
2012-06-21 16:25:36 +01:00
Miklos Vajna
8616f227c7 kill copy&paste by introducing SwModelTestBase::parseDump()
Change-Id: I7cc3e05e48fc9850fbe04c6511f5e9f18a680ec7
2012-06-21 17:17:47 +02:00
Miklos Vajna
4cc2c691a9 sw/qa/extras: link to libxml2 in all tests
Change-Id: I6355b17042a42d44c7086f54b3efc6ba4d0c5d55
2012-06-21 17:17:47 +02:00
Miklos Vajna
6713b8d3ec n#758883 testcase
Change-Id: Ibcaf427849ef69f379e0d6e77f586d77e4d0c92f
2012-06-21 17:17:47 +02:00
Miklos Vajna
a208d96584 sw: include the height of SwNumberPortions in layout dump
Change-Id: I7c7d78c212683e47f726fc91d59c9c495b78641e
2012-06-21 17:17:46 +02:00
Caolán McNamara
c3f2401d49 reduce scope and replace some String::CreateFromAscii
Change-Id: I8c375e3bfbcd3d7046a8bdb1968934b7d7ca96f8
2012-06-21 15:07:52 +01:00
Caolán McNamara
3d506e8147 unused aName
Change-Id: I02b2775609a191c4cc1d411030b9e9e2f4079f8b
2012-06-21 15:07:52 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Miklos Vajna
f837c4288c n#758883 oox: anchor vml shapes without anchor info as at-character
w10:wrap was originally arrived to
writerfilter::dmapper::WrapHandler::lcl_attribute(), but
writerfilter::dmapper::DomainMapper_Impl::PushShapeContext() was called
already and set the anchor type. Fix this, then we can set a a suitable
anchor type in lcl_SetAnchorType() based on the type model.

Change-Id: Ib411450b10f29f814bc13d81eaec434971b2e52a
2012-06-21 15:09:26 +02:00
Sebastian Spaeth
e7bbaefa47 Remove commented out code
Remove old, already commented out code and useless code documentation
(basically restating the function names). Also translate the few Germany
comments in that file.

This file still lacks a good doxygen code documentation or a brief
description of what it actually does.

Change-Id: I339a01dbd4ea894be13293133b8dedbc55c2bbac
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-06-21 14:59:19 +02:00
Michael Stahl
1266480d38 Executable_oosplash.mk: fix typo in Solaris "socket" lib
Change-Id: Ic9338867a3bf9315f20fa02d7fdb1adda2db285a
2012-06-21 14:24:31 +02:00
Michael Meeks
2a2158c7ea re-base on ALv2 code.
Change-Id: I0cba9316e229362fa82a45d9e4d4763a6cf29540
2012-06-21 13:11:06 +01:00
Michael Meeks
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Michael Meeks
da6c3d4bdd re-work to test the effect of boost elision.
Change-Id: Idef032c08c097e04fcf0cae3d184ceb660b65949
2012-06-21 13:11:04 +01:00
Stephan Bergmann
0f12c5de67 Fix X Session Management support
...passing -session= into soffice was no longer supported.

The way I tested this with Gnome 3.4 (Fedora 17) is with:
* Run gnome-session-properties to select "Options - Automatically remember
  running applications when logging out"
* Create ~/.local/share/applications/lodev.desktop:
  [Desktop Entry]
  Exec=.../core/solver/unxlngx6/installation/opt/program/soffice
  Icon=libreoffice-startcenter
  Name=LOdev
  Type=Application
* Run "startx /usr/bin/gnome-session -- /usr/bin/Xephyr :1"

Change-Id: Id8a6e431e4c355caafa6c7111a435ebc0d35f78a
2012-06-21 13:26:04 +02:00
Radek Doulik
7279610bbd make sure we don't export shapes with negative size (fixes n#760997)
Change-Id: Id77cbfaa287d15c4af9a91976f3b091e68229223
2012-06-21 13:07:22 +02:00
Andras Timar
6af68b494d fdo#49919 Don't default to desktop pollution
Change-Id: I4b9fda0f81d43cab80a015a2eb7374a94f3da7de
2012-06-21 12:52:29 +02:00
Thomas Arnhold
5fcecf9b88 hrc cleanup: Remove unused defines
All of those defines (should) not be used at any point in the code.
False positives may exist, because some macro names are getting
generated by some template/macro foo. This is the version which
compiled fine for me.

Also there are many commented out lines removed.

Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-21 11:54:18 +02:00
Thomas Arnhold
47009fbf51 Remove unused dbexch.hrc
The only part where one definition was used was commented out.

All other definitions in the hrc file were unused.

Change-Id: I257e61b96271685e9321211846a0021059924abe
2012-06-21 11:54:18 +02:00
Ivan Timofeev
db053e48d2 fdo#34093: fix error in calculation of page number of SwRect
StringRangeEnumerator (i.e. user's input) contains page numbers in a different
page range (it excludes empty pages). So:
- first map page numbers to a common range, then compare
- user's input can't contain empty pages, remove this check

Change-Id: I4fce5215272fc90f39c9e05d3f3604734a8aebe3
2012-06-21 11:18:05 +04:00
Ivan Timofeev
5f690158d1 convert array to std::vector
Change-Id: I5e5bcebeb804256d0ad8cf6afafc392b2853b88f
2012-06-21 11:18:04 +04:00
Ivan Timofeev
df59e1d5bd no need to be a class member
Change-Id: I230e8972340b409c6da70a4c988ac1d531a9f3b5
2012-06-21 11:18:04 +04:00
Ivan Timofeev
1b7e9855d9 remove misterious NextToolbox functionality
Change-Id: Ic64d2cae56787884ff107b78c3b6567ab5d38785
2012-06-21 11:18:04 +04:00
Ivan Timofeev
5e0acb9022 so many code to just add a minimal border in the gallery
Change-Id: Id7349d1ff6547afe0f46404340b20132b97ce854
2012-06-21 11:18:03 +04:00
Andras Timar
c66efa24eb fdo#51270 fix RemoveExtensions custom action
FINDPRODUCT property was not available to this deferred custom action.
Not to mention that registry keys are also deleted at his stage of uninstallation.
The proper solution is to set the installation directory with a type 51 custom action,
and pass it to RemoveExtensions custom action via CustomActionData property.

Change-Id: I0ac18b3a0b19ff1a87bcf580fad9c7fdadb26f76
2012-06-21 09:15:24 +02:00
Michael Stahl
d3fe01de1e fix problems in 1015cd4ff7:
- inverted check in SwDoc::RemoveInvisibleContent
- various too short end positions in DeleteAndDestroy calls in
  SwDoc::~SwDoc and SwDoc::ClearDoc
- std::copy to begin() of empty vector in SwReader::Read replaced
  with std::back_inserter; the vector is used as a set here so the
  end position should work just as well

Change-Id: Ib2ddd788fade4ee1a8beb702d5321c503985fba4
2012-06-21 00:20:03 +02:00
Michael Stahl
38ebb2f94f don't link CppunitTest_sw_swdoc_test against sw
This test uses gb_CppunitTest_use_library_objects, and MSVC won't link
it now. Seems this was added in 1015cd4ff7,
but why?

Change-Id: I206132cf2b0c4075334ee7a692a12c54da9ac953
2012-06-20 22:41:47 +02:00
Noel Power
6ea4e42eaa gah :/ some cleanup for 7fff9872 that I applied to wrong source tree.
Change-Id: I91d84a7a8d8f18883798541e6a171ea91f135edb
2012-06-20 21:18:29 +01:00
Noel Power
7fff98724b big formula performance improvement for xlsx import (bnc#763168 & bnc#765942)
we get a large performance win by evaluating the formulas at the end of import where we can set up the ScAutoNameCache cache.

Change-Id: Id3763afb805eb9bfa9a6a55e1de3923f02e621ae
2012-06-20 21:01:13 +01:00
Michael Stahl
0e73f3cbe1 move ScNamedEntryArr_Impl out of header to make MSVC happy
Change-Id: Ia521752c4c71cc7df2bb7fc4659fcf6ec528e5bc
2012-06-20 21:33:42 +02:00
Michael Stahl
7092fc0300 adapt DBG_UTIL code to previous commit
Change-Id: I021b4d70a02de7a66e0af82a859ae89e1a7d1231
2012-06-20 19:46:40 +02:00
Noel Grandin
d69fdd1ed6 Convert SV_DECL_PTRARR_DEL(SwTableLines) to std::vector
Along the way, simplify a lot of the ForEach callback methods.

Change-Id: I54bc87c1060f1d73470ca8b7fd645ffa23059606
2012-06-20 19:46:40 +02:00
Noel Grandin
05d46a4a5a Convert SV_DECL_PTRARR(SwTOXMarks) to std::vector
Change-Id: Idffc8a90fcd4ada856339fc0be3e4a11478db6cc
2012-06-20 19:46:40 +02:00
Noel Grandin
36387c8c79 Convert SV_DECL_PTRARR(SwSttNdPtrs) to std::vector
Change-Id: If85e2bc65a99e4854d92454b3bfd40e436df2aa1
2012-06-20 19:46:39 +02:00
Noel Grandin
5baef2f4d8 Convert SV_DECL_PTRARR(SfxObjectShellArr_Impl) to std::vector
Change-Id: I9f26d380526c63a8b86b42a5b0b74a7cfff71249
2012-06-20 19:46:39 +02:00
Noel Grandin
af50c7d9ce Convert SV_DECL_PTRARR(SfxViewFrameArr_Impl) to std::vector
Change-Id: I3b6f41b97d1fc375985465ea9e5c0cca9e05ba10
2012-06-20 19:46:39 +02:00