a8647dd030
sal_Bool to bool
...
Change-Id: I427e9bb30cab4698a2495de7445a4a4982abd7b4
2012-08-20 09:47:25 +09:00
38f3fe0432
sal_Bool to bool
...
Change-Id: I6206ee7e17e12388ea644123e180842df3e3a7ee
2012-08-19 17:55:27 +09:00
63c508e3e8
re-base on ALv2 code. Includes:
...
118568: switch to using ucpp
Patch contributed by Juergen Schmidt
http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18 09:29:19 +01:00
6b11a18071
Some cppcheck cleaning
...
Change-Id: I14cab3dfd26ac1568feef902b566873cecf049b9
2012-06-30 18:21:26 +02:00
57154616f0
Remove UNO includes comments
...
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
2c757293b8
reduce static_initialization_and_destruction chain
...
Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
2012-06-25 14:19:03 +01:00
c3f2401d49
reduce scope and replace some String::CreateFromAscii
...
Change-Id: I8c375e3bfbcd3d7046a8bdb1968934b7d7ca96f8
2012-06-21 15:07:52 +01:00
392a483e10
fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
...
Update code to use factory method PathSubstitutions::create
Change-Id: I3721bd93c36b207d849eea19102f5ac61cadd205
Signed-off-by: Stephan Bergmann <sbergman@redhat.com >, added some tweaks.
2012-06-06 10:01:22 +02:00
d08578912f
fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
...
Update calls to factories to use new SimpleFileAccess::create method
Change-Id: Ie5b0696fe2228a9033b19969245a53c21a61aa14
Signed-off-by: Stephan Bergmann <sbergman@redhat.com >, added some tweaks.
2012-06-06 10:01:22 +02:00
aca9239724
targeted string re-work
...
Change-Id: Ia651a93951da514105183775a5f49d031a192937
2012-06-02 17:57:17 -05:00
dc0d009f10
targetted misc. minor cppcheck cleanups reversion
...
Change-Id: Ic7f91c035d3e7f0e792d2e9ab217e1fc4ebcf697
2012-05-31 14:58:05 +01:00
c9afb3f5a7
This incorporates the suggested changes.
2012-04-23 19:37:11 +02:00
e4fb171d3a
Replaced a few equal calls with ==
2012-04-08 19:24:00 +02:00
d6bc02f8c4
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
2012-04-06 20:03:42 +02:00
743f22045c
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
...
Pattern used:
find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
15f14ec794
reorganize trickier statics
2012-04-02 14:53:48 +01:00
16244e7f24
removed duplicate includes in avmedia / basic / canvas / chart2 / comphelper
2012-03-28 00:30:29 +09:00
ed0ffbba06
over-engineered thread-safe static OUString
...
This is a ridiculous over-engineered thread-safe static string for
something which is called so few times, and costs 1k of long-term
memory as the OUString dtor needs to be put into a callback
queue to get called at module unload time.
Just return a new string every time, *rolls eyes*
2012-03-22 12:26:42 +00:00
e4fe6a9c46
state *what* was not found when throwing exception
2012-03-08 12:02:38 +00:00
2d7550d53f
Removed unused macro
2012-03-08 00:06:25 +09:00
99ff0ab0b2
Remove unused code from basic
2012-03-05 18:54:28 +02:00
1543f1ec6d
basic: tolerate empty / missing dialog.xlc and script.xlc files
2012-02-24 16:46:47 +00:00
1dc601f1b6
basic: remove un-used return value indicating failure
2012-02-24 16:46:46 +00:00
f150ed241f
OUString ctor for string literals without RTL_CONSTASCII stuff
...
http://lists.freedesktop.org/archives/libreoffice/2012-February/025662.html
2012-02-22 16:21:37 +01:00
7be0cc289d
A few safe replacements of pathes->paths
2012-02-01 14:43:37 +01:00
7c704c78d3
Removed some unused parameters; added SAL_UNUSED_PARAMETER.
...
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones. To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
9201704ede
Fix for fdo43460 Part IV getLength to isEmpty
...
Part IV
Module
basic (small fix per demand from Ivan Timofeev)
binaryurp
bridges
2011-12-13 00:11:25 +04:00
91d4fe75ee
Fix for fdo43460 Part III getLength to isEmpty
...
Part III
Module
basic
2011-12-10 21:13:58 +04:00
3c795a953f
removed dead code
2011-11-29 10:07:04 +09:00
2ca38d3c7c
rmove include of pch header in basic
2011-11-27 12:55:59 -06:00
0c7bff0271
Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.
...
A compile time check ensures the common case of streaming just a plain
C-style string literal still produces reasonably compact call-site code.
The format-string variants are still available in sal/detail/log.h, but
only to be used in obsolete osl/diagnose.h etc., and going to be removed
again eventually.
2011-11-23 15:50:58 +01:00
e2de4357f5
catch by const reference
2011-11-23 02:21:44 +09:00
d6a8934eeb
Remove no longer necessary "(void) x; // avoid warnings".
2011-11-22 17:03:12 +01:00
70a6b9ffbd
New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
...
* New SAL_INFO..., SAL_WARN... macros.
* New SAL_STREAM supersedes OSL_FORMAT.
* oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now).
* TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site
cleanup).
* Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet
addressed.
* Some replacements tools String -> rtl::OUString.
2011-11-22 09:41:47 +01:00
8ff1724924
these are files--no trailing /
2011-10-27 16:49:08 +02:00
d1076b1b7f
Second attempt at (cross-platform) OSL_FORMAT.
2011-10-08 18:56:48 +02:00
256f192582
Revert "Introduced OSL_FORMAT, adpated some places to it."
...
Breaks the MSVC build for me: 'osl_detail_formatString' : C linkage
function cannot return C++ class 'rtl::OString'.
This reverts commit 6b900b8bede24c8710d62e9e7cbff613a0b12f9f.
2011-10-08 15:07:06 +03:00
6b900b8bed
Introduced OSL_FORMAT, adpated some places to it.
2011-10-08 12:59:09 +02:00
e1a1091d0a
catch ignored exceptions by const reference
2011-08-24 11:30:17 +09:00
117281ba12
fix leaking 'Pictures' streams from basic dialogs in base
...
With database document, any contents of the Pictures folder ( afaics only basic dialogs store content here ) is never cleaned up between saves.
2011-08-22 15:44:55 +01:00
15f482b1e9
Add prefixes for some component_getFactory functions
2011-08-18 14:15:27 +02:00
caee685234
fdo#40173 write out *newly* empty library
2011-08-17 19:18:08 +02:00
03e9161e2e
fdo#40079: load Dialog library before trying to get embedded images
2011-08-17 14:10:21 +01:00
e00c67ba62
Janitorial: deduplicate code; no behaviour change
2011-08-17 14:10:20 +01:00
cadce8b253
class SfxLibrary: Typo in private member name: maOrig*ni*alStorageURL
2011-08-14 11:49:04 -05:00
c8e76fbfed
convert basic to gbuild
2011-07-30 10:39:20 +02:00
ba586696ef
fixed typo
2011-07-26 23:54:35 +09:00
1b465fcc0f
Do not use macros from comphelper's componentmodule.hxx
2011-07-21 13:30:54 +02:00
9df8682ced
Merge remote-tracking branch 'origin/integration/dev300_m106'
...
Conflicts:
basic/source/classes/sbunoobj.cxx
basic/source/inc/runtime.hxx
basic/source/runtime/step1.cxx
desktop/source/deployment/dp_services.cxx
drawinglayer/prj/d.lst
drawinglayer/source/primitive2d/makefile.mk
sfx2/source/appl/appinit.cxx
sfx2/source/appl/appquit.cxx
sfx2/source/inc/appdata.hxx
sfx2/source/view/viewfrm.cxx
svx/source/fmcomp/gridctrl.cxx
vbahelper/source/vbahelper/vbahelper.cxx
2011-05-27 20:46:20 +02:00
a8c91a4b69
Revert "maybe temporary fix for crash when accessing basic uno services"
...
This reverts commit 1aa0150844d37e28cf0b420cbc60a96ad478edbe.
2011-05-17 15:30:54 +01:00