e2080e70fe
new compilerplugin returnbyref
...
Find places where we are returning a pointer to something, where we can
be returning a reference.
e.g.
class A {
struct X x;
public X* getX() { return &x; }
}
which can be:
public X& getX() { return x; }
Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-24 11:34:21 +02:00
f106f41956
postwin.h handles OPTIONAL already
...
Change-Id: Ia04bc545f90a093f70bbd7036b7b9403af15daa1
2014-05-09 22:32:53 +02:00
4da62012fe
Fix a memory leak by freeing last pBytes
...
Change-Id: I7d170d704fa8950057698856d12df63992e38381
Reviewed-on: https://gerrit.libreoffice.org/8822
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-04-04 07:20:50 -05:00
0e6a2601b3
Convert code that calls OUString::getStr()[] to use the [] operator
...
This also means that this code now gets bounds checked in debug builds.
Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-11-04 08:06:10 +02:00
19277d02fb
osl_getThreadIdentifier(0) -> osl::Thread::getCurrentIdentifier()
...
Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44
2013-08-21 14:19:10 +02:00
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
e103887c8c
QUARTZ is equivalent to MACOSX
...
So just check MACOSX in the sources, and don't pass any -DQUARTZ to
compilations.
Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
2013-01-11 11:16:59 +02:00
a767448225
Search for char instead of 1 char long string, when possible.
...
It is faster and even avoid memory allocation somtimes.
Change-Id: Ic12ff70e95953de44ef5798131150669d07a5445
2012-07-13 16:36:04 +02:00
04b8bac4a9
finalize gcc 4.7 string literal operators
2012-01-24 10:21:13 +01:00
8f46815969
extensions: plugin: try to fix Mac build:
...
Move everything that requires ObjectiveC stuff to the ObjC++ files in
the aqua subdirectory, where it belongs.
2012-01-09 18:53:18 +01:00
0fd40fe17b
Fix for fdo43460 Part XVI getLength() to isEmpty()
...
Part XVI
Module
extensions
2011-12-23 09:36:43 +01:00
93a9f170be
catch exception by constant reference
2011-12-10 22:16:07 +09:00
0a96c1f4f4
remove include of pch header in extensions
2011-11-27 13:08:28 -06:00
d448b59e4b
fix build against new npapi.h (some more)
2011-11-08 12:36:08 +00:00
cfe3d74c60
fix build against new npapi.h
2011-11-08 10:01:44 +00:00
5f962e4465
Fix Windows build of extensions
2011-03-29 21:59:45 +02:00
02db199832
Remove "using namespace ::rtl"
2011-02-26 01:14:41 +01:00
255677ab5b
Trying to remove the stlport mention from the code
2011-02-09 19:56:30 +01:00
d58c6e0517
cleanup floating comments
2010-11-22 12:12:58 +00:00
f3eb77586e
further removing of dead code
...
Hello,
here in components some other pieces to delete. Again some small parts
in case I was to generous in deleting.
regards
>From 1535d5e774e7d1ef08696344be8fcdfc6828f2c3 Mon Sep 17 00:00:00 2001
From: pjacquod <pjacquod@alumni.ethz.ch >
Date: Sun, 21 Nov 2010 12:10:15 +0100
Subject: [PATCH 1/5] remove dead code components workben
2010-11-22 12:10:30 +00:00
1cc2282705
fix AIX build
2010-10-13 15:44:23 +01:00
ead7290449
Add vim/emacs modelines to all source files
...
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com )
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de >
2010-10-13 10:57:23 +02:00
36de66bdf0
changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2010-02-12 15:01:35 +01:00
c8d9c46813
#i104338#: fix build without Java
2009-11-23 09:38:29 +00:00
62cd9aa9be
CWS-TOOLING: integrate CWS cmcfixes59
...
2009-05-18 10:10:11 +0200 cmc r272001 : #i102012# remove extensions warnings, and set as warnings-free
2009-05-16 17:29:59 +0200 cmc r271981 : #i101990# silence warning, logic is unchanged
2009-05-16 17:13:59 +0200 cmc r271980 : #i100412 remove warning, logic is unchanged
2009-05-16 17:08:57 +0200 cmc r271979 : #i100412 remove warning, logic is unchanged, matches comments for intent
2009-05-16 17:01:08 +0200 cmc r271978 : #i86576# remove uncallable code
2009-05-16 15:41:46 +0200 cmc r271977 : #i101988# fix up consts for warning-free
2009-06-04 15:47:31 +00:00
cc01b14ca1
CWS-TOOLING: integrate CWS vcl100
...
2009-03-26 21:27:56 +0100 pl r270106 : #i10000# fix an include path missing when using configure
2009-03-16 12:18:24 +0100 pl r269518 : #i98963# revert change
2009-03-13 14:56:47 +0100 pl r269483 : #i98980# work around a mysterious crash
2009-03-12 20:02:48 +0100 pl r269440 : resolve some warnings
2009-03-12 19:30:32 +0100 pl r269439 : resolve some warnings
2009-03-12 18:07:47 +0100 pl r269432 : solve some warnings
2009-03-12 09:07:33 +0100 hdu r269358 : #i100134# remove obsolete RCS/CVS keywords from source
2009-03-11 21:18:28 +0100 pl r269355 : #i100134# change sft.h and ttcr.h to c++ headers
2009-03-11 20:19:15 +0100 pl r269353 : #i100134# remove some ugly C style lists
2009-03-11 18:19:35 +0100 hdu r269347 : #i100134# make psprint.fontsubset source C++ and make it compile
2009-03-11 14:44:35 +0100 hdu r269334 : #i99862# fix justification of vocalized hebrew (thanks hennerdrewes)
2009-03-11 13:40:35 +0100 pl r269327 : CWS-TOOLING: rebase CWS vcl100 to trunk@269297 (milestone: DEV300:m43)
2009-03-10 16:49:34 +0100 hdu r269284 : #i1000020# add style-matching heuristics for single-char stylenames
2009-03-10 15:42:53 +0100 hdu r269278 : use fast ASCII-matching for extracting attributes from PSName
2009-03-09 16:29:08 +0100 pl r269200 : #i98980# skip bundles that are not NP plugins
2009-03-09 13:26:14 +0100 hdu r269083 : #i99868# fix text breaking for large nCharExtra
2009-03-09 12:20:01 +0100 hdu r269078 : #i99868# fix text breaking for large nCharExtra
2009-03-06 17:35:27 +0100 pl r269032 : #i98980# mouse events
2009-03-06 17:10:14 +0100 pl r269024 : #i98980# flash animations, initial paint problem
2009-03-05 20:00:21 +0100 pl r268939 : #i98980# more plugin support
2009-03-05 15:35:06 +0100 pl r268914 : #i98980# first twitches of a live plugin
2009-03-05 15:34:10 +0100 pl r268913 : #i98980# access to carbon headers
2009-03-04 15:46:29 +0100 pl r268839 : #i98980# generalize vcl SystemChildWindow from QTMovieView to NSView
2009-03-04 15:40:20 +0100 pl r268838 : #i98980# generalize vcl SystemChildWindow from QTMovieView to NSView
2009-03-04 11:30:49 +0100 hdu r268801 : #i99722# for OSX any anisotropy reported for the display resolution is best ignored
2009-03-02 15:52:21 +0100 pl r268655 : #i99770# fix ambiguous looking if statements (thanks cmc)
2009-03-02 13:28:17 +0100 pl r268649 : #i99770# fix ambiguous looking if statements (thanks cmc)
2009-02-27 15:39:30 +0100 pl r268603 : #i97512# omit degenrate current matrix
2009-02-27 12:37:29 +0100 pl r268579 : #i99716# remove unused code (thanks cmc)
2009-02-27 11:21:18 +0100 pl r268569 : #i99705 remove unused code (thanks cmc)
2009-02-23 10:42:00 +0100 pl r268345 : #i99492# remove a typo (thanks tono)
2009-02-19 12:46:21 +0100 pl r268274 : #i99411# add new mimetype
2009-02-10 12:57:59 +0100 pl r267548 : #i98980# more aqua plugin changes
2009-02-06 16:50:34 +0100 pl r267475 : #i98980# plugin detection
2009-02-06 16:46:48 +0100 pl r267474 : #i98980# make debug compilation work
2009-02-06 12:16:37 +0100 pl r267449 : #98963# add missing wrapper
2009-02-04 20:06:59 +0100 pl r267402 : #i97135# work around a gcc x64 optimizer bug
2009-02-04 13:45:36 +0100 pl r267380 : #159153# do not emit empty glyph vector
2009-02-03 17:47:16 +0100 pl r267338 : #i98533# recent gtk versions do not support GTK_MODULES for accessibility anymore
2009-02-03 10:39:46 +0100 pl r267305 : #i97146# check if the idle formatted view is still valid
2009-01-28 11:23:23 +0100 pl r267045 : #i42227# #i48965# refinement of check markings images
2009-01-27 19:40:01 +0100 pl r267016 : #i42227# #i48965# change menus wrt checkmarks and images
2009-04-01 11:54:14 +00:00
077246a788
INTEGRATION: CWS changefileheader (1.16.48); FILE MERGED
...
2008/03/31 12:31:35 rt 1.16.48.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:22:47 +00:00
4b0e9a378b
INTEGRATION: CWS wae4extensions (1.15.82); FILE MERGED
...
2007/10/03 12:46:42 ericb 1.15.82.3: #i81612# fix build error, because of useless NULL
2007/10/01 10:26:56 fs 1.15.82.2: #i81612# warning-free code (unxlngi6)
2007/09/27 10:20:01 fs 1.15.82.1: #i81612# warning-free code
2008-01-14 13:50:52 +00:00
61bf176058
INTEGRATION: CWS vcl77 (1.14.120); FILE MERGED
...
2007/03/23 15:08:21 pl 1.14.120.1: #i74221# better behaviout of NPN_GetValue
2007-04-16 13:24:17 +00:00
f579959ca9
INTEGRATION: CWS pchfix02 (1.13.130); FILE MERGED
...
2006/09/01 17:26:35 kaib 1.13.130.1: #i68856# Added header markers and pch files
2006-09-16 12:08:14 +00:00
0382308333
INTEGRATION: CWS vcl49 (1.11.60); FILE MERGED
...
2005/12/14 15:44:28 pl 1.11.60.1: #i56878# use mozilla headers instead of npsdk, use OJI definition
2006-01-20 11:58:17 +00:00
48d7792919
INTEGRATION: CWS cmcfixes21 (1.11.48); FILE MERGED
...
2005/11/10 16:17:51 cmc 1.11.48.1: #i53612# np_sdk optional on MOZ
2005-12-21 10:13:48 +00:00
07fe1f550b
INTEGRATION: CWS ooo19126 (1.10.308); FILE MERGED
...
2005/09/05 12:59:43 rt 1.10.308.1: #i54170# Change license header: remove SISSL
2005-09-08 18:51:16 +00:00
cffc9233b4
INTEGRATION: CWS vcl18 (1.9.138); FILE MERGED
...
2004/02/10 14:56:11 pl 1.9.138.1: #i12911# possibly provide seekable streams
2004-03-17 09:13:54 +00:00
755863ab03
INTEGRATION: CWS vcl09 (1.8.8); FILE MERGED
...
2003/05/09 07:51:08 pl 1.8.8.5: #109426# correct debug macro
2003/05/08 18:48:19 pl 1.8.8.4: #109426# do not impose a NPN_GetURL stream onto a plugin again
2003/05/08 13:07:46 pl 1.8.8.3: #109426# asynchronous GetURL
2003/05/08 12:55:34 pl 1.8.8.2: #109426# cleanup allocators, react on no plugin match
2003/05/08 12:30:35 pl 1.8.8.1: #109426# cleanup allocators, react on no plugin match
2003-05-28 11:37:29 +00:00
c04cd3958a
INTEGRATION: CWS vcl08 (1.6.84); FILE MERGED
...
2003/04/07 18:00:09 pl 1.6.84.1: #108596# workaround funny javascript urls
2003-04-17 14:13:58 +00:00
299d5933a1
INTEGRATION: CWS dbgmacros1 (1.6.80); FILE MERGED
...
2003/04/09 10:54:47 kso 1.6.80.1: #108413# - debug macro unification.
2003-04-15 15:17:20 +00:00
bdc9ccf5eb
#95301# swf
2001-12-07 10:10:15 +00:00
3f8677a743
#95301# swf
2001-12-07 09:54:52 +00:00
9fcd600eec
#92403# move plugins into own executable like SO5.2
2001-10-23 16:31:20 +00:00
e6b472c078
#79029# change datatransfer to use UCB (DataSourceFactory service vanished)
2000-12-07 18:29:03 +00:00
a71209facd
Remove stl/ from #include statement
2000-11-23 21:18:20 +00:00
95117e7fef
initial import
2000-09-18 15:18:56 +00:00