summaryrefslogtreecommitdiff
path: root/sw/source/uibase
AgeCommit message (Collapse)Author
2015-05-10Use IMPL_LINK_NOARG[_TYPED] where applicableStephan Bergmann
Change-Id: I70598072c1d492e360ef46dd7b5ef5a2fa4be495
2015-05-10Fix uses of SAL_DLLPRIVATE DECL_LINK etc.Stephan Bergmann
Change-Id: Ibab84ce977e34bbae04e703a87a3211d20813558
2015-05-10No more need for EMPTYARG in C++11Stephan Bergmann
Change-Id: I8a6abc563fa80a801d1907100d0b1138d260c36e
2015-05-10Use IMPL_[STATIC_]LINK_NOARG where applicableStephan Bergmann
Change-Id: I1e24b032bdeea017b0e77c5446e55310899ce752
2015-05-10NOINSTANCE is implied now in IMPL_STATIC_LINK...Stephan Bergmann
Change-Id: Ifb032457d6c1b279c4183282ef2b271c706dd71a
2015-05-10Replace IMPL_STATIC_LINK[_TYPED] with more useful variantsStephan Bergmann
Change-Id: I9764e8860ee66cc94456eae879a9fc90d0ad850d
2015-05-08lopluign:staticmethods: Handle DECL_LINKStephan Bergmann
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
2015-05-08dbaccess, sw: use vnd.sun.star.pkg:// for embedded data source handlingMiklos Vajna
Change-Id: I69eaf2e4dd051d62f56caef962d40889cc3a3876
2015-05-08Add SwDBManager::LoadAndRegisterEmbeddedDataSourceMiklos Vajna
With this, if a .odt document has an embedded data source definition, referred as EmbeddedDatabaseName in settings.xml, then that data source gets registered when opening the document. Change-Id: Ibd836fe11c0e74e8ea10e357886e6266e9ba0db0
2015-05-08callcatcher: update unused codeCaolán McNamara
Change-Id: I8563922204d3ec93bf138cbd1aaba620c0215bf7
2015-05-08Silence sal_Bool -> sal_IntPtr Link return value mismatches for nowStephan Bergmann
Some uses of untyped Link<> (returning sal_IntPtr) are hard to update to typed versions, but upcoming changes to loplugin:implicitboolconversion would flag these uses of sal_False/True, so just explicitly cast them to sal_IntPtr for now. Change-Id: I654e555e85faba0b30178c978e7d50fc7240b004
2015-05-08Use typed Menu::Set[De]actuivateHdl LinksStephan Bergmann
Change-Id: I6736383ad0ec5c9f2ea2281bfdcfa280cd712032
2015-05-07sw: unused Parent [-Werror=unused-parameter]Miklos Vajna
Change-Id: I4576837da4b908ac0393be155758b6b60afc6c45
2015-05-07sw: fix -Werror=unused-parameterMiklos Vajna
Change-Id: I67223090a2a45e9519bd29e41e3e90eb847c5c19
2015-05-07XTiledRenderable: use HWND instead of HDCLászló Németh
Cherry-picked from e1fb63bb8ed7a9bd4dbe19be0d0da7245c4a2fb2 Change-Id: I2959ea8b1213d6dade1c2567365f177bf542e075
2015-05-07Initial XTiledRenderable APILászló Németh
Cherry-picked from e2ad83e25aa86bc377b664d6d07a0b86abf487c0 Change-Id: I6dc337ec958c1e116fc9763877f331b751b64e6e
2015-05-07tdf#91127 - SwDbTreeList 'make' function fix.Michael Meeks
Change-Id: Iaefba9f6f546c3ac22749aa0ff209cbc49f8a552
2015-05-07convert BUTTONDIALOG constants to scoped enumNoel Grandin
Change-Id: Icbf73fe55ad604f762dd2b98fd39189bab82f061 Reviewed-on: https://gerrit.libreoffice.org/15648 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-07tdf#91127 - audit for unfortunate SAL_NO_ACQUIRE referencing issues.Michael Meeks
Change-Id: I738f3ea1bf9f003f2b146cda0a8f986375eacd2b
2015-05-07Remove unnecessary includes of sot/storage.hxx from include/Stephan Bergmann
Change-Id: I242cd126814bbebdb99ea38d9e66513189c313d9
2015-05-07Unwind SotStorageStreamRef typedefStephan Bergmann
Change-Id: If7652a7c0251b741660365848a717c06954ca419
2015-05-07Unwind SotStorageRef typedefStephan Bergmann
Change-Id: I8d5363bb2ad813ef29b4078848914f4b0989b9f1
2015-05-07Remove SvStorageRef aliasStephan Bergmann
Change-Id: Icd1bf88cefac929916ece9a30b9b65c5297ec2a3
2015-05-07refactor "TextEdit" & co. to use RenderContextTomaž Vajngerl
Change-Id: Ib26ecb9640d23714acec73304f26e2fd6af90ed4
2015-05-06sw: clean up some defensive programming in modcfg.cxxMichael Stahl
Change-Id: I901d934d1c2bdf6f15760292481091eb740dfda1
2015-05-06sw: add SwDBData::sEmbeddedNameMiklos Vajna
It is supposed to contain the name of a stream in the document storage (like "Object 1") that has an embedded database for mail merge data source definition purposes. It's just loaded / saved from ODF at the moment, it's not yet used for anything. Change-Id: Ida366478fd83aa51e66e958ac09d852332c227c9
2015-05-06drop useless temp debugging stringsCaolán McNamara
Change-Id: I3dbcc792278814df6c23d0f593bd6d86b5d4907e
2015-05-06convert BMP_SCALE constant to scoped enumNoel Grandin
Change-Id: Ibc9f88d2588c028cd71aa86c26d970a73025ef22
2015-05-06convert DEFAULTFONT_ constants to scoped enumNoel Grandin
Change-Id: Ia33e957f6cf530e2639b3c86d9482f642652cb46
2015-05-06convert CONFIG_MODE constants to scoped enumNoel Grandin
Change-Id: I1b0fb976e7bf8d7de06da0c30012e8bba1320498
2015-05-06Use various typed ToolBox::Set*Hdl LinksStephan Bergmann
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-05drop useless temp debugging stringsCaolán McNamara
Change-Id: I7731d16044fe884d5678330920bf468ccff87d19
2015-05-05vcl: rename other members of StateChangedType for consistencyMichael Stahl
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
2015-05-05Remove using directive that has become unusedStephan Bergmann
...with 7ebed1d63e2ad5728fa81b65fa98f09b0406965d "fix windows build" Change-Id: Ibb8182cbfab47fed117c731f24fa90519b20653b
2015-05-05Various loplugin warningsStephan Bergmann
Change-Id: I8d38521f08441f123a236729c01909f2da4ec478
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05tdf#34555 add crop features to swPhilippe Jung
Adds Crop (by handles) to writer. Proposal of new Format menu and image context menu organisation. This is part of a serie of 4 patches that adds Save graphic, Change Picture, Edit with external tool, Crop (by handles) in all products (scalc, sdraw, simpress, swriter). Main menus, toolbars and contextual menus are updated accordingly. Change-Id: I6fe8907e08519326c78f0bc71f27032b5716bb8e Reviewed-on: https://gerrit.libreoffice.org/15590 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2015-05-05fix windows buildNoel Grandin
Error is "ambiguous call to overloaded function" Rename methods to something more specific to avoid this. Change-Id: Iac275e38cf7fb06be55cd859041acc641c13db35
2015-05-05Adapt SwSrcEditWindow's SyntaxTimerHdl to being used in an Idle nowStephan Bergmann
...not a Timer, since d843f3de731667a298a83fc66637c7f983f3b24d "changed timers to idle" Change-Id: If8c6a52d6fb7b1e392e8f31bc8f0db22b2f049e1
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I90dd921077bbfc57200e398e7959306f26c65cfe
2015-05-03tdf#89783: sal_uInt16 replacement by size_t: sectionsVasily Melenchuk
These replacements allow LO to load, save and mail merge documents having more than 65536 sections in total. Change-Id: I0e70889b1edc6e472a39f1f2638ac3c70a0d7058 Signed-off-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-05-03sw: use variadic cppu::WeakComponentImplHelperMiklos Vajna
Change-Id: I209ff18f4326c6757a0c98b8f40cc3898c8b114e Reviewed-on: https://gerrit.libreoffice.org/15603 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2015-05-02redline dialog handle post-dispose event bits.Michael Meeks
Change-Id: I5739c0ac6529b1c51866d81c30df4a185ffa6ecd
2015-05-01tdf#90968: Highlighting is not repeated with Ctrl+Shft+Y (Edit>Repeat)Zolnai Tamás
Regression from: 08cfbbaca2d23727bc95912082ae46b8f8a37f03 Use undo actions to make the shell handle all of the background related changes in one piece. Change-Id: Ia2b64267727693f663ace5daf1dc094a663ea345
2015-04-30Use typed Link for MenuButton::SetSelectHdlStephan Bergmann
(and MenuButton::GetSelectHdl was unused) Change-Id: I94df06bcda9e041fde65553e30247874b20ff74b
2015-04-30Use typed MaybeFile LinkStephan Bergmann
Change-Id: Ic9eebca9d8fe3e9173b1873bdc7800e5161f9999
2015-04-30Gradually typed LinkStephan Bergmann
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-30Get rid of initial :: for the sdr namespaceTor Lillqvist
Change-Id: Ibbeb069b6fcb2aa0581429ac5cb6db519548fd00
2015-04-30Get rid of initial :: for the svx namespaceTor Lillqvist
Change-Id: I03e428a749bca409ebac9c142acaddafcbfeca23