Commit graph

2913 commits

Author SHA1 Message Date
Takeshi Abe
533194a6b3 bErrors was always true
Change-Id: I193029e1fb2434161679498fa0ba7e1c7c0ab3ba
2012-08-12 09:16:59 +09:00
Takeshi Abe
1817cf60d1 sal_Bool to bool
Change-Id: I61a6675df622232923a827fc20bf121dd03cd7da
2012-08-12 09:16:58 +09:00
Takeshi Abe
414ecabbd5 Remove useless #ifndef guard
Change-Id: Iddb666611ff11db0912832a73bd8b95438985383
2012-08-09 22:33:03 +09:00
Takeshi Abe
2eb40e3cec Remove a member variable no one reads
Change-Id: Iacb037bebaf1c3d77ab61be6342b42319b8a2e7b
2012-08-09 22:33:03 +09:00
Caolán McNamara
16f75f1f77 reduce static_initialization_and_destruction chain
Change-Id: I9fdefd428b858fd5581412d6f8e896a0eb680fef
2012-08-09 12:47:03 +01:00
Caolán McNamara
aac04652fd String::AllocBuffer replacements
Change-Id: I278cd66fb4819721bb473796c28598aaf04eb123
2012-08-07 16:14:45 +01:00
Thomas Arnhold
69a70bf028 Remove forwards of non-existing structs
Change-Id: Ie1d7ed56c69539587df5310c0a1ea0476abd5542
2012-08-07 13:45:27 +02:00
Julien Nabet
df579b1f66 Fix "Boolean result is used in bitwise operation"
Change-Id: Ifed0d87da3ac5bd19a0285f1074f2eeec5717f05
2012-08-06 16:45:47 +02:00
Takeshi Abe
7b75535e28 Remove declared but not defined functions
Change-Id: I583dc4043b471f741711693b32b16348bb1c8360
2012-08-03 23:45:06 +09:00
Takeshi Abe
621145a777 sal_Bool -> bool
Change-Id: I49749f327d6a9c3661ef9bd684647e0a45b9203a
2012-08-03 10:29:31 +09:00
Thomas Arnhold
7910718259 Remove unused code: those classes are unused
Change-Id: Ibf41655d40c9534629bbb0dd5ae600791b42922d
2012-08-01 18:34:46 +02:00
Noel Power
02a7dfb729 tweak for commit 8181dddb7bf166be4a00e9280d52f8d7a1741290 fdo#42492
avoid char buffer and snprintf.

Change-Id: Ia83cfc9333591bcb3b191679ccf2be587b4be243
2012-07-31 14:27:42 +01:00
Uray M. János
556720fcdd fdo#42492: fixing Basic HEX command
Change-Id: I133590c9f2a34d8daab031da0c77bd049d275c29
2012-07-31 14:27:42 +01:00
Caolán McNamara
747cb47357 remove unnecessary includes of svl/svarray.hxx
Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
2012-07-30 12:47:50 +01:00
Mathieu Vonlanthen
0bdf6fc7c7 Bug 48549 - System::Beep() removal
Change-Id: I011048912af051a762a78af8646513a1fc624073
2012-07-30 05:20:02 +02:00
Michael Stahl
6a94d7b5c9 basic, cui, extensions, filter, vcl: fix some warnings 2012-07-27 17:50:22 +02:00
Mathieu Vonlanthen
0f6101cfef fdo#48549 System::Beep() removal
Change-Id: I8fe133dd8d1f759fbe21d47ae358c0b5451812b5
2012-07-23 15:12:44 +01:00
Caolán McNamara
6a45bc96f9 very suspicious combination of used SbxValues and unused aRes
Looks like a regression from 4d949990ef where for
every other case we did...

-    XubString aRes;
+    ::rtl::OUString aRes;
     aTmp.eType = SbxSTRING;
-    aTmp.pString = &aRes;
+    aTmp.pOUString = &aRes;

while for this case we did only...

     SbxValues aTmp;
     XubString aRes;
     aTmp.eType = SbxSTRING;
-    aTmp.pString = &aRes;

Change-Id: I106cfbcc0fc0b27a9adcbb243d0d69c65b167005
2012-07-20 16:26:47 +01:00
Caolán McNamara
bfe1aa0e79 XubString->rtl::OUString
Change-Id: I584ff580e3c8eee401f07c858ecbd63e5b0bf980
2012-07-20 16:26:47 +01:00
Michael Meeks
5ac018f9e3 WaE: basic compile snafu 2012-07-18 09:29:20 +01:00
Michael Meeks
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
Thomas Arnhold
5a7e8389f0 hrc cleanup: Remove include guards from src files
Change-Id: I7d52837f4058bab1bb5a0137788521d12834d519
2012-07-14 05:43:47 +02:00
Caolán McNamara
36b9ff5eee ure cppunit tests depend on unobootstrapprotector
Change-Id: I998d0f46020d3f5ea6fd387fbed8480e3d57e59a
2012-07-11 13:10:07 +01:00
Michael Meeks
ae7534f616 targetted rename xcr -> xmlscript to match includes and module name 2012-07-09 14:23:26 +01:00
Caolán McNamara
104261010a some UniString->rtl::OUString
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09 12:16:56 +01:00
Noel Power
6ee44323ce fix wae
Change-Id: I924c23853916cc26f151f1cfd3091dcbcf3899dd
2012-07-05 21:41:05 +01:00
Noel Power
0996c0d319 make unoCheckStruct uglier but detect unfixed type assignment + add new tests
Change-Id: I6160e7d1abeeda1ea89e2fe15a9155041f2e5adb
2012-07-05 19:31:16 +01:00
Noel Power
8e9e166d35 fix missing makefile, also add a further test to test_nested_struct.cxx
Change-Id: I7da88595fd3024f72b260267e34200375358e401
2012-07-05 15:03:11 +01:00
Noel Power
cac7e7cdc2 split out some common basic test stuff, add intial nested struct test
Change-Id: I8da6b3166e40e92c31ee001ce19938f286e057b9
2012-07-05 13:56:42 +01:00
Michael Stahl
c3dc9a3ef3 clean up include guards in sbxvar.hxx
Change-Id: I802d142ae93b3e9c7d42ab98d5c757df94a82196
2012-07-05 10:48:19 +02:00
Noel Power
1720641bf3 initial attempt at fdo#47263 allow direct access to nested uno structs 2012-07-04 20:13:45 +01:00
Daniel Rentz [dr]
1f0abdcf60 dr80: #i117392# initialize VBAGlobals object if single Basic module is in VBA mode, do not expect existing parent sheet in implementation of Excel.Application.ActiveCell 2012-07-04 11:50:22 +01:00
Takeshi Abe
30d3637516 removed unnecessary forward declarations of class
Change-Id: I0d6aad17c471b6edd584c668dc7ff054090c185c
2012-07-04 19:18:57 +09:00
Caolán McNamara
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
Michael Meeks
fdda178d88 targetted improvement of UNO API includes / usage 2012-07-02 14:43:34 +01:00
Thomas Arnhold
00240d0497 Remove unused defines
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-07-01 18:33:42 +02:00
Julien Nabet
6b11a18071 Some cppcheck cleaning
Change-Id: I14cab3dfd26ac1568feef902b566873cecf049b9
2012-06-30 18:21:26 +02:00
Caolán McNamara
9e0cbe5eb3 some pesky XubStrings
Change-Id: Ib4095dee416cab6d954e1612d2e3f6e2d4464f48
2012-06-29 11:20:32 +01:00
Thomas Arnhold
688fcc847b Remove unused locals
Change-Id: I14369787e99d31cba32957301340cef2fc832b91
2012-06-29 09:25:12 +02:00
Thomas Arnhold
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
Caolán McNamara
ba23ece286 probably the last uses of the one argument String::CreateFromAscii variant
Change-Id: I36aab317da2f69f12aaefc24895ad9eaa6b69a7c
2012-06-28 13:53:36 +01:00
Michael Meeks
328e2263fb targetted re-work of cppunit pieces. 2012-06-27 19:13:11 +01:00
Thomas Arnhold
ee1c5c4768 Reduce newline bloat at eof
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-27 13:32:28 +02:00
Caolán McNamara
d9a00ace2c tidy some resource strings
Change-Id: I611a276d048121084ec842d062129e042f3baea5
2012-06-26 13:34:03 +01:00
Caolán McNamara
2c757293b8 reduce static_initialization_and_destruction chain
Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
2012-06-25 14:19:03 +01:00
Thomas Arnhold
66cd9eeb90 Remove various commented out defines
Most of them in hrc files.

Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
2012-06-25 14:12:57 +02:00
Michael Meeks
ec5fa0164b replace all but one .hdl include with equivalent .hpp includes.
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21 19:28:47 +01:00
Caolán McNamara
c3f2401d49 reduce scope and replace some String::CreateFromAscii
Change-Id: I8c375e3bfbcd3d7046a8bdb1968934b7d7ca96f8
2012-06-21 15:07:52 +01:00
Michael Meeks
bdc909b07d re-base on ALv2 code. 2012-06-19 18:00:37 +01:00
Caolán McNamara
bd4f553ef0 remove some UniString ctors
Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
2012-06-19 09:13:23 +01:00