Stephan Bergmann
50b02731ca
Replace scary reinterpret_casts with OUString::unacquired
...
...and actually fix some of them
Change-Id: I3493ceb65f305466d167304bd77058adb042067c
2015-03-30 12:55:22 +02:00
Krisztian Pinter
f863d2602f
fdo#57950 Replace chained append() with operator+
...
Replaced all in cli_ure
Change-Id: I144542f386fe26444c290edd9e23b26cb07941a6
Reviewed-on: https://gerrit.libreoffice.org/15040
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-03-30 09:55:37 +00:00
Michael Weghorn
54cbb57d4c
fdo#39440 reduce scope of local variables
...
This addresses some cppcheck warnings.
Change-Id: Ib35eb591534c3f23adc3cb7b7fa9696dc5cbeabf
Reviewed-on: https://gerrit.libreoffice.org/13383
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2014-12-09 03:24:35 +00:00
Andrea Gelmini
da40cac540
Fix common typos. No automatic tools. Handmade…
...
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2014-11-12 11:04:11 +00:00
Stephan Bergmann
04740cb7e2
cli_ure (Windows): std::auto_ptr -> std::unique_ptr
...
Change-Id: Ibe794daffa347d194ff8c66a44c7eec4bcc9b83d
2014-10-02 15:20:26 +02:00
Julien Nabet
b19db6b21d
Typo: apend->append
...
Change-Id: I062c95ca8d478ba6c241723dda25c1dc4d7bb852
2014-06-29 13:15:51 +02:00
Thomas Arnhold
49dff05943
cli_ure: fix dbglevel=2 build on windows
...
Some blocks are completely unused.
According to http://msdn.microsoft.com/de-de/library/ms235298.aspx
rtl_uString * __pin * pp_sInterfaces = &_sInterfaces;
should be
pin_ptr<rtl_uString *> pp_sInterfaces = &_sInterfaces;
Change-Id: I039e94649d542fb5b51231b2e0df0a4dc1170c19
Reviewed-on: https://gerrit.libreoffice.org/9318
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2014-05-12 14:53:26 +00:00
Noel Grandin
4f9b21248f
simplify ternary conditions "xxx ? yyy : false"
...
Look for code like:
xxx ? yyy : false;
Which can be simplified to:
xxx && yyy
Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-05-05 12:47:48 +02:00
Noel Grandin
52bbd9cc00
remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii calls
...
Convert code like:
aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" ));
to:
aStrBuf.append( "ln(x)" );
which compiles down to the same code.
Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
2013-11-20 10:07:32 +02:00
Philipp Riemer
f212aa9f84
fix existing comments
...
Change-Id: I06dca63053dae5d3dceb49bf67adb0c100b56e8b
2013-08-31 22:41:12 +02:00
Philipp Riemer
78ced6235b
fix indentation
...
This is a follow up commit to
- 22d1beb78a
- 1c7af455ab
Change-Id: I55ff666c357c89ad355a1a5bc0d0347fcc188476
2013-08-31 22:41:11 +02:00
Philipp Riemer
bf42b6f9f5
fdo#62475 - remove visual noise
...
This is a follow up commit to
- 22d1beb78a
- 1c7af455ab
Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-31 22:41:10 +02:00
Michael Meeks
1c7af455ab
Re-work 8bit characters in source code, or remove them.
...
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3
Reviewed-on: https://gerrit.libreoffice.org/5550
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Michael Meeks <michael.meeks@suse.com >
Tested-by: Michael Meeks <michael.meeks@suse.com >
2013-08-20 19:30:59 +00:00
Luboš Luňák
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
Thomas Arnhold
39d45390f4
removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
...
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms
Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-19 10:48:30 +00:00
Tor Lillqvist
13ed66c9ce
s/Whith/With/
...
Change-Id: I098290a33a3d455594bd200034b279eef02c792b
2013-02-22 09:39:47 +02:00
Jean-Noël Rouvignac
97eb8a6e0e
Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
...
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz >
Reviewed-by: Luboš Luňák <l.lunak@suse.cz >
2013-01-30 12:54:40 +00:00
Thorsten Behrens
66a175834c
c++ API: use css alias in generated headers, adds global css decl
...
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star
Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.
Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
Peter Foley
f61e81a6ef
fix warnings in cli_ure
...
Change-Id: I4e081473612403e0bf277e8dbf5f1b9a15541dd7
2012-10-24 10:19:51 -04:00
Tor Lillqvist
1b66ced236
Managed C++ to C++/CLI conversion also for the debug code
...
Change-Id: Ibb4f5e386644a67905421d2f9c33336a119fca88
2012-10-08 14:29:39 +03:00
Peter Foley
4b56d82c7d
convert uno_bridge to new syntax
...
Change-Id: Iac5e9a860f7ef68104c4cfc19abe686b754190af
2012-10-07 10:42:14 +02:00
Michael Meeks
e18655e475
re-base on ALv2 code.
2012-06-27 19:30:33 +01:00
Joseph Powers
0c9d2b9cb3
precompiled_cli_ure.hxx is empty, so just remove it
2011-11-02 07:52:19 -07:00
Fridrich Štrba
3f411f3631
Adapt to removal of dangerous operators
2011-10-05 10:08:59 +02:00
Julien Nabet
933e22880b
Remove "using namespace ::rtl"
2011-03-02 21:53:12 +01:00
Sebastian Spaeth
a715e1b3d0
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-14 17:04:31 +02:00
Jens-Heiner Rechtien
7c80db2eb3
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
Kurt Zenker
edf64c5d88
INTEGRATION: CWS jl104 (1.3.4); FILE MERGED
...
2008/06/18 14:25:01 jl 1.3.4.1: #i88078# cli_ure moved to URE, therefore it can only build ure types, tests moved to testtools
2008-06-25 11:14:07 +00:00
Rüdiger Timm
2af17f17f3
INTEGRATION: CWS changefileheader (1.2.34); FILE MERGED
...
2008/03/31 07:22:36 rt 1.2.34.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:53:09 +00:00
Kurt Zenker
b1f96c0a7b
INTEGRATION: CWS bunoexttm (1.1.2); FILE ADDED
...
2007/02/15 10:19:42 kr 1.1.2.2: updated: got latest patch from bridges/source/cli_uno
2006/12/19 12:05:23 kr 1.1.2.1: added: moved cli_uno bridge from bridges to here
2007-05-09 12:31:07 +00:00