Commit Graph

1504 Commits

Author SHA1 Message Date
ce1d0822d0 warning C4100: unreferenced formal parameter
Change-Id: I49da06b94bdc91b1cdc4bb3d047804d353b0aba8
2012-11-19 15:28:02 +01:00
41c77ac5e8 targetted cleanup of misc. vba pieces. 2012-11-16 18:21:38 +00:00
d2f6a87ac7 fdo#46808, use service constructor for i18n::NumberFormatMapper
Also create a utility constructor for LocaleDataWrapper, which
simplifies many of the calling sites.

Change-Id: Ic8510b51c4201fa17fc0620e18d3e258e43636ba
2012-11-15 08:28:44 +01:00
b1cf290924 merge SetDescription into SetText
that way the display text always matches the link text

Change-Id: I3f4901803bd9354d2cd0fc29d7d91ccd8e3def54
2012-11-13 09:49:18 +00:00
040e022d06 move svtools's FixedHyper.hxx to vcl
merge with fixedhyperbase and map GtkLinkButton
to FixedHyper. Convert to String while I'm at it.

Change-Id: Ibc61fd29c01796561eeef952a159c82ff215a095
2012-11-12 12:01:39 +00:00
ced1151a1a Get rid of vcl::unohelper::GetMultiServiceFactory
...which effectively is just a glorious wrapper around
comphelper::getProcessServiceFactory.

In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the
rSMgr parameter to InitVCL.

All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work
fine.

Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
2012-10-31 09:22:53 +01:00
33a0f8ce65 fdo#46808, Adapt awt::Toolkit UNO service to new style
Create a merged XToolkit2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Also mark sub-interfaces as non-optional.

Change-Id: I278d0288e92be277033013302267cf93f7d70480
2012-10-24 16:49:49 +02:00
f252b332dd fdo#46808, renamet awt::XToolkit2 to XToolkitExperimental..
..because we want to use the name for the new merged interface
for the Toolkit service.

Change-Id: Ib1e193c7d04729f6420ee6984231fd50181e59d3
2012-10-24 16:49:49 +02:00
83154f9234 mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html

Change-Id: I37b2c7b7acd31437f4be74b0163f4dac2279655b
2012-10-12 13:34:48 +02:00
e87e2fd386 WaE: 's_hAccessibleImplementationModule' defined but not used
Change-Id: I700f66cbc3ddb01d723b9a50709b4b1d5ab66405
2012-10-07 11:25:07 +03:00
97593ae24a Handle lack of module loading/unloading API when DISABLE_DYNLOADING
There are basicically two classes of cases:

1) Where the code is for obscure historical reasons or what I see as
misguided "optimization" split into a more libraries than necessary,
and these then are loaded at run-time. Instead, just use direct
linking.

2) Where dynamic loading is part of the functionality offered to some
upper (scripting etc) layer, or where some system-specific non-LO
library is loaded dynamically, as it is not necessarily present on
end-user machines. Can't have such in the DISABLE_DYNLOADING case.

Change-Id: I9eceac5fb635245def2f4f3320821447bb7cd8c0
2012-10-07 07:59:15 +03:00
bd24ac7cb5 Link directly to CreateWindow (in svtools) when DISABLE_DYNLOADING
Change-Id: Iaf1f6c0fc76b97b1cfca63edfb91d5a39988c8c0
2012-10-04 07:23:25 +03:00
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
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
2f002e3a49 having two SetPosSizePixel is a blasted nuisance
Lets rename the multiargument SetPosSizePixel to
setPosSizePixel drop the various using Window::SetPosSizePixel
and work towards de-virtualizing SetPosSizePixel/SetPosPixel and
SetSizePixel and doing the work in a virtual setPosSizePixel

Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
2012-09-28 08:48:39 +01:00
750fc20611 replace remaining InterlockedCount() with inlined version
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-25 01:55:38 +00:00
c3745c4bab unusedcode: add #if SCROLLABLEFRAME for ScrollableWrapper<GroupBox>
Change-Id: I68df188c229f7cd31d5b79c073fe9440e307ad1d
2012-09-21 14:33:19 +02:00
2a32bf29b9 Make getProcessComponentContext/ServiceFactory throw instead of returning null
...with the same rationale as recent 543158edba6678d3d76eee983a9d4edd2a422fee
"Require XComponentContext.getServiceManager to throw instead of returning null"
(this helps find problems like 065a758d0c2b66c6683d648347b7a6cdef4a80f7 "Enable
experimental gtk3 plugin only via SAL_USE_VCLPLUGIN").

Removed comphelper::createProcessComponent[WithAguments] and replaced its few
uses with direct calls to createInstance[WithArguments].

Change-Id: Ia44b8656f74de88ef6eab3eb6bd597729b08e1c8
2012-09-18 15:08:56 +02:00
6c04efa4d1 gridfixes: #i117145#
Change-Id: I215bcfca6a29274f7397d1100e3674d747ae19f2
Reviewed-on: https://gerrit.libreoffice.org/531
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:59:46 +00:00
c1c12bd160 gridfixes: ensure removal of a column in grid control adjusts the cursor
Change-Id: I99be214bf12d340cc5e9330d1c21046dd366b07a
Reviewed-on: https://gerrit.libreoffice.org/554
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:54:39 +00:00
1e826e71e7 gridfixes: #i117549# create/loadTabPage
use a GeometryControlModel only if the parent model is one, too

Change-Id: I8cf7bb8cf721b6f841ddfbb7e02475c6e2c6741a
Reviewed-on: https://gerrit.libreoffice.org/550
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:49:52 +00:00
1df082e4dc gridfixes: #i117549# finalize css.awt.tab API
Change-Id: Ia7a555fb2551675605414189174eae8f65c70db7
Reviewed-on: https://gerrit.libreoffice.org/547
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:44:40 +00:00
f00bba4305 gridfixes: GCC WaE
Change-Id: Ie771f38a2a1d3d60dd6d84806d17839d93ec6cf3
Reviewed-on: https://gerrit.libreoffice.org/546
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:42:38 +00:00
4971468b6c gridfixes: #i117398# XMutableGridDataModel:
allow inserting rows at arbitrary positions

Change-Id: Ia5af125035979951c61d6c8cd9a916e8f81bb6c0
Reviewed-on: https://gerrit.libreoffice.org/545
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:42:02 +00:00
fe08068cf9 gridfixes: #i117398# allow to specify selection colors in table/grid
Conflicts:

	toolkit/inc/toolkit/helper/property.hxx
	toolkit/source/controls/grid/defaultgriddatamodel.cxx

Change-Id: Ie863aa7cecb4c7bda230ab829e6090689518dab8
2012-09-14 09:38:47 +02:00
5200140683 DefaultGridDataModel::getRowData: use o3tl::select1st
Change-Id: I785588971d0f42596802276d3d08222204387b98
2012-09-14 09:31:54 +02:00
5df47e4bb0 gridfixes: #i117398# added XGridDataModel::getRowData
Change-Id: Ic08c2d54a76f2a2821822ec4b275883e4445c70c
Reviewed-on: https://gerrit.libreoffice.org/543
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:29:06 +00:00
a5d4e7806c gridfixes: #i117398# cleaned up the row selection API
- made explicit that it is about row selection, leaving room for a future selection of columns
- some changes for consistency
- do not derive XGridControl from XGrid(Row)Selection, those two are orthogonal
- published involved UNO types

Change-Id: Ie97de42a9ea70a0191657f898ca9d59706e23290
Reviewed-on: https://gerrit.libreoffice.org/542
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:19:55 +00:00
d4e79eb8f8 gridfixes: #i117625# recognize unsuccessful sorting attempts
and do not claim to be sorted afterwards

Change-Id: I3d71d45893563eac3b59e865aa1aa8d31e8154a8
Reviewed-on: https://gerrit.libreoffice.org/535
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:00:55 +00:00
7bfbc9523f gridfixes: #i117188# remove column sort when rows are inserted
Change-Id: I43b041583c20b47c0fd33a9b5deadffe6fd8f273
Reviewed-on: https://gerrit.libreoffice.org/532
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 06:58:40 +00:00
4597483e00 targetted VBA re-work. 2012-09-12 12:49:49 +01:00
a9b9ffacac blind fix for toolkit_unoapi
Change-Id: I545b712c5fb72d8de415752b7fb4ec20ab3fcee0
2012-09-11 17:48:21 +01:00
65d4139d14 Missing "this->" qualification
Change-Id: I341e73bd2d8a240c4e31916393729efba8d9a4e2
2012-09-11 17:22:15 +02:00
fc2d90bf8d -Werror=unused-but-set-variable
Change-Id: I66c577b3d22a64a09412bd18a46d8d45eb6d1142
2012-09-11 17:22:13 +02:00
e27fc9b6c2 disable scrollable Frame ( not working well )
Change-Id: I09dc7b656c7ff19b937936e0b8436022d287cc87
2012-09-11 16:04:12 +01:00
7c7267e886 get scrollbar details actually read for groupbox
<sigh> the display with groupbox is disappointing, there are many artifacts and the size of the area you actually need to scroll wrong, perhaps we actuall really need a proper groupbox

Change-Id: Iba6ff62718728324a461806cef61ee6a6a438ddf
2012-09-11 16:04:12 +01:00
67adc64276 fixed the unable to close dialog when vert scrollbars set
Change-Id: If15a2b7312577a8285dc1ab1dea1ccb7c4824ed6
2012-09-11 16:04:11 +01:00
b241005c51 make interface for scrollablity properties to allow more code sharing
Change-Id: I0e03360808e73426848820d807f741c13c76abf8
2012-09-11 16:04:11 +01:00
27a19817c6 some more tweaking to import scrollbar data for mso Frame & Userform
also removed printf(s)

Change-Id: If83565dcd97b276e1f6a8488a9f1d23066c2a9ff
2012-09-11 16:04:11 +01:00
7f5ca4c9e1 fix scroll top & scroll left
Change-Id: If333932a0f3cfde6e8459ca3506a609207982f96
2012-09-11 16:04:11 +01:00
be045f69d1 better scrolling, support for scroll width and scroll height
scroll top & scroll left not working that successfully

Change-Id: I61e49c15798a1754822fb0802cbd17bab07327cd
2012-09-11 16:04:10 +01:00
7d69c50413 misc fixes and improvements
hook in new properties into the property controller
allow new values to be passed to control

Change-Id: Ibbf1c1de4bfc7cb15e46d0d6704a025e5f0d048c
2012-09-11 16:04:10 +01:00
595f467ec8 mpre debug, fix more obvious fobars
Change-Id: I88664f7dd09c8d6cdc1c18e87b3cd40b7e3bb246
2012-09-11 16:04:10 +01:00
613f8a3137 attempt own scroll
Change-Id: I4abc00bf4fcebb098b63cc2c3638e0d573381ca5
2012-09-11 16:04:10 +01:00
744d6e22bb crummy but psuedo usable scrollable dialog
Change-Id: I93c49f2e2e313f27b660f3998cb5e8e2cd520ada
2012-09-11 16:04:09 +01:00
756352698d More places that require a prefixed "system"
Change-Id: I49cf1f02faf70a5a92ab45e7678253ba4e5f68d0
2012-09-03 18:34:24 +02:00
3a36408b73 fdo#46808, Adapt util::NumberFormatter UNO service to new style
Create a merged XNumberFormatter2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Change-Id: I57f35cde0a9dbbe91c1d2c3d068cb3a97c7245e3
2012-09-03 15:55:06 +02:00
bc00717bb7 fdo#46808, Adapt system::SystemShellExecute UNO service to new style
Change-Id: Ib298b3219c3e89dd35bce0974846ed4888ed941e
2012-09-03 15:55:05 +02:00
e7b2c4b13f -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I8287b7eb761fc4b88e7f5acc7a0837b7a4634970
2012-08-14 10:39:14 +02:00
1e0a822fa1 fdo#39468: Translate remaining German comments in toolkit/
This is a follow-up patch of be88027c327b5f09d134f235db100ec54afdc30d
translating the remaing comments that were missed there.

Change-Id: I7866060ef6eec5f92751671bd4fc4bee64db149b
2012-08-10 23:51:53 +02:00