Commit Graph

1254 Commits

Author SHA1 Message Date
Stephan Bergmann
00d0a50e3b Window::Notify should return bool, redux
Change-Id: Ib41ed9ace428081e1948cf109de095ea9e7c45c2
2014-01-17 18:45:17 +01:00
Stephan Bergmann
04683f1488 Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-17 16:42:29 +01:00
Tor Lillqvist
8723bf714b Bin mysterious FIXME comment and 'if (0) return 0;' line
Change-Id: I41a29ec89b848ea0bfeb9975cd675357a2fcc69f
2014-01-06 14:30:21 +02:00
Tor Lillqvist
a3b9461ad3 WaE: unused variables
Change-Id: I95f0afc4b71dd62c7635f0a56b0917463db08c35
2013-12-26 18:12:26 +02:00
Andras Timar
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
Stephan Bergmann
9ed364774c Adapt all (non-extension, SharedLibrary) .components to environment="..."
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
Caolán McNamara
53a3a31cf1 move this QueryFolderName into fpicker
Change-Id: I1b7b26ceef86e0dcc642d760b8413a822c125a2b
2013-12-16 10:41:28 +00:00
Caolán McNamara
ae22d63888 convert query folder dialog to .ui
Change-Id: I844b45b4cc9834550d0d187dfdbc69686e512e5d
2013-12-16 10:41:27 +00:00
Julien Nabet
b3c2cf2ae1 widht -> width
Change-Id: I661eeb167a95540a223ce72aac51789daf3767dc
2013-11-23 23:22:25 +01:00
Michael Meeks
acc0fcd96c fpicker: cleanup async requests, dung out comments.
Change-Id: I016145d315ae1c4b5376e43583e2546a2b7f7b07
2013-11-20 15:44:14 -05:00
Thomas Arnhold
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
Noel Grandin
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
Noel Grandin
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
Stephan Bergmann
32f125f6e3 -Werror,-Wunused-member-function
Change-Id: If52a2614cfa9697e9aa5ec7af21577edef06b2f8
2013-11-14 10:15:03 +01:00
Stephan Bergmann
54df89611e -Werror,-Wunused-member-function
Change-Id: Ib2427bc58d1b7eea059f917db583179449ac62cf
2013-11-14 10:15:03 +01:00
Noel Grandin
d366c9b20e remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-14 08:17:32 +02:00
Caolán McNamara
65a831a8b4 xub_StrLen->sal_Int32
Change-Id: If287d83f636c2aa585559299be7039cad6208ae2
2013-11-13 13:50:38 +00:00
Andras Timar
28daf1af06 fdo#59542 smaller +/- buttons will not be truncated at the bottom
Change-Id: If937d72e5b10bfbf055cf5b9909d50bbf5ddac81
2013-11-13 13:00:08 +01:00
Noel Grandin
e52779d2f8 remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11 11:21:26 +02:00
Marcos Paulo de Souza
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
Noel Grandin
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
Thomas Arnhold
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
Michael Stahl
bb13b922b6 fpicker: warning C4018: '<': signed/unsigned mismatch
Change-Id: I51652d573f59e6ca3b00385790bf14d478f03074
2013-10-28 15:21:54 +01:00
Ariel Constenla-Haile
4089083f32 Resolves: #i123544# Prevent accessing empty filters' vector
(cherry picked from commit 3b16c98449d120b07ca4f2f312e31127ac655482)

Change-Id: Ieb71209d9c299ef7f050e00ccf010aca87ee2ab7
2013-10-27 12:03:23 +00:00
Stephan Bergmann
4e40d2ef4b typo
Change-Id: I7bb89ac8acf42183e9d7ffaf942365ffa9da9815
2013-10-22 13:32:39 +02:00
Marcos Paulo de Souza
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
Thomas Arnhold
051731bbca post String conversion cleanup
Change-Id: I9747817edc76973af4a4ffdbf542b8d1467d7f08
2013-10-21 03:08:26 +02:00
Stephan Bergmann
f95d418d12 String -> OUString
Change-Id: I18b79fa866c21a8036a25c05fbc13c1d72e542aa
2013-10-20 22:58:27 +02:00
Stephan Bergmann
212f0e9f00 Missing include
Change-Id: I5674385df64bb47813f551fb666ffef7d7434728
2013-10-20 22:54:08 +02:00
Caolán McNamara
45e366eadb drop unnecessary tools/string includes
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-20 19:00:36 +01:00
Marcos Paulo de Souza
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
Stephan Bergmann
2bc1044279 -Werror,-Wunused-function
Change-Id: I36275580d20098b9f643a5380805026fb79f0dbf
2013-10-02 16:49:37 +02:00
Noel Grandin
ab63cac8cf convert fpicker module from String to OUString
Change-Id: I665facff9f37f089f97e91f71e45578ad03e0653
2013-10-01 10:08:38 +02:00
Caolán McNamara
b3a8056a49 Related: fdo#38838 remove UniString::SearchBackward
Change-Id: Ia474ee07b1bd411eae8cd1ddd55c4fa83dbd5f47
2013-09-27 11:16:11 +02:00
Tor Lillqvist
8dd1ff42a2 We need <tools/string.hxx>
Change-Id: I0fbdd76fd12a242834e1690ff93558cc885d1768
2013-09-25 22:13:23 +02:00
Caolán McNamara
8e30689680 drop worthless _VECTOR_/_MAP_ header guards
Change-Id: I54be19847b8fb609f0b08a528cc06dbae9f579d5
2013-09-25 19:24:24 +02:00
Caolán McNamara
98de5b40c8 Related: fdo#38838 remove UniString::EqualsIgnoreCaseAscii
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-25 19:24:23 +02:00
Caolán McNamara
81202ae748 Related: fdo#38838 remove UniString::CompareIgnoreCaseToAscii
Change-Id: I4a9b34d63d2534a35aa9a878b8c2bec15262c2be
2013-09-22 20:32:02 +01:00
Thomas Arnhold
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
Caolán McNamara
7fd6d43c1d Related: fdo#38838 String::GetBufferAccess is now no more
Change-Id: I9fdd600fd0a530c0763875109eee6600e4a77879
2013-09-08 20:44:25 +01:00
Julien Nabet
a92be728a5 fdo#42155: Replace the only use of CAutoUnicodeBuffer end part
Change-Id: Id1c00a24cdc1914693d8cadeeee64923af3db786
Reviewed-on: https://gerrit.libreoffice.org/5829
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-08 03:19:20 +00:00
Thomas Arnhold
346427e22e remove duplicate include
Change-Id: I1809d186b9eabb03c8d388cc9361014d16a3080d
2013-09-05 20:01:07 +02:00
Michael Stahl
07e23d609e fpicker: try to fix headers to make tinderbox happy
Change-Id: If0de9b31b4d754dfda4f135a8ffa6df21d7b4314
2013-09-05 19:06:25 +02:00
Thomas Arnhold
07dee4da76 add missing include
Change-Id: Id28803d431c2f585f46b92888ee5b97293b63a2e
2013-09-05 18:56:19 +02:00
Julien Nabet
36baf31d2b fdo#42155: Replace the only use of CAutoUnicodeBuffer part1
Change-Id: Id6ea78148b7689199540407518f6bcb25af4450d
Reviewed-on: https://gerrit.libreoffice.org/5713
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-09-05 16:21:57 +00:00
Tor Lillqvist
0aeba08d3e Fix "Save As" when sandboxed on OS X
Change-Id: Ibe2ea21265a0bb9c4fedcef137626df2a8019116
2013-08-25 21:14:08 +03:00
Tor Lillqvist
d22c94dbf1 Make our File>Recent Documents work better when sandboxed
Store security scope bookmarks for files selected in the file picker
in the user data. (I looked into storing it in the LO "registry" in
the Histories/PickList thingies, but that was horribly complex.)

When opening a file, if we have stored a security scope bookmark for
it, use that while opening the file.

Change-Id: I347ae2dd815299441c17467d9b66a226061d0ed2
2013-08-23 21:33:41 +03:00
Noel Grandin
a7f84fc431 convert include/svtools/QueryFolderName.hxx from String to OUString
Change-Id: Iec274c35c3ce4f1f9d5f17bd5562b52b788595d4
2013-08-22 10:49:27 +02:00
Luboš Luňák
64b993e046 finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.

Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +02:00
Julien Nabet
df58d4a925 Typo: controling => controlling
Change-Id: Ie5bb34d2000be74bad7f18808f49f389ab9373d8
2013-08-12 21:40:22 +02:00