Commit Graph

394 Commits

Author SHA1 Message Date
4460f213df fdo#46808, use XComponentContext in SfxLibraryContainer
Change-Id: I6f66fc69a40e2cd2ef2372e0413ff95b6202c5c5
2013-05-14 08:08:27 +02:00
67042f1f03 fdo#46808, replace XMultiServiceFactory with XComponentContext is SfxLibrary
Change-Id: I150d86b4ae4004e7c39ec6a3ed7fba31029f8ab1
2013-05-14 08:08:26 +02:00
1e83da9aed some more namespace cleanup
Change-Id: Ib1e80d717f199db8f8ac4181d4377a86d88e3244
2013-04-26 18:01:51 +02:00
d12a3e8b76 Combine fairly pointlessly split source code for SbiRuntime into one file
Insert basic/source/runtime/step[012].cxx into
basic/source/runtime/runtime.cxx.

Follow-up to https://gerrit.libreoffice.org/#/c/3373/ .

In many cases the sources for some class have been split up into several
source files, typically suffixed with a number 0, 1, 2 etc. Presumably this
has been done because some compiler years ago was not capable of compiling all
the source for that class at one time, or some other no longer relevant
reason.

It would be nice to get rid of this convention, so that clever compilers have
a better chance of noticing unused private fields in a class, for
instance. Just combining the source files in question into one source file and
removing the old source files from git leads to a discontinuity in version
control history. But the consensus seems to be that this is not such a big
deal.

I picked these sources just because they happened to be the first ones I came
across when looking for files called *0.cxx.

Change-Id: Ia7e8ece9a4374721bbcce6b0e2aba5721436faae
2013-04-24 11:07:15 +03:00
c3d8b06f00 Get rid of SHL_SBC
GetAppData(SHL_SBC) was used only locally in the sb library so no need for
it. Just use a static pointer field.

Change-Id: I37c8429b6c9e521a00c52bb622f78bdc4afe345c
2013-04-12 23:04:11 +03:00
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
876c619b94 new module i18nlangtag
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.

This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.

Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05 19:10:48 +02:00
438efb38ec fdo#39445 writing out tools/fsys.hxx (basic)
Change-Id: I2ec7546572fa72359615f371715b4aa82b1182ca
2013-03-19 22:42:02 +01:00
c40cd8a4f2 Remove all occurences of RTL_* and ::rtl prefix from basic
This is a big commit, so thanks for your time reviewing this :)

Conflicts:
	basic/source/sbx/sbxscan.cxx

Change-Id: Ib9bc710b87475b5695764557321e5dcef25e5933
Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-03 10:07:39 +01:00
5837402fb1 fdo#46808, use service constructor for ucb::SimpleFileAccess
I upgraded the service to return XSimpleFileAccess3, since it
already implemented that interface, and it's backwards
compatible.

Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
2012-11-15 08:28:44 +01:00
27239ad230 basic: String -> OUString
Change-Id: I42479b4bade5111e38d69f04c889c166f340d5ba
2012-11-07 02:14:53 -06:00
c5b7d8f9d9 basic migration to OUString
Change-Id: I1f9403174b3779801d91ba20d846191ed9a09eed
2012-11-03 20:24:27 -05:00
bbf1bcd9ad basic: String -> OUString in basicmanager
Change-Id: I6607bfe8b6bf4d29ffd01cd88a19af5e53d616b5
2012-11-03 20:24:26 -05:00
6f978fa977 basic: use OUString internaly for error messages
Change-Id: I9ea243f93b7477814037deca2f332c3359ce527d
2012-11-03 20:24:25 -05:00
af4df7ac08 fdo#48257 collect function prototypes from basic/ into single header file
Change-Id: I1666e64b2b611054e1a713a76575e2f06781f80a
2012-10-04 10:35:48 +01:00
eebc9748d2 Fix MSVC build: #undef EXPLICIT (which gets defined as 'explicit' somewhere)
Change-Id: I83f6dff2a01d6d7806b2d2f4e6415aee10933e14
2012-09-25 11:50:56 +03:00
407509c058 sal_Bool to bool
Change-Id: I75dd089b34c94831bfdfd0e02585af7609013a08
2012-08-22 19:25:08 +09:00
1fd7816b71 Remove unused function
Change-Id: I1888bb21ad55f919a25a96b5c8090d1194be51de
2012-08-22 19:25:08 +09:00
2efc59c9b6 sal_Bool to bool
Change-Id: I38141187c4f0809343a93c5765c0773d2321968a
2012-08-21 22:59:16 +09:00
c2ead1e76e Remove unused function
Change-Id: Ifd6ba71e0ab13f9ad0e86f3e770ae1a6ace336e1
2012-08-21 22:59:16 +09:00
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
27f4f9ae8f -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: Ia6f5bf7c3372515c2796d239aeb610fbe6f29f8d
2012-08-16 09:46:59 +02:00
dfe544c87b sal_Bool to bool
Change-Id: I784fb31bad1ff02987c24abbac04b38207a1f5cf
2012-08-15 09:45:49 +09:00
65095170ff Remove declared but not defined function
Change-Id: I74836b55375a6e2e57a989234bacf7186325b33e
2012-08-14 07:37:19 +09:00
1f224b02c8 sal_Bool to bool
Change-Id: Idb5ef3cebdd45bd91f7c0ae34e422fd651d395c9
2012-08-14 07:37:19 +09:00
533194a6b3 bErrors was always true
Change-Id: I193029e1fb2434161679498fa0ba7e1c7c0ab3ba
2012-08-12 09:16:59 +09:00
1817cf60d1 sal_Bool to bool
Change-Id: I61a6675df622232923a827fc20bf121dd03cd7da
2012-08-12 09:16:58 +09:00
414ecabbd5 Remove useless #ifndef guard
Change-Id: Iddb666611ff11db0912832a73bd8b95438985383
2012-08-09 22:33:03 +09:00
2eb40e3cec Remove a member variable no one reads
Change-Id: Iacb037bebaf1c3d77ab61be6342b42319b8a2e7b
2012-08-09 22:33:03 +09:00
69a70bf028 Remove forwards of non-existing structs
Change-Id: Ie1d7ed56c69539587df5310c0a1ea0476abd5542
2012-08-07 13:45:27 +02:00
7b75535e28 Remove declared but not defined functions
Change-Id: I583dc4043b471f741711693b32b16348bb1c8360
2012-08-03 23:45:06 +09:00
621145a777 sal_Bool -> bool
Change-Id: I49749f327d6a9c3661ef9bd684647e0a45b9203a
2012-08-03 10:29:31 +09:00
7910718259 Remove unused code: those classes are unused
Change-Id: Ibf41655d40c9534629bbb0dd5ae600791b42922d
2012-08-01 18:34:46 +02:00
bfe1aa0e79 XubString->rtl::OUString
Change-Id: I584ff580e3c8eee401f07c858ecbd63e5b0bf980
2012-07-20 16:26:47 +01: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
1720641bf3 initial attempt at fdo#47263 allow direct access to nested uno structs 2012-07-04 20:13:45 +01:00
30d3637516 removed unnecessary forward declarations of class
Change-Id: I0d6aad17c471b6edd584c668dc7ff054090c185c
2012-07-04 19:18:57 +09:00
bdc909b07d re-base on ALv2 code. 2012-06-19 18:00:37 +01:00
a96d082bc0 convert SbPropertyValueArr_Impl to boost::ptr_vector
Change-Id: Id3189a9abff5ee97b93bccefba8193ba36cb043a
2012-06-12 23:25:16 +02:00
a7a6f77582 SbPropertyValues: rename members
Change-Id: Iad6bc5af052a0795608ec11ee11c8dea3d091868
2012-06-12 23:25:16 +02:00
f9c5a36609 SbPropertyValues::setPropertyValue doesn't check that property exists
Change-Id: Ia63eea0c19bfa750b80f4c99f278f8d144c714a8
2012-06-12 23:25:16 +02:00
2110397670 Convert SV_DECL_PTRARR_DEL(SbiSymbols) to std::vector
For reasons I don't understand, the compiler would get uncopy
if I tried to declare the destructor in the header file.

Change-Id: I67fa7941da2f0ee08ae10bf350fb1f3bf1397410
2012-06-12 23:25:11 +02:00
8de787a266 Convert SV_DECL_PTRARR(SbPropertyValueArr_Impl) to std::vector
Change-Id: I3e072c165d83e9ade06caf2508031b473ef7691d
2012-06-12 23:25:10 +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
6749dcc154 removed duplicate includes in basic / canvas / chart2 / comphelper 2012-03-26 22:39:42 +09:00
7dafa7a3b1 fix error comparing a struct vs an uno prop containing a struct fdo#42819
hack to fix the scenario where sometimes we get "Object required" error when comparing an uno property containing a struct with another struct ( if that property is "MAYBEVOID" )
2012-03-09 18:48:36 +00:00
99ff0ab0b2 Remove unused code from basic 2012-03-05 18:54:28 +02:00
1dc601f1b6 basic: remove un-used return value indicating failure 2012-02-24 16:46:46 +00:00
48bfb52d71 expand and remove NS_* macro 2012-02-21 14:02:45 +01:00