Commit Graph

57 Commits

Author SHA1 Message Date
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
5b04c9063c remove unused and commented out code
This code gets never called.

Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-04 11:34:07 +00:00
0db25d61bc String::CreateFromAscii removal
Change-Id: I86a33ef14b2bcdea1655db410f36d799689a1377
Reviewed-on: https://gerrit.libreoffice.org/2402
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-02-26 10:38:09 +00:00
3207c85fc9 Another lacking parenthesis
Change-Id: If5944101688b0219d2476e5c3b29f704634c3bcc
2013-01-20 15:23:12 +01:00
15e0f6d593 Fix missing parenthesis
Change-Id: I65d54513bf6ff9ec62edcb3388302a8352f48898
2013-01-20 12:09:32 +01:00
23ef230fa0 fdo#46808, Use service constructor for presentation::SlideShow
Change-Id: Ib757190a9452e8cb69bff417ebd7b558038e1537
2013-01-15 09:56:02 +02:00
9ac86f484b Improvement on previous commit, UCB clean up
* As UCB is only ever initialized with "Local"/"Office", remove this
  configuration vector completely.  The "create" ctor creates an instance
  internally initialized with those "Local"/"Office" keys.  Special (test) code
  can still instantiate an uninitialized one via plain createInstance.  And for
  backwards compatilibity process startup still ensures to create an initialized
  instance early, in case there is still code out there (in extensions) that
  later calls plain createInstance and expects to get the already-initialized
  (single) instance.

* XInitialization is an "implementation detail" of the UniversalContentBroker
  service, do not expose in XUniversalContentBroker.

* ucbhelper/configurationkeys.hxx is no longer needed and is removed.

* ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that
  requires ucbhelper::Content constructors to take explicit XComponentContext
  arguments now.

* The only remaining code in ucbhelper/source/client/contentbroker.cxx is
  Android-only InitUCBHelper.  Is that relevant still?

Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14 18:24:49 +02:00
535e83550e re-base on ALv2 code. Includes:
Avoid some uses of non portable #!/bin/bash in shell scripts.
    Patch contributed by Pedro Giffuni
    http://svn.apache.org/viewvc?view=revision&revision=1235297
    remove redundant namespace, patch contributed Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1162610
    removal of OS/2 port changes, and preferring our similiar
    tools/inc/tools/solar.h DLLPOSTFIX cleanup.
    i118595 - Removal of the use of getopt() from rscdep.
    Patch contributed by Andre Fische
    http://svn.apache.org/viewvc?view=revision&revision=1202270
2012-07-11 18:12:35 +01:00
328e2263fb targetted re-work of cppunit pieces. 2012-06-27 19:13:11 +01:00
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
6933730601 targeted string re-work
Change-Id: Ia1ab054537ac379f08ecd1950ca686d08be35d03
2012-06-02 16:48:36 -05:00
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
2c3d0ff9f8 Use SAL_N_ELEMENTS
Some more like Thorstens diff 9c59cd15b150638c845bbc275b9b04460afc23bd

Done with some regex magic (and a check if this var is an array):

s/sizeof\(\s*$var\s*\)\s*\/\s*sizeof\(\s*\*$var\s*/SAL_N_ELEMENTS\($var/gs
2012-01-10 16:52:33 +01:00
97722c8215 Drop unnecessary inclusions of <sal/main.h> 2011-11-05 12:11:16 +02:00
d97b1a7305 add missing braces for if statement, making correct scope 2011-10-07 15:57:56 +02:00
6c2d66e525 remove const sal_Char * casts of rtl::OUStringToOString results, fixes ucb 2011-10-05 14:00:34 +01:00
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
d996328cd5 sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
ca648de248 gbuildize slideshow 2011-04-21 20:56:05 +02:00
a0c13ffcce Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts:
	sd/source/ui/func/fuinsfil.cxx
	sd/source/ui/func/fuprobjs.cxx
	sd/source/ui/slideshow/slideshowimpl.cxx
	sd/source/ui/slidesorter/view/SlsPageObjectViewObjectContact.cxx
	sd/source/ui/toolpanel/ToolPanelViewShell.cxx
	sd/source/ui/view/drawview.cxx
	sd/source/ui/view/drtxtob.cxx
	sd/source/ui/view/outlnvsh.cxx
	sd/source/ui/view/outlview.cxx
2011-03-18 15:40:35 +01:00
c61cd1a5a2 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 2011-03-12 20:06:58 +01:00
c64a901829 Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-12 14:13:33 +01:00
20a76c9e43 Some cppcheck cleaning 2011-02-10 14:13:16 +01:00
66daafdad2 Trying to remove the stlport mention from the code 2011-02-09 19:57:04 +01:00
c71de19e96 Port stuff to our private implementation of SGI extensions 2011-02-08 17:41:39 +01:00
5cffde5b2d Replace suitable equalsAscii calls with equalsAsciiL.
Done with sed -i 's%\(\.equalsAscii\)(\(\s\?"[^"]\+"\)\(\s\?\))%\1L(\3RTL_CONSTASCII_STRINGPARAM(\2\3)\3)%g'.
2011-01-20 10:34:08 +01:00
ec8fbbb741 removetooltypes01: #i112600# remove tooltypes from slideshow and forms 2011-01-13 16:49:46 +01:00
6d7760eb3e RTL_CONSTASCII_USTRINGPARAM slideshow test 2010-12-15 07:47:09 +01:00
f1c45fad02 Make slideshow unittest work again
Well, it still fails. But for all the right reasons.
2010-11-15 17:43:14 +01:00
daebf4430d RTL_CONSTASCII_USTRINGPARAM for impress 2010-11-13 09:12:41 +01:00
24e156423d RTL_CONSTASCII_USTRINGPARAM macro 2010-11-02 21:16:14 +00:00
55ae7b1537 add modelines to .hxx files as well 2010-10-28 15:50:10 +01:00
80b0861510 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:43 +02:00
sb
13ae9dea8a sb118: merged in DEV300_m72 2010-02-25 12:46:45 +01:00
9e19ff00c7 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
sb
20001a2598 sb118: #i108776# changed addsym.awk to also export STLport num_put symbols, and simplified it by requiring that first section is labeled UDK_3_0_0; adapted map files accordingly, replacing many individual ones with solenv/src templates 2010-01-29 17:01:54 +01:00
aa009b1d9a aw078: resync to DEV300m68for integration 2009-12-21 20:40:13 +01:00
602841adb3 #i97509# continued matrix tooling and adapting the usages now to all the ooo code 2009-09-22 18:14:05 +02:00
776336dc70 #i103496#: split cppunit in a pure external lib and a lib depending on sal -> testshl2 2009-09-14 19:06:55 +02:00
beb0db15c9 INTEGRATION: CWS changefileheader (1.3.46); FILE MERGED
2008/03/31 14:00:33 rt 1.3.46.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:39:05 +00:00
61d624d134 INTEGRATION: CWS changefileheader (1.2.46); FILE MERGED
2008/03/31 14:00:33 rt 1.2.46.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:38:49 +00:00
9620b1a2af INTEGRATION: CWS changefileheader (1.4.6); FILE MERGED
2008/03/31 14:00:33 rt 1.4.6.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:37:46 +00:00
c7b7652618 INTEGRATION: CWS changefileheader (1.2.74); FILE MERGED
2008/03/31 14:00:33 rt 1.2.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:37:31 +00:00
73a6b5a74d INTEGRATION: CWS changefileheader (1.4.30); FILE MERGED
2008/03/31 14:00:33 rt 1.4.30.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:37:17 +00:00
5ea3043756 INTEGRATION: CWS supdremove02 (1.3.44); FILE MERGED
2008/01/29 08:07:39 rt 1.3.44.1: #i85482# Remove UPD from library name
2008-02-25 15:44:07 +00:00
ecbabfb085 INTEGRATION: CWS transogl01 (1.3.4); FILE MERGED
2007/07/27 13:30:59 smmathews 1.3.4.1: Issue number:
Submitted by:
Reviewed by:
2007-11-09 09:19:45 +00:00
6bee0dc16e INTEGRATION: CWS presfixes12 (1.2.12); FILE MERGED
2007/02/10 23:23:54 thb 1.2.12.4: #i37778# Renamed setMouseCursor() to setCursorShape() at View interface (name clash with API method otherwise); added LayerManager/Layer unit tests; fixed a bunch of bugs/glitches found during unit testing
2007/02/06 17:18:15 thb 1.2.12.3: #i37778# Moved clear() method from View to ViewLayer (also sprites need to be cleared); fixed a few more cases of local code style violations; removed redundant inline keywords; finished Layer/LayerManager rework (Layer now represents ViewLayers, shapes and rendering are fully under LayerManager control); made shape comparator reusable
2007/01/31 14:30:34 thb 1.2.12.2: #i37778# removed View::isContentDestroyed() and mbContentValid distinction on View::clear() - clear() now always clears view the hard way; added explicit screen update to CombTransition, which bypasses SlideChangeBase functionality
2007/01/31 11:25:19 thb 1.2.12.1: #i37778# Added prefetch to Animation interface (to facilitate prefetching - nice for slide transitions, which otherwise lag noticeably while generating the slide bitmap); brought tests up to par, re-enabling unit tests and demo show
2007-07-17 14:22:20 +00:00
b714a1f57b INTEGRATION: CWS presfixes12 (1.1.2); FILE ADDED
2007/05/10 20:32:41 thb 1.1.2.3: #i37778# Reworked LayerManager::updateShapeLayers - now much better aligned with general shape update, and avoids superfluous rendering; made unit tests work again; passing down slide background repaint status to LayerManager; relaxed preconditions for Shape::getUpdateArea() - no longer requires views to work; now catching singular view matrix and using sensible default at API border
2007/02/25 01:10:29 thb 1.1.2.2: #i37778# Cleared up error handling a lot: no longer quenching RuntimeExceptions; reporting assertions in the debug case; ViewLayer  now reports resized sprite (which needs re-render from all shapes); fixed missing subset area reduction for glyph-level animations; added return of resize state from  Layer::commitLayerBounds(); adapted unit tests to corrected behaviour
2007/02/10 23:23:54 thb 1.1.2.1: #i37778# Renamed setMouseCursor() to setCursorShape() at View interface (name clash with API method otherwise); added LayerManager/Layer unit tests; fixed a bunch of bugs/glitches found during unit testing
2007-07-17 14:22:01 +00:00
dbb2420f91 INTEGRATION: CWS presfixes12 (1.1.2); FILE ADDED
2007/02/25 01:10:29 thb 1.1.2.2: #i37778# Cleared up error handling a lot: no longer quenching RuntimeExceptions; reporting assertions in the debug case; ViewLayer  now reports resized sprite (which needs re-render from all shapes); fixed missing subset area reduction for glyph-level animations; added return of resize state from  Layer::commitLayerBounds(); adapted unit tests to corrected behaviour
2007/02/10 23:23:53 thb 1.1.2.1: #i37778# Renamed setMouseCursor() to setCursorShape() at View interface (name clash with API method otherwise); added LayerManager/Layer unit tests; fixed a bunch of bugs/glitches found during unit testing
2007-07-17 14:21:51 +00:00