Commit Graph

342635 Commits

Author SHA1 Message Date
Caolán McNamara
db72a45a1b coverity#1158493 Uninitialized scalar field
Change-Id: I26de8ab1fa4a20bc08e800f04716507469430612
2014-01-23 16:02:11 +00:00
Caolán McNamara
78ea0133f2 coverity#1158514 Unused pointer value
Change-Id: I8eca4e262d374b78017b9e0037d7be70a7e2bd6f
2014-01-23 16:02:11 +00:00
Tsutomu Uchino
65464fdf04 Resolves: #i123626# change default for paste special dialog of Calc...
to Text, Numbers and Date and time

(cherry picked from commit 6abcfea44da2811940578f248080951eb320420f)

Change-Id: I879f77ebbeb9486467e2a5740793d96d7a0600bb
2014-01-23 16:02:10 +00:00
Caolán McNamara
ebf5e613a5 SfxNoLayoutSingleTabDialog not needed anymore
all single tab dialogs are .ui enabled now.

So now we can remove SfxNoLayoutSingleTabDialog and merge SfxSingleTabDialog
and ~SfxNoLayoutSingleTabDialogBase together

Change-Id: If0acc792d85b7d399572257d7e9b0e12993ba3fe
2014-01-23 16:02:10 +00:00
Tor Lillqvist
976ccb9374 Typo
Change-Id: Id95e261bdd5b34e1c412f2a7be39f8cc4a89ead7
2014-01-23 17:48:54 +02:00
Stephan Bergmann
1e54386411 "Official" TDF Mac builds are done w/o ext-wiki-publisher
...since LO 4.1.3, cf.
<http://lists.freedesktop.org/archives/libreoffice/2013-October/057006.html>
"minutes of ESC call ...," and the underlying issue (Java extension's Addons.xcu
causing JVM instantiation upon start of Writer on Mac) has not been addressed
since, and Norbert confirmed on IRC that he did the disabling by locally
specifying --disable-ext-wiki-publisher on the build machines and continues to
use that configuration for all builds since (LO 4.1.4, 4.2.0, 32- and 64-bit),
so better reflect that directly in distro-configs.

Change-Id: Ib40588a5a6e49f7b9f58df8f1f4eb146de003444
2014-01-23 16:26:56 +01:00
Stephan Bergmann
8f14c896cd bool improvements
Change-Id: Idaa24320585f3d2e3ca50c82b1a34fc2c523e56e
2014-01-23 16:24:47 +01:00
Maxim Monastirsky
cc2893834d related: fdo#73682 Introduce HTML detection service
Change-Id: I66bb579019ce8411b821c623955a454fd81cf811
Reviewed-on: https://gerrit.libreoffice.org/7600
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-01-23 14:49:22 +00:00
Miklos Vajna
6063555744 drawingML export: fix position of shape in case rotation is 180 degrees
This is the other case when position shouldn't be adjusted.

Change-Id: I9265bf1c762fd519e3a12e97d767b5d213644e6d
2014-01-23 15:30:11 +01:00
Caolán McNamara
30a561c008 Updated core
Project: help  62b18032fcaa27d61f2228a02750f49d62891cf1
2014-01-23 14:11:27 +00:00
Caolán McNamara
bb250c5832 remove dangling old sfx2 copy of macropg.hxx
Change-Id: I9a1e2d9b3c526e70fb1c598198e399d2f854761b
2014-01-23 14:11:01 +00:00
Caolán McNamara
8e885d747a drop now unused hids
Change-Id: I1637b65b96f3ac74cd6d393b046442814c101865
2014-01-23 14:11:01 +00:00
Caolán McNamara
95beca723e make event assign dialog horizontal
Change-Id: Iea4d43b8f3dc52b4ec77a145347552bbcf09f062
2014-01-23 14:11:01 +00:00
Caolán McNamara
df942dcf9d convert event assign page to .ui format
Change-Id: I99312fdba95a868c836af6452abec31565f2d067
2014-01-23 14:11:00 +00:00
Caolán McNamara
272bc403e0 rename SfxConfigFunctionListBox_Impl to SfxConfigFunctionListBox
Change-Id: I753744adf106d515abdc5caf2b29c53962aeae71
2014-01-23 14:11:00 +00:00
Caolán McNamara
22a8a96bc5 rename SfxConfigGroupListBox_Impl as SfxConfigGroupListBox
Change-Id: Id2e25b5feecc0bab5b4e926e5fe44320979d89ba
2014-01-23 14:11:00 +00:00
Armin Le Grand
fb0cce507f Resolves: #i123950# unified and redefined CropPrimitive2D::get2DDecomposition
(cherry picked from commit 08d42c4da0a3f6dc105080102c1b1de4bce987a1)

Change-Id: I2d5f52de8e9fa595012a953affbaba9d54f4f2a9
2014-01-23 14:10:59 +00:00
Tor Lillqvist
55d2f55ddf Add objface.cxx
Change-Id: I2444acf09b3108c1a79658f0954bb9481c8fad0c
2014-01-23 15:18:21 +02:00
Tor Lillqvist
8b9536f61a Add cppuhelper sources
Change-Id: I47545d0592348f585c23e3c6be079e0ed664d706
2014-01-23 15:18:13 +02:00
Stephan Bergmann
7abe546e81 bool improvements
Change-Id: I3a3a2122902e1731e95d8469dfe9efc5a6b567ee
2014-01-23 13:40:46 +01:00
David Tardon
12546c8511 regression since fdo#70553
Since there was no explanation why this change had been made, I have
reverted it.

Change-Id: I3bf3428d960bf99d4c242d187bf1e2bf62e71aaa
2014-01-23 13:39:53 +01:00
Tor Lillqvist
f313d63bc5 WaE: Fix bool sillyness
Change-Id: I4aeb9204a6a5ab79954b3a8ccadf58362f0f43d2
2014-01-23 14:22:33 +02:00
Bjoern Michaelsen
1c3f994c51 smoketest cant work without extensions
Change-Id: I58af85205cce89c2eff3db24a477171ce39d47dc
2014-01-23 12:55:09 +01:00
Bjoern Michaelsen
b5e988ffc1 make unittest failure foo a script
- first of all, code from CppunitTest.mk used from PythonTest.mk is bad
  anyway
- also, this shortens and removes noise from the commandline executed

Change-Id: I6c5b41a0c497b766c3293aeec5c59240aa3ef37c
2014-01-23 12:55:09 +01:00
Armin Le Grand
62c2022ba7 Resolves: #i123983# Corrected Graphic Metafile fallback creator
(cherry picked from commit b5797deea72476fbcec4315f1f18249fd39bbaea)

Change-Id: I4d09592cd9e4b86445d048fb875e7bc13b03801d
2014-01-23 11:30:17 +00:00
Caolán McNamara
235723e5eb Updated core
Project: help  ffb2ed136796922df0b2aa60787ddd2ace3e71ec
2014-01-23 11:30:05 +00:00
Caolán McNamara
121b8691b3 adjust macro assign dialog to have horizontal buttons
Change-Id: I9acb9a85f7172e492818fecea73f64a2a1071a4b
2014-01-23 11:16:00 +00:00
Caolán McNamara
39366b11bf convert macro assign page to .ui
as seen in calc->right click on tab->sheet events

Change-Id: I4df1e1c7f79f4f6431905bfc286a0f9d214ccf6c
2014-01-23 11:16:00 +00:00
Matúš Kukan
89b0017b22 fwk: Use constructor feature for one instance PathSettings.
Change-Id: Iaa01abc9f604d8f9e6f762e3340f9468e19f4848
2014-01-23 11:41:29 +01:00
Matúš Kukan
22832569e1 Do not acquire again in direct constructor function calls.
Missing in c2c530da69 "Introduce static
inline cppu::acquire(), and make use of that."

Change-Id: I4a856eeaff1fce3f429c62c1897fe3898371d1ec
2014-01-23 11:41:29 +01:00
Matúš Kukan
747ef9b682 framework: Bin unused source files.
Change-Id: Ifd9d9b7237d148c4bc0d3abd787983f27e2104f8
2014-01-23 11:41:28 +01:00
Matúš Kukan
a69875fbfc Experimental direct constructor calls for more services.
Change-Id: I18f56b674088d750cf06a409e547a7f59be22d61
2014-01-23 11:41:28 +01:00
Chris Sherlock
826502c749 Remove unnecessary verbiage.
Change-Id: Icf0230577a5458425f22579e8d17f69c53310812
Reviewed-on: https://gerrit.libreoffice.org/7608
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-01-23 10:14:23 +00:00
umeshkadam
896714db52 fdo#73546 : faulty value of attribute value in <wp:anchor> tag
Issue :
    - The margins for distL & distR were getting exported as a negative
      value viz ( distL="-635" distR="-635" ).
    - While setting the default frame properties the values for distL
      & distR were getting defaulted to -1, this value was further
      considered while exporting for calculations hence the value
      -635 used to appear.

   Implementation :
    - according to Ecma 20.4.3.6 the values of distL & distR should
      be positive.
    - Added a condition to check the negativity of the value while
      setting it to default.
    - observed that horizontal orientation values were being populated
      to distT & distB( top & bottom margin respectively) and
      vertical orientation values were being populated to distL & distR
      (Left and right margin respectively). The values should have been
      vice versa. Corrected the same.

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7501

Change-Id: I056e5845b64cd755429297899eeb972f6009efec
2014-01-23 11:05:55 +01:00
Alexandre Vicenzi
4bdf9a0247 fdo#63154 Removed unused solar.h reference
Change-Id: I6b2f9e04e2232570c8bb9f36252b23a70c5f7525
Reviewed-on: https://gerrit.libreoffice.org/7604
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-01-23 09:48:42 +00:00
Chris Sherlock
99dafea3e5 Move defines into settings.hxx
For some unknown reason, there are a bunch of defines in the middle of
Desktop::SystemSettingsChanging() that should really be in
include/vcl/settings.hxx. I have now moved DRAG_OPTIONS_ALL into
settings.hxx but entirely removed DRAG_OPTIONS_NONE because it is
confusing. I also removed it in the one place this combination of options
is used in the Desktop class.

I have also removed the options DRAG_OPTIONS_OBJECT_* from settings.hxx
because they are used nowhere in the code. I have carefully looked
through the code and nothing flips bits 0x00000004 or 0x00000008 on
the private member of ImplStyleData's mnDragFullOptions in any way.
Basically, it is safe to remove.

Change-Id: Icf6268f940cfaed271bd43c977473fecfc726949
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-01-23 10:37:30 +01:00
Chris Sherlock
a9f0b3bd33 Document more of VCL's Application class
* Documented the Application class's settings functions. When
  reading through the code, I have noticed that GetSettings
  intializes the application settings (!) and that SetSettings
  relies on GetSettings to initialize the settings (!), so I
  have listed a todo entry.

  Furthermore, I've also noticed that SetSystemSettings and
  MergeSystemSettings may be confused with the purpose of
  SetSettings so I've added a todo entry that recommends that
  we return an AllSettings object and make the parameters const.

* Minor whitespace changes

* Update @see for a number of public functions

* Group functions into Doxygen modules
Change-Id: I48f8d21a5d6436a2ae545e5156b877d57a8bc585
2014-01-23 09:18:10 +00:00
Stephan Bergmann
853fe648a7 bool improvements
Change-Id: I6c2b4a825fffc015f10ef016e239b379a90ad768
2014-01-23 09:23:24 +01:00
Tor Lillqvist
6479c8815e Bin useless as96863, mb93783, mv76033 verbiage from SAL_INFO output
Change-Id: I58b6c311e9f13e433468863e639467428e5b268e
2014-01-23 08:20:07 +02:00
Tor Lillqvist
31f57cb679 Use the "sfx" log area consistently in sfx2
Change-Id: I497d2d93e1a1819ff709c94007ae98f5ef312e77
2014-01-23 08:12:37 +02:00
Tor Lillqvist
8293b29304 Use assert() and SAL_WARN() instead of DBG_ASSERT() and OSL_FAIL()
Change-Id: Id3be30bc95325e8f18cf8cb55da2217984a26035
2014-01-23 07:24:23 +02:00
Norbert Thiebaud
753eeac8a6 coverity#704575 et al. and clean-up.
Change-Id: I24b38b63d26bc2d4e1d479754120dfd5b5635737
2014-01-22 22:37:35 -06:00
Kohei Yoshida
3d95457572 Only allow approved border styles in cell borders.
Line styles such as inset, outset, embossed etc are not supportable in Calc.
So, don't show them in the UI.

Change-Id: Ie7be74193d01e13a79132a979e2d9a2e4d06de3f
2014-01-22 19:58:32 -05:00
Kohei Yoshida
dabf147d1d Use scoped_ptr for these.
Change-Id: I9452950ad6a101c2b9299dca5ff6e1713cac774c
2014-01-22 19:20:41 -05:00
Michael Stahl
b2f9d1b43e fdo#67238: sw: fix table cell Unprotect
SwDoc::UnProtectCells() was setting the old box format (from aFmts)
instead of the new one, and actually these 2 vectors are a map.

(regression from 772101649c)

Change-Id: I0881a1c499c51b5f3c257e9def1a2e9a00bcb639
2014-01-23 00:16:46 +01:00
Takeshi Abe
8532dbcfa8 Avoid possible resource leaks in case of exception
Change-Id: I58d1b270de2fe1d8ffb1867e5c36ab5ebf332ae0
2014-01-23 07:52:38 +09:00
Takeshi Abe
10eeb38164 Fix the class name
Change-Id: I74e523717ca78983b67aa612161e8f32aaead2d1
2014-01-23 07:52:38 +09:00
Noel Grandin
16a2e90335 remove SvStream::operator<< methods
.. and convert the last few places still using those methods.

Change-Id: Id2cd8f9c0dd281df43af439d4fef65881f34a6fd
Reviewed-on: https://gerrit.libreoffice.org/7495
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-01-22 22:00:47 +00:00
Noel Grandin
d803483f6a convert more SvStream::operator<< calls
.. to more explicit SvStream::Write* calls
This was done using another run of the clang rewriter, and then
a lot of hand tweaking to fix all the places where the rewriter
did not play nice with various macros.

Change-Id: I7bcab93851c8dfb59cde6bc76290c6484d88fb18
Reviewed-on: https://gerrit.libreoffice.org/7494
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-01-22 22:00:39 +00:00
Miklos Vajna
dd34ecba10 writerfilter: refactor to avoid redundant FSPA class in doctok
Change-Id: Ic546c62ec24ef3c6b9189ba8378686a6f94714dc
2014-01-22 21:49:52 +01:00