Commit graph

323567 commits

Author SHA1 Message Date
Stephan Bergmann
e36a3f91ce -Werror=unused-macros
Change-Id: Ic44d85b0180612d499beec35e944402becd181a7
2013-03-27 14:07:53 +01:00
Stephan Bergmann
ce1cce54ec At least Mac OS X SDK 10.7 does not need that
(causes -Werror,-Wunused-macros, rather)

Change-Id: Ic8449c7794739033ddf1f6227f025ce4a0c899d0
2013-03-27 14:07:15 +01:00
Stephan Bergmann
6310424aff -Werror=unused-macros
Change-Id: Ia02ff34be9eff80fd8f9d76f034d76c3791342f2
2013-03-27 14:00:23 +01:00
Harri Pitkänen
da45a0e255 Remove HTMLMODE_FRM_COLUMNS and export column-count CSS attribute
For multi-column sections in Writer, HTMLMODE_FRM_COLUMNS controlled
whether column settings for the section were exported to html or not.
This was disabled for Internet Explorer and enabled for other browsers.

The export was implemented using non-standard MULTICOL html element
and did not actually work in any modern browser (apparently only
some versions of Netscape have ever supported this). This patch

 - exports the column count also using "column-count" CSS attribute
   which is supported by latest versions of Opera and IE. Firefox and
   Webkit based browsers would currently require -moz-column-count and
   -webkit-column-count but I have not added these since the browsers
   will likely stop requiring the prefix in the future anyway.
 - removes HTMLMODE_FRM_COLUMNS conditional so that this export will
   happen with all html compatibility options, including IE.

Remaining issue: Using the MULTICOL element (as opposed to DIV element)
confuses at least Opera so that it ignores all style attributes applied
on the element. But corresponding html import code in LibreOffice still
relies on MULTICOL. I will work on a separate patch to add support for
column-count CSS attribute to the import code and switch export to use
DIV instead.

Change-Id: I82a065fdda0e074fbfcd0007e6ff6e46185be3f5
Reviewed-on: https://gerrit.libreoffice.org/2950
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-27 12:50:50 +00:00
Stephan Bergmann
f544262309 MSC fixes
Change-Id: I5ea1e75a637e8f4fc51ff31321213267669f8bc9
2013-03-27 13:43:35 +01:00
Stephan Bergmann
3ec3f2fd5f -Werror,-Wunused-macros
Change-Id: Ia4560cd9726f64d85325c0bb28b7cff9774bc173
2013-03-27 13:39:36 +01:00
Tor Lillqvist
de8d12acf1 Use proper version numbers
Change-Id: Ib0284c3fe63636e42b2e72ab76b02a8197c837e0
2013-03-27 14:36:27 +02:00
Michael Stahl
d0c80826ba sfx2: TabDlg_Impl::pData is deleted twice
(regression from eb69f807c4)

Change-Id: I1752d60496a572152b571e871db818cf8c9264ed
2013-03-27 13:31:45 +01:00
Stephan Bergmann
5e55ac273c -Werror,-Wunused-macros
Change-Id: I8df5248894a91981192e531610dbb8a387483aa1
2013-03-27 13:32:06 +01:00
Norbert Thiebaud
0408f411f2 touch --no-dereference is supported on mac but as the short-option -h
Change-Id: I63fa0c24317f683b8eb2bc0b7a1b3ab1ea455866
Reviewed-on: https://gerrit.libreoffice.org/3050
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-27 12:24:18 +00:00
Bjoern Michaelsen
d588e1cf1d kill './logerrit review'
- twas more of a proof-of-concept anyway
- its more clumsy than both:
  - git-review https://wiki.documentfoundation.org/Development/GitReview
  - or simply using the web UI

Change-Id: Id7a11fcdaf95386c451d0e6421d32de7d1d02721
Reviewed-on: https://gerrit.libreoffice.org/3070
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-27 12:22:06 +00:00
Maxime de Roucy
54b5973ded unit test for fdo#62805
Change-Id: Iebc1a63496aaf54b9e459d0ed53db5cae49929ac
Reviewed-on: https://gerrit.libreoffice.org/3086
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-27 12:19:47 +00:00
Thomas Arnhold
32ec766659 fdo#62525: use cow_wrapper for FontAttribute
Change-Id: Ic07da7c7cf225a910e6f0fa4f6d20c4700e7ec7a
2013-03-27 13:17:40 +01:00
Maxime de Roucy
0bca4ccd54 use of aState instead of m_aStates.top in popState
Change-Id: I6814e48a92a1b24823c6884a151aa6a139410ff2
Reviewed-on: https://gerrit.libreoffice.org/3085
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-27 12:17:27 +00:00
Maxime de Roucy
1c4fb33d85 reformat of rtfdocumentimpl.cxx
Conflicts:
	writerfilter/source/rtftok/rtfdocumentimpl.cxx

Change-Id: If79fc70f5fb8f8e48358048c03a8d39be6b197fb
2013-03-27 13:14:58 +01:00
Thomas Arnhold
63da9d6328 fdo#62525: use cow_wrapper for FillHatchAttribute
Change-Id: I1581b4bca6f14bd27af12ff40a4f4c0fe08af133
Reviewed-on: https://gerrit.libreoffice.org/3073
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-27 12:12:31 +00:00
Javier Fernandez
6db890bfbb Ugly Hack: using our own WebConfigSet while the Topic stuff is not integrated.
Change-Id: I0df92af6b01e5eab99212bb1587f7165c70fd59b
2013-03-27 12:03:29 +00:00
Maxime de Roucy
8c9b05685f minor update in rtfdocumentimpl.cxx
Change-Id: Ie32166edbc3efb603ccb5e98d8c2cac66ecc2f47
Reviewed-on: https://gerrit.libreoffice.org/3083
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-27 12:02:47 +00:00
Maxime de Roucy
ea8602bd11 solve fdo#62805
move m_pCurrentBuffer to RTFParserState

Change-Id: Ied16ee1704d35c6bd0368b26a210131b60bc91a3
Reviewed-on: https://gerrit.libreoffice.org/3082
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-27 11:58:14 +00:00
Stephan Bergmann
cdf0f6cf2b -Werror,-Wunused-macros
Change-Id: I4df79952596b267a0e744a2b9a11a1e128624e74
2013-03-27 12:57:15 +01:00
Stephan Bergmann
787bdc61dd -Werror=unused-macros
Change-Id: I8548078dd6b9fc3555bfb5e23a683879ee3de3fa
2013-03-27 12:55:05 +01:00
Stephan Bergmann
6a6aa4b924 Missing #include "sal/config.h"
Change-Id: I5223b11089d038d5c3f6c086432a6b2a8fd119c8
2013-03-27 12:50:44 +01:00
Petr Mladek
4560c49c1e Bump android remote version to 1.0.6+, version code to 8
Change-Id: Id8585bbc7f44ef59a27271119bdb1df701b9692f
2013-03-27 12:41:53 +01:00
Tor Lillqvist
644cf72f7c WaE: macro is not used
Change-Id: I51ffa344e414d549daf642ad961e489a83b2be37
2013-03-27 13:31:17 +02:00
Tor Lillqvist
1c48417cf7 Bypass FuncData::getParamDesc() too in the DISABLE_DYNLOADING case
Change-Id: Ia115355af6e556fb848235691be68edd2462752d
2013-03-27 13:31:16 +02:00
Tor Lillqvist
0ac88c0bbc WaE: macro is not used: USE_LIBPNG
Change-Id: I900d4957d964332ef97cb389d17206438f94743c
2013-03-27 13:07:17 +02:00
Stephan Bergmann
e717c5b929 -Werror,-Wunused-macros
Change-Id: I083b936a6b20f070748c281d5814d5e57dedf864
2013-03-27 12:06:09 +01:00
Tor Lillqvist
ab7ac5884c Use <config_features.h> instead of -DDISABLE_EXTENSIONS
Change-Id: I4fe5cd27b77d44b9b33af0ae3c3754e3b85c2ca3
2013-03-27 13:02:22 +02:00
Thomas Arnhold
71907bb06a -Wunused-macros
Change-Id: Ia147a72a4bbd5cec45a2a74b721a81ff8c4340c2
2013-03-27 11:49:57 +01:00
Tor Lillqvist
6e9be7c8a3 WaE: macro "_STRING_H" is not used
Change-Id: Iabc3ab2d455a768f7af159490e0c26b694c01f34
2013-03-27 12:47:31 +02:00
Tor Lillqvist
6c8cdfe243 WaE: macro is not used: STACKTYPE
Change-Id: If20c7637d13f37029e447e779586fcfad21c3305
2013-03-27 12:45:47 +02:00
Stephan Bergmann
b2d2118f76 -Werror,-Wunused-macros
Change-Id: I3c43fcfe7216a833f1dbe298098b72de52f0f155
2013-03-27 11:44:46 +01:00
Stephan Bergmann
c1ea7a2fb4 At least Mac OS X SDK 10.7 doesn't experience TimeValue clash here
(causes -Werror,-Wunused-macros, rather)

Change-Id: I1dc05a5cf73aec7827df662342f5d9189215e64e
2013-03-27 11:44:45 +01:00
Fridrich Štrba
5a88a8193a HanMac J import is really really initial :)
Change-Id: I86e450326e5a0ae5499ec2f4ebdc5bcb9ca68390
2013-03-27 11:43:13 +01:00
Tor Lillqvist
f8e1b64c52 WaE: macro is not used: _MATH_H weirdness
Change-Id: I283767ba44012a740d49f1b8d9d1f6bf80d8b664
2013-03-27 12:41:57 +02:00
Muthu Subramanian
c0518f245c n#734735: [PPTX] Use number format, if available, for charts. 2013-03-27 16:22:17 +05:30
Stephan Bergmann
b8e68951d5 -Werror=unused-macros (Android)
Change-Id: Ibd06e49e78a6d6a69521a65b53b056e85b64765b
2013-03-27 11:31:12 +01:00
Tor Lillqvist
a429142bfb WaE: macro "RUNNING_ON_VALGRIND" is not used
Change-Id: Ie60882c86008506a331087a241f15e931c5eacee
2013-03-27 12:19:34 +02:00
Tor Lillqvist
f241e2b0c7 WaE: macro is not used
Change-Id: I5feb344a98465e5bd85e233cb4bb4b34c93344dd
2013-03-27 12:19:34 +02:00
Stephan Bergmann
a21266f223 Use explicit "SHELL=/usr/bin/env bash" in Makefile.in after all
...instead of "SHELL=@BASH@" from d3f7d05d1b
"Clean up OOO_SHELL" which could expand to SHELL=/bin/sh which, at least on
Mac OS X 10.7 with /usr/bin/make 3.81, could apparently lead to recipe lines
calling ooinstall being directly exec'ed from make and failing to find ooinstall
in solenv/bin, instead of going via the shell and taking into account PATH from
included config_host.mk.

Change-Id: I841dc30f72d1d8841c64f48408a669eb6a37a1f3
2013-03-27 11:16:36 +01:00
Petr Kraus
00e9accbc5 fdo#42781 WaE: unreachable code
Encapsulate whole switch case code by #if
so it does not produce unreachable code when TRUE
Also found second occurence in function overload.

Change-Id: I2f726b4e9cad56850ce360e48f96f45137befe96
Reviewed-on: https://gerrit.libreoffice.org/3066
Reviewed-by: Christoph Brill <egore911@gmail.com>
Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz>
Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
2013-03-27 10:10:21 +00:00
Stephan Bergmann
3c2010e77e -Werror=unused-macros (Android)
Change-Id: I7b88ff1a8c53fbb875d5cb84060c726fd7d06c9c
2013-03-27 11:06:28 +01:00
Stephan Bergmann
7f52bb5ed4 Hopefully _BSD_SOURCE not needed anywhere for MAP_ANON
(-Werror=unused-macros on Android)

Change-Id: I393face32e7d4782b5c8037fa8ebeb21ec3c6e7a
2013-03-27 11:05:01 +01:00
Miklos Vajna
b4845db426 fdo#30983 RTF filter: fix handling of RTF_PVPG and RTF_PHPG
There were two issues here:

1) The export filter never exported these keywords.

2) The "flymaincnt" RTF extension we inherited from OOo actually never
worked (i.e. it's like this since 7b0b5cdf, the initial import...), as
RTFVertOrient / RTFHoriOrient's second parameter was stored in 1 bit, so
text::RelOrientation::PAGE_FRAME (7) was read back as 1 instead.

Note that I want to get rid of this flymaincnt extension in the exporter
anyway soon, so killing the RTFVertOrient / RTFHoriOrient duplication is
pointless: the sw version will go away.

Change-Id: I5335567833ecf87e6b0ba7c73150a7b95c57f237
2013-03-27 11:02:59 +01:00
Tor Lillqvist
79863bd454 WaE: macro is not used
Change-Id: I1a063d7ffa1ab051fe4c3d57f4c8c33d4cd3fe87
2013-03-27 11:58:22 +02:00
Tor Lillqvist
a8c3c673ea Use <config_features.h> instead of -DLIBO_FEATURE_*
Change-Id: Idc198beb6d759dbe3bad6ea58d896c1555b4cc0f
2013-03-27 11:36:03 +02:00
Tor Lillqvist
556fe2c612 Add config_features.h platform or configurable high-level features
Defines HAVE_FEATURE_{DESKTOP,HELP,MULTIUSER_ENVIRONMENT} for
now. Using <config_features.h> will supersede checking the
LIBO_FEATURE_DESKTOP and LIBO_FEATURE_HELP passed on the compilation
command-line.

Change-Id: I9866e2fd142f5c1a64c8f5c74452a20de23c66e3
2013-03-27 11:36:03 +02:00
Tor Lillqvist
f174c972ac .gitignore already ignores config_*.h
Change-Id: I97e9fa6e8ad45a0cd07926d1f6d33652d9dd332c
2013-03-27 11:36:02 +02:00
Andras Timar
49a89c84db stop uninitialized memory leaking into resource files.
Change-Id: I8659426dd4ea0c13c8ed839ef5cfb686e6648042
2013-03-27 02:24:25 -07:00
Stephan Bergmann
50bab8605e -Werror=unused-macros
Change-Id: I3c64ed78577988767a7da859e68a7f63f890f7dc
2013-03-27 10:21:38 +01:00