Commit Graph

28 Commits

Author SHA1 Message Date
Stephan Bergmann
2c5b0bb345 Avoid code mixing bool with other integral types
Change-Id: Idf75d03a302df977a41f688eb48e40de31ff2816
2014-01-10 17:11:43 +01: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
Stephan Bergmann
9e2034c033 Missing solar mutex
...as witnessed by the triggered assert

MSVCR90!wassert+0x641
vcllo!ImplDbgTestSolarMutex+0x72 [c:\lo\core\vcl\source\app\dbggui.cxx @ 1750]
tllo!DbgFunc+0x47a [c:\lo\core\tools\source\debug\debug.cxx @ 1120]
vcllo!DbgTestSolarMutex+0xd [c:\lo\core\solver\wntmsci12\inc\tools\debug.hxx @ 295]
vcllo!OutputDevice::ImplInitClipRegion+0x2d [c:\lo\core\vcl\source\gdi\outdev.cxx @ 913]
vcllo!Window::Invert+0xef [c:\lo\core\vcl\source\window\window2.cxx @ 411]
vcllo!ImplCursorInvert+0x437 [c:\lo\core\vcl\source\window\cursor.cxx @ 120]
vcllo!Cursor::ImplRestore+0x27 [c:\lo\core\vcl\source\window\cursor.cxx @ 159]
vcllo!Cursor::ImplDoHide+0x40 [c:\lo\core\vcl\source\window\cursor.cxx @ 216]
vcllo!Cursor::ImplHide+0x3c [c:\lo\core\vcl\source\window\cursor.cxx @ 234]
vcllo!Window::ImplGrabFocus+0x4aa [c:\lo\core\vcl\source\window\window.cxx @ 4053]
vcllo!Window::GrabFocus+0x52 [c:\lo\core\vcl\source\window\window.cxx @ 7544]
tklo!StdTabController::ImplActivateControl+0x1fe [c:\lo\core\toolkit\source\controls\stdtabcontroller.cxx @ 152]
tklo!StdTabController::activateFirst+0x45 [c:\lo\core\toolkit\source\controls\stdtabcontroller.cxx @ 354]
msci_uno!`anonymous namespace'::callVirtualMethod+0x8a [c:\lo\core\bridges\source\cpp_uno\msvc_win32_intel\uno2cpp.cxx @ 76]
msci_uno!`anonymous namespace'::cpp_call+0x4b3 [c:\lo\core\bridges\source\cpp_uno\msvc_win32_intel\uno2cpp.cxx @ 257]
msci_uno!bridges::cpp_uno::shared::unoInterfaceProxyDispatch+0x321 [c:\lo\core\bridges\source\cpp_uno\msvc_win32_intel\uno2cpp.cxx @ 438]
binaryurp_uno!binaryurp::IncomingRequest::execute_throw+0xaa8 [c:\lo\core\binaryurp\source\incomingrequest.cxx @ 245]
binaryurp_uno!binaryurp::IncomingRequest::execute+0xe0 [c:\lo\core\binaryurp\source\incomingrequest.cxx @ 74]
binaryurp_uno!request+0x6b [c:\lo\core\binaryurp\source\reader.cxx @ 85]
cppu3!cppu_threadpool::JobQueue::enter+0x28d [c:\lo\core\cppu\source\threadpool\jobqueue.cxx @ 115]
cppu3!cppu_threadpool::ORequestThread::run+0xc6 [c:\lo\core\cppu\source\threadpool\thread.cxx @ 175]
cppu3!threadFunc+0x18 [c:\lo\core\solver\wntmsci12\inc\osl\thread.hxx @ 187]
sal3!oslWorkerWrapperFunction+0x23 [c:\lo\core\sal\osl\w32\thread.c @ 60]

during JunitTest_toolkit_unoapi on Windows (which does not use a headless mode
for those tests).

Whether locking the class instance's GetMutex() is really necessary here I do
not know, but at least be careful to lock the global solar mutex first.

Change-Id: Icbd7936f4bf8433ef6a36912566d43361e911429
2013-03-22 19:17:20 +01:00
Michael Meeks
c4008ef546 re-base on ALv2 code. Includes:
tkr41: #117828# office crash fixed . (null pointer) + add unit test
    Patch contributed by Tobias Krause
    http://svn.apache.org/viewvc?view=revision&revision=1172105

    Do not add targets for junit tests when junit is disabled.
    Patch contributed by Andre Fischer
    http://svn.apache.org/viewvc?view=revision&revision=1241508

    remove the OutDev::GetKernPair* stubs completely
    Patch contributed by Herbert Duerr
    http://svn.apache.org/viewvc?view=revision&revision=1179221

    reverting un-necessary OS/2 conditionals.
2012-10-03 16:56:06 +01:00
Arnaud Versini
36a2db3722 Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01 18:48:05 +00:00
Oliver Günther
be88027c32 fdo#39468: Translate German comments in toolkit,unotools, & xmloff
Also checked the following with bin/find-german-comments (all
false positives):
- sysui
- xml2cmp
- udm
- ucb

Change-Id: I2c72f973f5cecf56d70b5419e56338170dd55a2e
2012-08-10 21:57:26 +02:00
Norbert Thiebaud
9485f3a6d6 targeted string re-work
Change-Id: If929937d8b1243032983b8b379f067a47d2717a4
2012-05-28 18:09:26 -05:00
Thomas Arnhold
135c63c8f9 fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-04 15:52:57 +02:00
Caolán McNamara
5daa649c56 disabled for 11 years, not like to get fixed soon 2012-04-05 13:57:22 +01:00
Norbert Thiebaud
6a7d81e7a5 remove include of pch header from toolkit 2011-11-27 13:25:40 -06:00
julien2412
09179e24c4 activation order crashes address database (fdo#41022) 2011-10-24 15:51:28 +02:00
Thomas Arnhold
08be19bcb8 Move DBG_TRACE to OSL_TRACE 2011-03-11 23:41:07 +01:00
Joseph Powers
5bd709c6ab Remove DECLARE_LIST( ComponentEntryList, ComponentEntry* ) 2011-02-10 21:48:39 -08:00
Gert Faller
f39607df60 RTL_CONSTASCII_USTRINGPARAM in libs-gui 08 2010-11-22 22:47:26 +01:00
Sebastian Spaeth
4905a19032 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:02:15 +02:00
Jens-Heiner Rechtien
8764506704 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
Rüdiger Timm
d7f9b90b84 INTEGRATION: CWS changefileheader (1.11.210); FILE MERGED
2008/04/01 16:00:58 thb 1.11.210.3: #i85898# Stripping all external header guards
2008/04/01 12:56:51 thb 1.11.210.2: #i85898# Stripping all external header guards
2008/03/28 15:40:16 rt 1.11.210.1: #i87441# Change license header to LPGL v3.
2008-04-11 08:26:39 +00:00
Oliver Bolte
0a898ce103 INTEGRATION: CWS pchfix02 (1.10.136); FILE MERGED
2006/09/01 17:54:22 kaib 1.10.136.1: #i68856# Added header markers and pch files
2006-09-16 11:18:17 +00:00
Rüdiger Timm
92cce94167 INTEGRATION: CWS ooo19126 (1.9.138); FILE MERGED
2005/09/05 16:58:13 rt 1.9.138.1: #i54170# Change license header: remove SISSL
2005-09-09 12:18:19 +00:00
Hans-Joachim Lankenau
f96807bafd INTEGRATION: CWS dba12 (1.8.2); FILE MERGED
2004/04/26 11:04:06 fs 1.8.2.1: #i22982# more tolerant activateTabOrder
2004-06-28 16:00:55 +00:00
Jens-Heiner Rechtien
0035a0d4cd INTEGRATION: CWS frmcontrols02 (1.7.126); FILE MERGED
2004/01/21 16:24:09 fs 1.7.126.1: wrong tabbing in some cases ...
2004-04-13 10:07:14 +00:00
Vladimir Glazounov
1f47db36c3 INTEGRATION: CWS dba03 (1.5.24.1.20); FILE MERGED
2003/02/26 09:35:26 fs 1.5.24.1.20.1: #107691# assertion corrected
2003-04-01 13:06:38 +00:00
Jens-Heiner Rechtien
fd2cf3dc7c MWS_SRX644: migrate branch mws_srx644 -> HEAD 2003-03-27 16:05:12 +00:00
Malte Timmermann
b838fac35f #88105# XServiceInfo 2001-09-04 07:06:31 +00:00
Malte Timmermann
4cf626f02d Improvements for the UnoDialogControl... 2001-01-25 12:40:59 +00:00
Malte Timmermann
76b390391d model and control for uno dialogs 2001-01-24 14:00:58 +00:00
Frank Schönheit
93cdfed825 unotools -> comphelper 2000-11-02 10:12:12 +00:00
Jens-Heiner Rechtien
8ab086b6cc initial import 2000-09-18 16:07:07 +00:00