Commit graph

11508 commits

Author SHA1 Message Date
Fridrich Štrba
3daddf9e01 fix also older gtk+ build 2011-10-05 17:31:29 +02:00
Caolán McNamara
ceb199f0bf conversion operator gone now 2011-10-05 09:34:32 +01:00
Caolán McNamara
f42b66cc51 callcatcher: unused methods 2011-10-05 08:58:11 +01:00
Bjoern Michaelsen
e94a19f3e0 simplfy dmake to gbuild bridgefile 2011-10-05 00:31:50 +02:00
Tor Lillqvist
d5a5be9e7d WaE: unreachable code 2011-10-04 14:25:41 +03:00
Tor Lillqvist
779ae5ee23 WaE: 'e' : unreferenced local variable 2011-10-04 14:25:38 +03:00
Tor Lillqvist
a2a883c144 Fix build against the 10.4 SDK 2011-10-04 14:24:06 +03:00
Caolán McNamara
04723baf6e callcatcher: various unused methods 2011-10-04 09:00:05 +01:00
Tor Lillqvist
84e2f8ff43 Workaround for building against MacOSX 10.6 SDK but with 10.4 as the highest used API 2011-10-03 16:58:43 +03:00
Ivan Timofeev
bd9c699d27 Print preview: set frame size to preview size even if there is no preview 2011-10-03 10:01:40 +01:00
Tor Lillqvist
62892c5cac Kill unused SalFrameWndProcA() function 2011-09-30 16:25:18 +03:00
Tor Lillqvist
d91a698637 Kill unused ImplSalUpdateStyleFontA() function 2011-09-30 16:23:28 +03:00
Norbert Thiebaud
ddc28b8ad6 clean-up ghost traces of unicow 2011-09-30 08:11:31 -05:00
Caolán McNamara
350e1e2456 help gcc 4.6.1 out with ambiguity 2011-09-30 09:09:26 +01:00
Jan Holesovsky
b1920bed1b Fix MinGW runtime; we need only the DLLPOSTFIX, no other magic. 2011-09-29 19:06:38 +02:00
Caolán McNamara
c50612d516 callcatcher: unused code 2011-09-29 09:33:44 +01:00
Tor Lillqvist
69a1f55062 Make deprecation warnings non-fatal even in a -Werror compilation 2011-09-28 17:43:41 +03:00
Tor Lillqvist
bbec618214 WaE: foo does not implement the fooDelegate protocol 2011-09-28 17:43:39 +03:00
Tor Lillqvist
e688d55100 WaE: suggest a space before ';' or explicit braces around empty body in 'while' statement 2011-09-28 17:43:38 +03:00
Tor Lillqvist
2ae1b4eb99 WaE: ATSUI is deprecated in newer SDKs
So when using gcc 4.2.1, turn deprecation warnings off for most of
these source files, sigh.
2011-09-28 17:43:37 +03:00
Tor Lillqvist
63efb738e9 WaE: drop some unused variables 2011-09-28 17:43:36 +03:00
Tor Lillqvist
9db079b96b WaE: NSPICTPboardType is deprecated in 10.6 and later
So turn off -Wdeprecated-declarations for most of this source file
when using gcc 4.2.1 or later.
2011-09-28 17:43:35 +03:00
Tor Lillqvist
9943a3ff49 Fix syntax error that earlier compiler versions didn't mind 2011-09-28 17:43:34 +03:00
Tor Lillqvist
87259f9afe WaE: setAccessoryView is deprecated in 10.5 and later
Don't know how to fix it properly (i.e. use the corresponding
non-deprecated API instead), so just using the pragma to ignore that
warning for now...

Unfortunately gcc 4.2.1 doesn't seem to implement the 'GCC diagnostic
push/pop' pragmas, so we just have to ignore the warning for the
method in question and the rest of the file. But luckily it is the
last method;)
2011-09-28 17:43:33 +03:00
Tor Lillqvist
0e0393b06a WaE: 'NSWindow' may not respond to '-windowShouldClose:'
We get this warning when compiling with g++ 4.2.1 from the 10.6
SDK. As far as I see there is no command-line option to get rid of it,
and thus also no pragma to avoid it just for the lines of code in
question.

So to make it compile with -Werror also using this compiler/SDK,
expand the Objective-C message call syntactic sugar into a
objc_msgSend() call instead. That should be equivalent, shouldn't it?
2011-09-28 17:43:32 +03:00
Tor Lillqvist
82129a0d35 Fix syntax error that earlier compiler versions didn't mind 2011-09-28 17:43:31 +03:00
Tor Lillqvist
0f644656af WaE: declared with greater visibility than the type of its field
To be specific, 'vcl::PageSyncData' declared with greater visibility
than the type of its field 'vcl::PageSyncData::mActions'

Adding a SAL_DLLPRIVATE to the PageSyncData struct, too, then.

Warning was emitted by g++ 4.2.1 against the MacOSX 10.6 SDK.
2011-09-28 17:43:30 +03:00
Stephan Bergmann
01e0b770a5 Let SalAbort dump core on developer builds. 2011-09-28 15:24:52 +02:00
Caolán McNamara
5eb475f308 ByteString->rtl::OStringBuffer 2011-09-28 09:20:32 +01:00
Tor Lillqvist
296823ab86 More WaE fixes for iOS 2011-09-27 22:37:48 +03:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
David Tardon
2e2dcefb5f make WinResTarget's name independent of LinkTarget 2011-09-27 20:01:48 +02:00
Michael Meeks
642553238c add GetParentDialog to VCL's Window, and remove DLGWIN & cut/paste 2011-09-27 15:07:12 +01:00
Tor Lillqvist
36e4ca307c WaE: Silence warnings for the iOS code
No semantic changes, the iOS code still is mostly dummy.
2011-09-27 07:32:15 +03:00
Pierre-André Jacquod
764b47e8a1 cppcheck: reduce scope of var in vcl bitmap3.cxx 2011-09-26 22:02:42 +02:00
Pierre-André Jacquod
9e1966d9ac cppcheck: reduce scope of var in vcl sft.cxx 2011-09-26 22:02:42 +02:00
Pierre-André Jacquod
f9dd399a57 cppcheck: reduce scope of variabl.e in vcl, cff.cxx 2011-09-26 22:02:41 +02:00
Pierre-André Jacquod
ae21e90fe8 dead code deleted in vcl toolbox.cxx 2011-09-26 22:02:41 +02:00
Pierre-André Jacquod
83ad767def cppcheck: reduce scope of var in vcl toolbox.cxx 2011-09-26 22:02:41 +02:00
Pierre-André Jacquod
b01f94c5ae cppcheck: scope reduction of var in vcl outdev3.cxx
and deletion of a varialbe used as constant since 2002
2011-09-26 22:02:40 +02:00
Pierre-André Jacquod
a267506512 cppcheck: reduce scope of var in vcl outdev2.cxx 2011-09-26 22:02:40 +02:00
Matúš Kukan
e1de59eb46 unusedcode: vcl::PrinterFoo 2011-09-24 15:52:31 +02:00
Caolán McNamara
8251f0b954 WaE: signed/unsigned error 2011-09-22 20:10:35 +01:00
Martin Hosken
162676cb6a Upgrade graphite to 1.0.3 fix surrogate support 2011-09-22 22:49:07 +07:00
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
Tor Lillqvist
4f3e9f30a0 Always link with user32 2011-09-22 15:46:15 +03:00
Thomas Arnhold
be6a8677a6 OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;

- removed trailing whitespaces and (multiple) newlines
2011-09-21 09:28:39 +02:00
Caolán McNamara
2c0831ebbf ByteString->rtl::OString[Buffer] 2011-09-20 16:54:54 +01:00
Caolán McNamara
39b24f2b07 ByteString->rtl::OStringBuffer 2011-09-20 10:11:43 +01:00
Caolán McNamara
07a793a2b7 WaE: and no longer need this here then 2011-09-20 10:11:42 +01:00