Commit Graph

1404 Commits

Author SHA1 Message Date
728ec86062 Typo: s/cant/can't/
Change-Id: Id76b4ea569246c4b96da48dbc8d5a557367e0cca
2014-04-18 00:30:35 +03:00
f75aa26620 typo: hierarchie -> hierarchy 2014-04-14 12:32:05 +02:00
6835d9f307 It's "its", not "it's"
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00
5babf1b903 remove unnecessary scope qualifier from sal_Bool uses
i.e. convert "::sal_Bool" to "sal_Bool"

Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."

Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
b6dbe2be87 Bin pointless INET_PATH_TOKEN
There is nothing mnemonic in the name 'INET_PATH_TOKEN' that would tell the
code reader that it simply means '/'.

Change-Id: I89ce72e8be5cf0ef2c66b23ad6e721ad49105648
2014-04-01 12:14:45 +03:00
4c4ce2c919 fix warning: shadowed declaration
Change-Id: If602f8ee11938278ce67c77c909d05272ac585fd
2014-03-30 13:03:30 +02:00
e7384daa27 fdo#76778 fix wildcard support in File Open dialog
Change-Id: Ifbdf6847ddecc7848828247655e729dfe2299b30
2014-03-30 12:55:25 +02:00
3b836710c4 Remove remaining DBG_CTOR etc. remnants from fpicker
Change-Id: I736ce8d12372b115e42319e9b3c352e36cbae346
2014-03-28 15:41:03 +01:00
ba59a951e5 SAL_OVERRIDE, Mac OS X fpicker redux
Change-Id: I02c234f36ed642b63a4a15ac4f865d8926fe081f
2014-03-27 20:54:46 +01:00
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
f7074d8de5 svtools: sal_Bool->bool
Change-Id: I2044e6c1f15579b6051fad5d36fcfa8795f88953
2014-03-24 08:12:10 +02:00
f342aba967 loplugin:passstringbyref (and some dead code)
Change-Id: I96f5b58ac000e7535b6759af04be60e738aa2b09
2014-03-19 22:21:41 +01:00
578bd15399 Currently used file pickers API doesn't work for OS X < 10.6
Change-Id: I69592ada3a413cae2d0def2faa495db44894ed3f
Reviewed-on: https://gerrit.libreoffice.org/8430
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-05 09:28:19 -06:00
68ec95b3f8 made ListBox handle more than 64k elements, fdo#61520 related
ListBox and related now handle up to sal_Int32 elements correctly.
sal_Int32 instead of sal_Size or size_t because of UNO and a11y API.
Also disentangled some of the mess of SvTreeList and other containers
regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures.

Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a
Reviewed-on: https://gerrit.libreoffice.org/8460
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-03-05 07:31:19 -06:00
b455abb013 FDO#75755: Change string "..." to "Servers..."
Change string "..." to "Servers..." in filepicker, to allow better understandng of the remote acess to file services.

Change-Id: I8ffca698b40d23b1c876223ef98f9bcb181791a4
Reviewed-on: https://gerrit.libreoffice.org/8452
Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-03-04 13:22:05 -06:00
9a06a6e649 Avoid potentially sending message to deallocated instance
The m_pFilterControl is always added to the m_aActiveControls list
(see createFilterControl()), so it has been released by the loop over
the list. So make sure to call setTarget before the loop.

For some reason this doesn't normally cause sending a message to a
deallocated instance, though. (I only noticed it when experimenting
with if-zeroing out the creation of the user pane.) I guess this might
mean that we actually have a leak here, if the controls in the list
don't actually get deallocated by the release messages in the loop?

Change-Id: If691f8d35bab606ce8a61f677d8e495e72a23148
2014-03-04 12:41:27 +02:00
e53eacb133 Use FSResolveAliasFile at least on OS X < 10.6
(see also: commit 7aa42913bb1828b877c2f73b4fe59cc3c65a67bf)

Change-Id: I6b8945bfcfce277eefdd54d25c7827c2ae19ef16
Reviewed-on: https://gerrit.libreoffice.org/8394
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-28 10:04:42 -06:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
2a09751d51 Remove visual noise from fpicker
Change-Id: I58ae70cc71853e17e638ef64aaded87615e37986
Reviewed-on: https://gerrit.libreoffice.org/8264
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 04:35:19 -06:00
36774806da (a/A)utomaticaly -> (a/A)utomatically
Change-Id: Ice4327bdb8e5a14ef082f013fa513b2267f0fbf3
2014-02-25 22:00:50 +01:00
5b9f0b283b loplugin:literaltoboolconversion
Change-Id: I1e1df91ff3ca9d10e26b423ed011118c81453d7d
2014-02-25 15:06:23 +01:00
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
5f17e5eaad Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I674b7ee507258555b667657a13db6fda9b8d8372
2014-02-21 14:35:52 +09:00
a18a1a4545 Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.

Conflicts:
	sc/source/ui/dbgui/pvlaydlg.cxx

Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
d548b250db Drop unnecessary #include
Change-Id: Ib9ab63cdf21f54b1611de37c5538a300a1b39ba6
2014-02-18 13:24:11 +09:00
8bda341061 coverity#737162 Uncaught exception
Change-Id: I4ddc477a76f8807586b2dd700ac5559f052ccaa5
2014-02-13 14:56:21 +00:00
94bc29cb71 Typo: I/internaly -> I/internally
Change-Id: Ic9056baf58698743492ab57a882341c730ef2f7a
2014-02-09 10:12:07 +01:00
ac6e8ac7e4 typo fixes in comments
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-02-06 23:22:30 +01:00
6f0e7c36e4 Typo: seam(s) -> seem(s)
Change-Id: I840d120644760b61a39ad88b4095056f0f753bb7
2014-02-06 21:22:42 +01:00
4f6f280e76 bool improvements
Change-Id: Ice58633418dad12ee55b77aa56c6bd7d37ebbcf3
2014-01-28 20:26:28 +01:00
00d0a50e3b Window::Notify should return bool, redux
Change-Id: Ib41ed9ace428081e1948cf109de095ea9e7c45c2
2014-01-17 18:45:17 +01:00
04683f1488 Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-17 16:42:29 +01:00
00808a7b37 Linux file pickers are not here anymore
Change-Id: I0748afe45c2ff42c840e792df9ceba980dcdbed6
Reviewed-on: https://gerrit.libreoffice.org/7289
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2014-01-07 12:32:40 +00:00
8723bf714b Bin mysterious FIXME comment and 'if (0) return 0;' line
Change-Id: I41a29ec89b848ea0bfeb9975cd675357a2fcc69f
2014-01-06 14:30:21 +02:00
a3b9461ad3 WaE: unused variables
Change-Id: I95f0afc4b71dd62c7635f0a56b0917463db08c35
2013-12-26 18:12:26 +02:00
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
9ed364774c Adapt all (non-extension, SharedLibrary) .components to environment="..."
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
fc985c3004 should be a l10n target
Change-Id: If6f7540ba59dc518f258b3b322299432f9b34a7d
2013-12-17 09:16:59 +00:00
53a3a31cf1 move this QueryFolderName into fpicker
Change-Id: I1b7b26ceef86e0dcc642d760b8413a822c125a2b
2013-12-16 10:41:28 +00:00
ae22d63888 convert query folder dialog to .ui
Change-Id: I844b45b4cc9834550d0d187dfdbc69686e512e5d
2013-12-16 10:41:27 +00:00
b3c2cf2ae1 widht -> width
Change-Id: I661eeb167a95540a223ce72aac51789daf3767dc
2013-11-23 23:22:25 +01:00
acc0fcd96c fpicker: cleanup async requests, dung out comments.
Change-Id: I016145d315ae1c4b5376e43583e2546a2b7f7b07
2013-11-20 15:44:14 -05:00
f01580ce9c Windows: Require at least Windows XP SP2
* Windows XP SP2 is 0x0502, see
  http://msdn.microsoft.com/en-us/library/aa383745.aspx
* If a module changes the Windows SDK version setting,
  this is done module wide now. So the overall behavior
  is as before. This seems to be the best compromise for
  now.
* We need at least SP2 because of the bluetooth stuff
  used in sd/source/ui/remotecontrol.
* Now, we require at least Internet Explorer 7.0. IE6
  has been outdated for a long time.
* Leave StdAfx.h file definitions, as those are Microsoft
  project specific precompiled header files.
* All local definitions of WINVER are removed, because
  the global WINVER setting makes them obsolete now.

To the relation of the three macros:

Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION
automatically to the same value as _WIN32_WINNT.

WINVER and NTDDI_VERSION can be set idenpendently each
for itself.

Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb
Reviewed-on: https://gerrit.libreoffice.org/6496
Reviewed-by: Thorsten Behrens <thb@documentfoundation.org>
Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-20 07:15:16 -06:00
610b2b94b3 remove unnecessary use of OUString constructor when assigning
change code like
   aStr = OUString("xxxx");
to
   aStr = "xxxx";

Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19 10:29:31 +02:00
2c35fff7ec remove most use of RTL_CONSTASCII_USTRINGPARAM macro
This is largely unnecessary when working with OUString

Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-19 10:29:30 +02:00
04dead1c6b make l10n buildable separately
- this renames the 'almost' module target to non-l10n
- and adds a l10n target which is intended to only build l10n parts of
  the product
- packagers should then be able to build l10n and non-l10n parts of the
  product independently, thus:
   - enable quicker rebuilds
   - distribution of load
   - updates to l10n without a full rebuild
   - security fixes to binaries without rebuilding all l10n
- the new targets are called build-l10n-only and build-non-l10n-only
- note this is not intended to move a concept of split packages
  upstream -- while this exsists in distros, the number of test
  scenarios for this would explode upstream

Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863

Conflicts:
	filter/Module_filter.mk
2013-11-14 16:45:02 +01:00
32f125f6e3 -Werror,-Wunused-member-function
Change-Id: If52a2614cfa9697e9aa5ec7af21577edef06b2f8
2013-11-14 10:15:03 +01:00
54df89611e -Werror,-Wunused-member-function
Change-Id: Ib2427bc58d1b7eea059f917db583179449ac62cf
2013-11-14 10:15:03 +01:00