Commit Graph

1264 Commits

Author SHA1 Message Date
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
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
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
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
d366c9b20e remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-14 08:17:32 +02:00
65a831a8b4 xub_StrLen->sal_Int32
Change-Id: If287d83f636c2aa585559299be7039cad6208ae2
2013-11-13 13:50:38 +00:00
28daf1af06 fdo#59542 smaller +/- buttons will not be truncated at the bottom
Change-Id: If937d72e5b10bfbf055cf5b9909d50bbf5ddac81
2013-11-13 13:00:08 +01:00
e52779d2f8 remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11 11:21:26 +02:00
b40ffd288b fdo#60698: Move generic fpicker to svtools
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Conflicts:
	dictionaries

Change-Id: I6af478d7d6952e0e8f6c8f1b0575fcd50f2ba0e4
2013-11-04 13:15:45 +01:00
aeb41c9b9b remove redundant calls to OUString constructor
Change code like this:
  aStr = OUString("xxxx");
into this:
  aStr = "xxxx";

Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-04 10:11:07 +02:00
4da020c527 Windows XP is 0x0501
See http://msdn.microsoft.com/en-us/library/aa383745.aspx

And as we support only XP as minimum change this.

Change-Id: Iad51b0dd4bb960ed5a270b0b701ec3e0b28ab4e2
2013-10-30 22:58:19 +01:00
bb13b922b6 fpicker: warning C4018: '<': signed/unsigned mismatch
Change-Id: I51652d573f59e6ca3b00385790bf14d478f03074
2013-10-28 15:21:54 +01:00
4089083f32 Resolves: #i123544# Prevent accessing empty filters' vector
(cherry picked from commit 3b16c98449d120b07ca4f2f312e31127ac655482)

Change-Id: Ieb71209d9c299ef7f050e00ccf010aca87ee2ab7
2013-10-27 12:03:23 +00:00
4e40d2ef4b typo
Change-Id: I7bb89ac8acf42183e9d7ffaf942365ffa9da9815
2013-10-22 13:32:39 +02:00
ee5661ecd3 fdo#54938: Adapt supportsService implementations..
to cppu::supportsService

Change-Id: I0b03d3910f094f2183bf9859db9d5bcaf35d1f14
Reviewed-on: https://gerrit.libreoffice.org/6370
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-22 10:28:10 +00:00
051731bbca post String conversion cleanup
Change-Id: I9747817edc76973af4a4ffdbf542b8d1467d7f08
2013-10-21 03:08:26 +02:00
f95d418d12 String -> OUString
Change-Id: I18b79fa866c21a8036a25c05fbc13c1d72e542aa
2013-10-20 22:58:27 +02:00
212f0e9f00 Missing include
Change-Id: I5674385df64bb47813f551fb666ffef7d7434728
2013-10-20 22:54:08 +02:00
45e366eadb drop unnecessary tools/string includes
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-20 19:00:36 +01:00
7235d23267 fdo#54938: Adapt supportsService implementations to cppu::supportsService
Change-Id: I683c0d30c3286ed5d725d4eefe8b3977b82ee316
Reviewed-on: https://gerrit.libreoffice.org/6035
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-07 17:01:33 +00:00
2bc1044279 -Werror,-Wunused-function
Change-Id: I36275580d20098b9f643a5380805026fb79f0dbf
2013-10-02 16:49:37 +02:00
ab63cac8cf convert fpicker module from String to OUString
Change-Id: I665facff9f37f089f97e91f71e45578ad03e0653
2013-10-01 10:08:38 +02:00
b3a8056a49 Related: fdo#38838 remove UniString::SearchBackward
Change-Id: Ia474ee07b1bd411eae8cd1ddd55c4fa83dbd5f47
2013-09-27 11:16:11 +02:00
8dd1ff42a2 We need <tools/string.hxx>
Change-Id: I0fbdd76fd12a242834e1690ff93558cc885d1768
2013-09-25 22:13:23 +02:00
8e30689680 drop worthless _VECTOR_/_MAP_ header guards
Change-Id: I54be19847b8fb609f0b08a528cc06dbae9f579d5
2013-09-25 19:24:24 +02:00
98de5b40c8 Related: fdo#38838 remove UniString::EqualsIgnoreCaseAscii
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-25 19:24:23 +02:00
81202ae748 Related: fdo#38838 remove UniString::CompareIgnoreCaseToAscii
Change-Id: I4a9b34d63d2534a35aa9a878b8c2bec15262c2be
2013-09-22 20:32:02 +01:00
3e55e00662 String to OUString
This removes nearly all ToLowerAscii() calls.

Conflicts:
	linguistic/source/convdic.cxx
	linguistic/source/convdiclist.cxx
	linguistic/source/dlistimp.cxx
	sc/source/filter/html/htmlexp.cxx

Change-Id: Iddcaacfb7383e1df3d2f13751a3c788eba953fdd
Reviewed-on: https://gerrit.libreoffice.org/5895
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-09-13 11:30:48 +00:00
7fd6d43c1d Related: fdo#38838 String::GetBufferAccess is now no more
Change-Id: I9fdd600fd0a530c0763875109eee6600e4a77879
2013-09-08 20:44:25 +01:00