summaryrefslogtreecommitdiff
path: root/toolkit/source
AgeCommit message (Collapse)AuthorFilesLines
2013-02-25loplugin: improve indentationThomas Arnhold1-1/+1
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25fdo#38838,::rtl::OUString_to_OUStringelixir1-225/+225
Change-Id: I7c9ebd01c16ff066008e53de865560ad78215bab Reviewed-on: https://gerrit.libreoffice.org/2330 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-22fdo#39674: Rename menues to menuThomas Arnhold1-6/+6
Change-Id: Idc22167d1a0dc518b3f9e96884213140d07b565b Reviewed-on: https://gerrit.libreoffice.org/2316 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-22s/the the/the/Tor Lillqvist1-1/+1
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22coverity#982817 Out-of-bounds accessNorbert Thiebaud1-1/+1
Not sure if it just is coverity's parser that get confused or if the compiler can also be confused in that case.. but it does not hurt to be explicit, just in case. Change-Id: Iba9df7122584272645e7fb241c3f5fd2ed4481d1 Reviewed-on: https://gerrit.libreoffice.org/2250 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-01-28fdo#46808, Convert some bits to new-style UNONoel Grandin1-3/+1
Change-Id: I505910ae117588d54b79e72c12368224b4632fb9
2013-01-22add AccessibleRelationMemberOf to AccessibleRelationSetCaolán McNamara1-0/+8
Change-Id: I716eb70ceb8005aa54a417d01c67bc139dc61c6f
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith1-1/+1
replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-15fdo#46808, Adapt SystemClipboard UNO service to new styleNoel Grandin1-7/+5
this is the datatransfer::clipboard::SystemClipboard service Change-Id: I00227a2d84e2f1eaf9ca1ebb4fbe1f1548a6621d
2013-01-14we only ever want the preferred window size from GetOptimalSizeCaolán McNamara1-1/+1
so remove the MAX and MIN options and simplify the whole lot Change-Id: Iaaf350c37e01f7fce434af760bcddb9b7d7135ea
2013-01-11QUARTZ is equivalent to MACOSXTor Lillqvist4-11/+11
So just check MACOSX in the sources, and don't pass any -DQUARTZ to compilations. Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
2013-01-09fdo#46808, convert UnoControl and sub-classes to XComponentContextNoel Grandin23-291/+267
Change-Id: I4ade267a44620f5a3af8009ac57a2456c62b83bc
2013-01-07allow menu items to be referred to by a nameCaolán McNamara1-2/+2
Change-Id: I8bb1c082e3948f919232b81e0f1f869b88fcd852
2013-01-07Call SetOutputSizePixelScaleOffsetAndBuffer for non-AndroidTor Lillqvist1-6/+1
Change-Id: I59febb87f3da3098e1644087b498d9821b5d7047
2012-12-06fdo#46808, Adapt util::NumberFormatsSupplier UNO service to new styleNoel Grandin1-6/+2
Change-Id: I58436d9eea0c38d14cde2dc01aa463d5d71912e9
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens3-8/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-28fdo#46808, use service constructor for i18n::CollatorNoel Grandin2-10/+13
Change-Id: If6ad17fa9e274beff7ba872a095ced65438962af
2012-11-26Make ~Window more robustStephan Bergmann1-10/+13
...in cases where the Window(WindowType) ctor did not call Window::ImplInit, so many members are null; if then a derived class's ctor throws an exception, ~Window must be careful not to dereference those null members. Change-Id: I12c4b1b5d7f3633387b85acf9da6d57c42e793b4
2012-11-23some i18n wrappers with LanguageTagEike Rathke1-11/+3
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-22get rid of unnecessary LocaleDataWrapper temporary instancesEike Rathke1-0/+1
Change-Id: I17d9a502565d445b0eab9ef6e9123661850292b7
2012-11-22AllSettings with LanguageTagEike Rathke3-3/+3
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-19warning C4100: unreferenced formal parameterMichael Stahl1-1/+1
Change-Id: I49da06b94bdc91b1cdc4bb3d047804d353b0aba8
2012-11-16targetted cleanup of misc. vba pieces.Noel Power2-8/+5
2012-11-15fdo#46808, use service constructor for i18n::NumberFormatMapperNoel Grandin1-1/+1
Also create a utility constructor for LocaleDataWrapper, which simplifies many of the calling sites. Change-Id: Ic8510b51c4201fa17fc0620e18d3e258e43636ba
2012-11-13merge SetDescription into SetTextCaolán McNamara1-3/+3
that way the display text always matches the link text Change-Id: I3f4901803bd9354d2cd0fc29d7d91ccd8e3def54
2012-11-12move svtools's FixedHyper.hxx to vclCaolán McNamara2-70/+7
merge with fixedhyperbase and map GtkLinkButton to FixedHyper. Convert to String while I'm at it. Change-Id: Ibc61fd29c01796561eeef952a159c82ff215a095
2012-10-31Get rid of vcl::unohelper::GetMultiServiceFactoryStephan Bergmann2-20/+7
...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-24fdo#46808, Adapt awt::Toolkit UNO service to new styleNoel Grandin2-15/+6
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-24fdo#46808, renamet awt::XToolkit2 to XToolkitExperimental..Noel Grandin1-1/+1
..because we want to use the name for the new merged interface for the Toolkit service. Change-Id: Ib1e193c7d04729f6420ee6984231fd50181e59d3
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák3-4/+2
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I37b2c7b7acd31437f4be74b0163f4dac2279655b
2012-10-07WaE: 's_hAccessibleImplementationModule' defined but not usedTor Lillqvist1-0/+2
Change-Id: I700f66cbc3ddb01d723b9a50709b4b1d5ab66405
2012-10-07Handle lack of module loading/unloading API when DISABLE_DYNLOADINGTor Lillqvist1-0/+8
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-04Link directly to CreateWindow (in svtools) when DISABLE_DYNLOADINGTor Lillqvist1-1/+19
Change-Id: Iaf1f6c0fc76b97b1cfca63edfb91d5a39988c8c0
2012-10-03re-base on ALv2 code. Includes:Michael Meeks70-1592/+989
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-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini15-15/+2
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-09-28having two SetPosSizePixel is a blasted nuisanceCaolán McNamara1-1/+1
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-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud5-12/+12
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-21unusedcode: add #if SCROLLABLEFRAME for ScrollableWrapper<GroupBox>Matúš Kukan1-0/+2
Change-Id: I68df188c229f7cd31d5b79c073fe9440e307ad1d
2012-09-18Make getProcessComponentContext/ServiceFactory throw instead of returning nullStephan Bergmann1-1/+1
...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-14gridfixes: #i117145#Norbert Thiebaud2-13/+25
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-14gridfixes: ensure removal of a column in grid control adjusts the cursorNorbert Thiebaud2-0/+9
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-14gridfixes: #i117549# create/loadTabPageNorbert Thiebaud1-7/+13
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-14gridfixes: #i117549# finalize css.awt.tab APINorbert Thiebaud5-95/+76
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-14gridfixes: GCC WaEFrank Schoenheit [fs]1-2/+2
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-14gridfixes: #i117398# XMutableGridDataModel:Norbert Thiebaud4-30/+79
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-14gridfixes: #i117398# allow to specify selection colors in table/gridNorbert Thiebaud3-2/+16
Conflicts: toolkit/inc/toolkit/helper/property.hxx toolkit/source/controls/grid/defaultgriddatamodel.cxx Change-Id: Ie863aa7cecb4c7bda230ab829e6090689518dab8
2012-09-14DefaultGridDataModel::getRowData: use o3tl::select1stMiklos Vajna1-2/+2
Change-Id: I785588971d0f42596802276d3d08222204387b98
2012-09-14gridfixes: #i117398# added XGridDataModel::getRowDataFrank Schoenheit [fs]4-2/+30
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-14gridfixes: #i117398# cleaned up the row selection APINorbert Thiebaud2-22/+24
- 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-14gridfixes: #i117625# recognize unsuccessful sorting attemptsNorbert Thiebaud2-9/+25
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>