Commit Graph

3523 Commits

Author SHA1 Message Date
Stephan Bergmann
f67702e709 fdo#60338: Add osl_File_OpenFlag_Private to avoid umask
Change-Id: I293295244d1b089d747548c5025cb73b8ec428a4
2014-05-19 11:44:24 +02:00
Markus Mohrhard
dd0f844728 add COLOR function
This function makes property mapping in charts more user friendly.

Change-Id: I01cfb31edd749ee474d5078042fa5c4b4a270f86
2014-05-19 08:13:37 +02:00
Maxim Monastirsky
e4ce7d286a fdo#46839 Convert line color picker to split button
Change-Id: I4987cc9ffba675009f2d2ae9f6b12ed4ee02fe13
2014-05-18 14:50:58 +03:00
Thomas Arnhold
064ca92484 hrc files should have hrc suffix
Change-Id: Iadbedc145c85c5f333e4449704fd01d5e12ddde5
2014-05-18 12:10:02 +02:00
Thomas Arnhold
8899e449b7 fix include guard for sal/types.h
Change-Id: I77e10d2644b18b150f9489c7f754405974af107a
2014-05-18 11:58:22 +02:00
Thomas Arnhold
9c3e819f06 move boost rng wrapper from sc to comphelper
so we can re-use it in other modules

Change-Id: I6057b1e955f745019fd48f91a754279df0f2b948
Reviewed-on: https://gerrit.libreoffice.org/9348
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-17 12:40:39 +00:00
Chris Laplante
3c1e30b77d Correct common misspellings, and remove some ASCII art along the way.
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c
Reviewed-on: https://gerrit.libreoffice.org/9356
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-17 12:38:38 +00:00
Miklos Vajna
5bbc90be75 unused XGradient::VclGradient
Change-Id: Ia0c416ce7c1323f9c0c20b969bd57e9a2174a3dc
2014-05-16 23:00:33 +02:00
Eike Rathke
0ab5802eb0 more SvxLanguageBoxBase interfacing
Change-Id: Ife9317d40756099ae4d8ecb84cccea91bd75a14c
2014-05-16 22:10:19 +02:00
Zolnai Tamás
b862a216f7 ODF filters: fallback glTF model to bitmap for older versions
Change-Id: I33161401a29f511e61429355dd2905d4643fe8ff
2014-05-16 16:24:10 +02:00
Stephan Bergmann
06a45a1a17 loplugin:saloverride
Change-Id: I2b6e6a6654e888bec3ba4961f9130ca10b791f87
2014-05-16 16:20:56 +02:00
Thomas Arnhold
a6ef8ed1d6 clean up, remove eof comments
Change-Id: I166e781cb54181a8e5d08021cf5f6dfcd1fde5cb
2014-05-16 14:37:27 +02:00
Jacobo Aragunde Pérez
be415a0f9a ooxml: Preserve shape effects when there's more than one
Transformed the preservation process of shape effects to be able to
store more than one effect. For that we:

* Created the Effect struct and added a vector member to the
  EffectProperties struct.
* Changed the shadow effect to use the new Effect struct,
  EffectShadowProperties struct is preserved because the direction
  field still has some use but we should remove it.
* Changed the structure of the grab bag to store more than one effect.
* Modified an existing unit test to check shapes with several effects.

Change-Id: I0dd908fa1d9578827c02ef6272fc9e2b914391be
2014-05-16 14:11:22 +02:00
Eike Rathke
5ad020235a introduce SvxLanguageBoxBase, SvxLanguageBox, SvxLanguageComboBox
In preparation of having a language box available as ComboBox to be able
to add language tags.

Change-Id: I5af5ea5bb06e558db1fcf9c0668be274d5cec04e
2014-05-16 12:54:54 +02:00
Tomaž Vajngerl
fb1e810553 test: don't create root element in startDocument() in xmlwriter
Change-Id: Ia08e9f8caf2a2fb42855dcb2245e013e1a181216
2014-05-15 23:50:58 +02:00
Stephan Bergmann
eddfced748 loplugin:sallogareas
Change-Id: Ic3e2a5ed247b35b4e6d80a4ad824bc9b535783fb
2014-05-15 22:26:16 +02:00
Tomaž Vajngerl
fb688d6446 test: dump staroffice metafile to XML & XML writer interface
Change-Id: Ie42f72e0fc281d1f51e1729be408c2b0042f4174
2014-05-15 19:51:08 +02:00
Tomaž Vajngerl
780cedb2cf test: parseXmlStream & parseHtmlStream added to test tools
Change-Id: Iff8af5e9ffefb4c3cecf387b16473d45e8b4a65a
2014-05-15 19:51:08 +02:00
Tomaž Vajngerl
29ef23b307 vcl: ReadWindowMetafile - make pConfigItem default to NULL
Change-Id: Ib061b5e05df5215bea210a750d5dfd5314eeadec
2014-05-15 19:51:07 +02:00
Tomaž Vajngerl
06e6aa68ce vcl: remove uselees comment from font.hxx
Change-Id: Ifc933e9b4ca2f604f3aaf1ba74b34b414f96dd64
2014-05-15 19:51:07 +02:00
Tomaž Vajngerl
599328b0a9 tools: add AsRGBHexString to Color + unit test
AsRGBHexString returns the Color as a RGB hex string. For example
"00ff00" for green color.

Change-Id: Ia95c7f9eb6d9aefc3ca989046fa8d76b7b7f9e8f
2014-05-15 19:51:06 +02:00
Tomaž Vajngerl
1c77fcacbd vcl: problems with WriteWithVersion so remove for now
A sw test fails when WriteWithVersion is used istead of direct
replacement. Remove it for now.

Change-Id: I0425c85d6492061a5d7565e709d5913b79b28a46
2014-05-15 19:51:06 +02:00
Tomaž Vajngerl
ccb96f3439 vcl: remove macros in metaact.cxx{hxx}
Macros to reduce code duplication in metaact.cxx are discuraged
as it is not possible to find those classes using "git grep".
Lets find a better way to reduce code duplication for those
classes (some have already been replaced in this commit).

Change-Id: I35c7cd74d6345f37e937754e2d0177b816e0e0fa
2014-05-15 19:51:06 +02:00
Thomas Arnhold
ec08cb1f81 fixincludeguards.pl: now we can fix those
Change-Id: I8f29f6344592c2bb1ae0d03304cf6e18b6df3a29
2014-05-15 17:56:42 +02:00
Herbert Dürr
a908e4eb41 Resolves: #i124896# [API CHANGE] remove obsoleted rtl/allocator.hxx
remove obsoleted sal-module-internal custom STL allocator

The SAL module avoided the heavy dependency on the stlport4-libraries by using
a custom allocator for its internal STL containers. With stlport4 removed these
dependencies are gone and the SAL-internal custom allocator is obsoleted.

(cherry picked from commit c6e0325df6efce45dbb2616a32b7745c449c6c58)

Conflicts:
	include/osl/diagnose.hxx
	include/rtl/allocator.hxx
	sal/osl/w32/procimpl.cxx
	sal/qa/osl/process/osl_process.cxx
	sal/rtl/bootstrap.cxx
	sal/rtl/source/hash.cxx
	sal/rtl/source/unload.cxx

Change-Id: I8515382828eda36aba1fec5f23e0f2a89aef7a33
2014-05-15 15:03:49 +01:00
Thomas Arnhold
2bd7767d01 Resolves fdo#70681: fixincludeguards.pl: all that's left
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-15 12:50:46 +00:00
Tor Lillqvist
c008e4a412 Add connectivity.odbc
Change-Id: I2bad7938ddd02da8aa7191aebbd9221220fb303e
2014-05-15 14:27:34 +03:00
Eike Rathke
1d1a28290a +sal_Int32 ComboBox::GetEntryPos( const void* pData ) const
Change-Id: I9199da366eb70e818e1d85823cd7cf530f70167d
2014-05-15 12:34:35 +02:00
Eike Rathke
f9a1e90747 interface with COMBOBOX_... instead of LISTBOX_...
... even if it is the same value.

Change-Id: I62f81d181f25723cba5ca0fbfb395539385a007a
2014-05-15 12:34:34 +02:00
Stephan Bergmann
3385b0da3d Minor utl::TempFile clean up
Change-Id: I20de8b2321d2656d17d25c6343d72c534d47e597
2014-05-15 11:35:38 +02:00
Miklos Vajna
7b34d19473 sprmids is used only inside sw/source/filter/ww8
Change-Id: Iebae4a08a452117e71f72836ed686221031a61e6
2014-05-14 22:37:25 +02:00
Kohei Yoshida
b6b0b95bae Bail out of group calculation in case the array fetching fails.
Change-Id: Ibb7575eeb025fc025d05b147629113796185c5d3
2014-05-14 16:25:38 -04:00
Maxim Monastirsky
ed1d0f0c45 fix build
Change-Id: I40b7f9388388e05ab5b034ac81861aa34a23d2a8
2014-05-14 22:46:33 +03:00
Maxim Monastirsky
f22d651487 startcenter: another attempt to fix mouse up issues
see commits
1a2a961c1e
4a902e0c59

Change-Id: I94b90dfc5db779317d4dda1171aeceeac6373548
2014-05-14 22:32:19 +03:00
Kohei Yoshida
a921d38ad4 No more SetCompileForFAP(). Use respective flag setting methods instead.
Change-Id: Ib2256ebac8a7e63e7e24fb35d13d47b811bd8e19
2014-05-14 13:15:11 -04:00
Kohei Yoshida
69a7e7440c Use "stop on error" concept rather than "ignore error if true".
Just to keep the pattern of "true" -> "action", "false" -> "no action".

Change-Id: I6303bc779cd7048eef2fdc3c2abba8be8f15da6d
2014-05-14 13:15:11 -04:00
Kohei Yoshida
5db9391c06 Introduce a new boolean flag and use it in lieu of bCompileForFAP.
To make it sound more general than "compile for FAP".

Change-Id: Ia6916b6f3579a290be7d5074f809666be2bd2473
2014-05-14 13:15:10 -04:00
Maxim Monastirsky
4a902e0c59 Revert "startcenter: react on mouse down instead"
This reverts commit 1a2a961c1e.

As suggested by Kendy, opening with a single click
by mouse up is more natural. We need to find a better
solution for the bug mentioned in the above commit.
2014-05-14 16:30:49 +03:00
Stephan Bergmann
c8695c6cce Unify utl::TempFile ctors
Change-Id: I0a781a86804808cebf7756506d9299971c13e2ff
2014-05-14 13:38:23 +02:00
Maxim Monastirsky
584b415924 Keep only one class for toolbox color controls
instead of 5 (mostly identical) classes.

Also the following bugs were fixed:

* All pickers now use split buttons. (fdo#45671)
* Color palette now indicates the current color. (fdo#73891)
  (Previous changes related to that bug are reverted as part
  of this commit.)
* Selecting a color from a float panel now updates the
  button. (fdo#77683)
* For Font color/background color in Writer, the color
  that is shown on the button, is always the one that's
  actually used. (Can be a different color after hiding
  the toolbar.)
* For Font color/background color in Writer, the button
  now indicates when we're in the format paintbrush mode.
  (Removed in 085e8a07e6
  for some reason.)

Change-Id: Idb4829552240c52fb0882aca627c8177bbe2f839
2014-05-14 12:39:42 +03:00
Maxim Monastirsky
b07377b3ef Revert "fdo#77683 the color in the toolbar buttons doesn't change."
This reverts commit f5dc536eae.

This commit actually created a regression. A split button supposed
to show the last used color, not the current one.

I'll try to solve fdo#77683 in a different way, in a following commit.

Change-Id: I5df1ce49995e4755f54af977ca25d4e4dfdee629
2014-05-14 12:39:41 +03:00
Noel Grandin
248145f99e Find places where uno::Sequence is passed by value.
Implement a clang plugin to find them, and clean up existing code
to pass them by reference.

Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8
Reviewed-on: https://gerrit.libreoffice.org/9351
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-14 08:10:22 +00:00
Julien Nabet
a362f15f85 Typo: shoud -> should
Change-Id: I44f4fb9682a56af6654e1f7462dc37557d60e735
2014-05-13 23:26:20 +02:00
Caolán McNamara
c1c152f0e4 coverity#1213522 Uncaught exception
and a gadzillion more

refactor to avoid slicing catch and rethrow

Change-Id: I5c05d1c151b81ff481eff8cd7544db9838143c71
2014-05-13 20:31:17 +01:00
Miklos Vajna
b735fe1d67 unused XFillStyleItem ctor
Change-Id: I28497670242a98fba0f5f507a6f634a6fe59c20e
2014-05-13 21:04:48 +02:00
Stephan Bergmann
a699927c56 Elide utl::TempFile_Impl
Change-Id: I8f14cd351c17abaa9d48144cdf8325afc250787b
2014-05-13 19:27:00 +02:00
Stephan Bergmann
404e4d613e utl::TempFile::CreateTempName pParent is unused
Change-Id: Ide12ea21104af678dc541ed0e83970e7a2f5e694
2014-05-13 19:27:00 +02:00
Matúš Kukan
0727c09e24 BrowseBoxCheckInvariants appears to be unused [loplugin:unreffun]
Change-Id: Ie6c546ee085b20bd3eb39cdfb7b38394c0a35b67
2014-05-13 16:01:43 +02:00
Eike Rathke
9d48e8fdf4 sal_Int32 ComboBox::InsertEntryWithImage()
Change-Id: Iaa1ddc931b71fcdf08d571c7e3573a936d378709
2014-05-13 15:08:04 +02:00
Eike Rathke
213e429cfb Revert "remove unused code -SvtLanguageTable::AddLanguageTag"
This reverts commit d812b78431.

I added that code in preparation of changes I'm doing.
2014-05-13 12:02:42 +02:00