Commit Graph

1343 Commits

Author SHA1 Message Date
fe25090e99 MAC_OS_X_VERSION_MIN_REQUIRED is always >= 1080 now
Change-Id: I40d03ab9acb67ab72b9047017452f069ce88fd4b
2014-10-16 11:22:13 +03:00
b02e958fa0 MAC_OS_X_VERSION_MAX_ALLOWED is always >= 1080 now
Change-Id: Ieae67cbf917cdf4bca2b0d6c1697eddc6137dbe2
2014-10-16 11:22:12 +03:00
04a810cee4 back out more wrong and confusing tools::Time comment changes
Apparently fc04f76336fdf8c96e35382cdeb497e2f939705c used some sed script
to change all ...

Change-Id: Ie609bd02a2c5d70109fc6185cf4440480f29d8f5
2014-10-08 14:24:21 +02:00
fb515368bd fpicker (Windows): std::auto_ptr -> std::unique_ptr
Change-Id: Id373c3ed6e483a501e07146812ff04353eafcc32
2014-10-02 15:20:46 +02:00
fc04f76336 fdo#82577: Handle Time
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11
Time typedef.

Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866
Reviewed-on: https://gerrit.libreoffice.org/11684
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-01 07:34:23 +00:00
827c46e7d7 fdo#82577: Handle Window
Put the VCL Window class in the vcl namespace. Avoids clash with the X11
Window typedef.

Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-23 14:11:39 +03:00
764e3016b6 fdo#84086 Fix assorted use-after-free bugs
Change-Id: Iec004fffdb0afbe27bd69f379db90f6d904a8a65
Reviewed-on: https://gerrit.libreoffice.org/11553
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-22 05:15:53 +00:00
ea846caaa1 loplugin:salbool
Change-Id: Id2d9e8bf20b196d3a107802ac07ffb1ef61dfc60
2014-09-15 21:55:29 +02:00
6fb5bf5266 fpicker: sal_Bool -> bool
Change-Id: Iaf55e2106900be0319c96861b07abea24075bbbe
2014-09-12 15:57:45 +02:00
037d03b9fa Typo: (N|n)ormaly->(N|n)ormally
Change-Id: I96d081f394b0b62d99ec1034bf5e99da9aedd9d9
2014-09-10 22:35:39 +02:00
1eb607eaaa oops, forgot to include osl/thread.h
Change-Id: Iaef9e9356c7a75215a868bb7dbcaa25d1fb19e01
2014-08-25 14:13:53 +02:00
d386f88774 set names on the Win32-only threads
Nice to see what weird threads are running.

Change-Id: Ic9888aa3260d0aeb5858cde5415571ab23c75484
2014-08-25 13:21:57 +02:00
30ae83c268 fdo#82577: Handle KeyCode
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11
KeyCode typedef.

Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-23 22:33:30 +03:00
a107bdfdfc ErrorBox->MessageDialog
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
2014-08-18 10:57:21 +01:00
945f9001ed warning C4505: unreferenced local function has been removed
Change-Id: I4a96bc7156e0d4369bf3bfe599529df9f12ab318
2014-08-13 10:10:45 +02:00
bcad6c7e93 warning C4189: local variable is initialized but not referenced
Change-Id: Ibe6ee8225da0090656fbec3ce2253b2c42ddff78
2014-08-13 10:10:44 +02:00
51f4c781c3 warning C4189: local variable is initialized but not referenced
Change-Id: I941898ecbd8f3c73d39878390cdcb89119a3bbaf
2014-08-13 10:10:39 +02:00
2203ac5fee remove obsolete comment
Change-Id: I6b3466e5dd8ce6b3814037382c865af1e50a025c
2014-08-09 18:12:09 +02:00
9bac4d413e typo: more then -> more than
Change-Id: I2e477d66f25bde7256938ccb1f95ab26add24922
2014-08-01 23:40:12 +09:00
4f2b97d4c7 WaE: convenience initializer should not invoke an initializer on 'super'
New warning from Clang 6. So get rid of the initWithOUString
initializer completely, it is called only from stringWithOUString
anyway.

Change-Id: I510101bfe1e6ac52f8f5a1d8a061082b3875419f
2014-07-26 11:20:10 +03:00
c1dd91a93c callcatcher: update unused code
Change-Id: I1dd1b40d807c7c9d9b145aca9f69a67d786ec5ff
2014-07-22 09:54:38 +01:00
bb4ffcdf9a win32 fpicker: correctly set the default file name
Correctly set the default file name in win2k+
See fdo#74295 for more details.

Change-Id: I30117a8e1e50b157fee96f4777b0c3f11630165c
Reviewed-on: https://gerrit.libreoffice.org/10430
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2014-07-21 21:08:08 +00:00
a37d99eb17 Revert "Cleaning: remove use of old edt1 from dlg.h (Windows)"
This commit introduced fdo#74295.

This reverts commit e9fd9c25269abe171e5f693a8c70b33ab5a01c85.

Change-Id: I884c25aee137819810bdbc76ad85f2b580b2d626
Reviewed-on: https://gerrit.libreoffice.org/10429
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2014-07-21 21:07:38 +00:00
17458019ba -Wdeprecated-declarations: first deprecated in OS X 10.10
fpicker/source/aqua/SalAquaFilePicker.mm:220:14: warning: 'NSOKButton' is deprecated: first deprecated in OS X 10.10 - Use NSModalResponseOK instead [-Wdeprecated-declarations]
fpicker/source/aqua/SalAquaFilePicker.mm:225:14: warning: 'NSCancelButton' is deprecated: first deprecated in OS X 10.10 - Use NSModalResponseCancel instead [-Wdeprecated-declarations]
fpicker/source/aqua/SalAquaFolderPicker.mm:114:10: warning: 'NSOKButton' is deprecated: first deprecated in OS X 10.10 - Use NSModalResponseOK instead [-Wdeprecated-declarations]
fpicker/source/aqua/SalAquaFolderPicker.mm:119:10: warning: 'NSCancelButton' is deprecated: first deprecated in OS X 10.10 - Use NSModalResponseCancel instead [-Wdeprecated-declarations]

Change-Id: Ib497903e4df868867cc56e2eade7bb2572f0902a
Reviewed-on: https://gerrit.libreoffice.org/10115
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-11 10:12:31 +00:00
ba6781f8cb use SimpleReferenceObject in fpicker module
to replace hand-rolled version

Change-Id: I0c1cbf6b0e70106f4ecc5b579e09acc17045a44e
2014-07-10 11:04:10 +02:00
5983675ecc fix crash when m_aType is '*'
Change-Id: If2c4ca98814a58b785cd2670eac1e522e70464fd
2014-07-02 11:57:08 +01:00
a402fd0d52 loplugin:stringconcat
Change-Id: Ibf410eb1b8be81505b8e778aadf916a26ba39468
2014-07-01 23:19:52 +02:00
5371bc50c0 coverity#703963 Unchecked return value
also avoid pointless double Guard

Change-Id: Ie7707fc3baf46f9363fdef6213df098123183ab9
2014-07-01 12:44:04 +02:00
656dd07d29 Dead code
Change-Id: I50b13e27501dfd885e3ed99215d18166d5112bf7
2014-06-30 21:00:59 +02:00
3828e942eb -Werror,-Wunused-macros
Change-Id: I04b79678a488d6dd954a339f678d56f978249b32
2014-06-30 19:55:09 +02:00
01da41b308 tweak helpids now
Change-Id: I2ab7255f634d626cf34ec9f1dcb19d5f24db1c09
2014-06-30 16:31:48 +01:00
eb8c56127a rework resize into a custom widget
so that the order of resizing will happen in the right sequence
to work correctly every time

Change-Id: I1adffe276db3fb80eb34ca74c2ceb51a6ee28526
2014-06-30 16:31:48 +01:00
f90eb33a26 DLG_FPICKER_EXPLORERFILE conversion to .ui
Change-Id: I5d8f5d0182fb6af5111b60caa29912d313c2efa0
2014-06-30 16:31:47 +01:00
8fe9b36f93 loplugin:staticcall
Change-Id: Ic331af3539ed0a8ce6f56697ee1dede004685c32
2014-06-13 17:54:27 +02:00
184a00b962 loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09 10:10:13 +02:00
0e507ae031 various: remove SAL_THROW macro
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-05 08:17:52 +02:00
bcd5da6cb3 fdo#68849: Add header guards to all include files
Added header guard to files in directories forms/ and fpicker/

Change-Id: I5a3a2b1f2aa81d048959cb3223e03ac985539f33
Reviewed-on: https://gerrit.libreoffice.org/9557
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-30 01:44:33 -05:00
ebc0a15515 remove more unnecesary OUString constructor use
when throwing exceptions

Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-29 09:01:40 +02:00
9af0abebfd remove unnecessary use of Reference constructor in throw
Convert code like this:
  throw IOException("xx",
     Reference< XInterface >(static_cast<OWeakObject*>(this)) );
to this:
  throw IOException("xx",
     static_cast<OWeakObject*>(this) );

Change-Id: Ife9f645f0f1810a8e80219126193015502c43dbb
2014-05-27 08:20:11 +02:00
9b791f9c31 remove unnecessary use of OUString constructor when throwing
Change-Id: I4a3f3f911dcfbf88696053215a2fb7a94678244c
2014-05-27 08:20:11 +02:00
bfda48e498 cppcheck: redundantAssignment
Change-Id: I2e49ab5de06568544e0bd15fdf55fd0c2c37509a
2014-05-24 15:46:43 +02:00
ac76cc7e60 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23 22:11:52 +02:00
e7bc3cab01 remove boilerplate in UNO Exception constructor calls
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.

Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +02:00
3db8d606d5 hrc and src files: squeeze multiple newlines
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done

Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-19 20:04:22 +02:00
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
82a26c4bd0 fix windows build
Change-Id: If03c3d7d8c99b020f2d566b0bf58f03d9844441b
2014-05-12 15:58:36 +02:00
0f0c0d6cda Lost closing brace
Change-Id: Ieea3d8e93c0a0652dbaa7b78535094ec96089b09
2014-05-12 14:41:02 +02:00
3d9a284aa6 Missing include
Change-Id: I2cd0de285f9ac96716133d080ad11fcd9e1ca684
2014-05-12 14:27:31 +02:00
70e744b215 fdo#43157 Remove OSL_POSTCOND, prefer SAL_WARN_IF
Change-Id: Ia89a2dce799c7ba90bcd19919195bfd2c7a4a180
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-12 11:32:38 +02:00
5ec7a589be Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8
Change-Id: Ie16923d17541e84e0d7424fffe37caf410786abf
2014-05-10 06:19:42 +02:00