summaryrefslogtreecommitdiff
path: root/svx/source
AgeCommit message (Collapse)Author
2015-04-28SvxRTFParser::ReadBorder/BackgroundAttr bTableDef param wants to be boolStephan Bergmann
Change-Id: I78c34a539a62ed129309305ce6e37a8feb19b1fd
2015-04-28operator == return type wants to be boolStephan Bergmann
Change-Id: I7ef0a09b718ca701ed2b6f4a50593f8ef1421dd3
2015-04-28SfxTabPage::DeactivatePage wants to return SfxTabPage::sfxpgStephan Bergmann
Change-Id: Iba538bb51635e6cae1e033d14e8da3dabfb36634
2015-04-28Rephrase comparisons between bool and sal_BoolStephan Bergmann
...to cater for forthcoming loplugin:implicitboolconversion improvements Change-Id: I801b6b73648715448198d582a087cc834f6e20c8
2015-04-27if it makes sense to handle DataChanged, then the same init must be calledCaolán McNamara
as in the ctor Change-Id: Ib95768397dc99d09154af03846f001d647437b69
2015-04-27manually setting drop down size is unnecessaryCaolán McNamara
and can end up with a font size entry in the toolbar of a different height to the other elements, because the other ones only call it on DataChange, while font size calls it all the time. Change-Id: I495e28dd0d33a093869fd731538e43513a7b8b85
2015-04-27More loplugin:simplifyboolStephan Bergmann
Change-Id: I8dce5186e3b95082fe5c282493424534d469cd51
2015-04-24loplugin:simplifyboolStephan Bergmann
Change-Id: I02bc964fd2b240fb5238e3de72239d410587ae5c
2015-04-23Improved loplugin:literaltoboolconversion looking into cond. exprs.Stephan Bergmann
...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
2015-04-23Remove unnecessary overridesStephan Bergmann
Change-Id: I76ee226728269303ca0ac4dd0386f816cb5d569a
2015-04-23loplugin:staticmethodsNoel Grandin
Change-Id: I6207b475127099872c6f3764331006688129b673
2015-04-23loplugin:staticmethodsNoel Grandin
Change-Id: Ib0c0841e48814d1a6e13bcd4575725d86ffa5e5e
2015-04-23svx: nPolyAnz -> nPolyCountMiklos Vajna
Change-Id: I811806d7214f7bbf78e20500e7c8310f3f1b0e25
2015-04-22Remove some deprecated AccessibleShapeTreeInfo member functionsStephan Bergmann
Change-Id: I3cdf1cb2feef1cd107b4d554679038eeb5003898
2015-04-22WaE: bogus -Werror=maybe-uninitializedCaolán McNamara
Change-Id: I651921a310801c5c14ade5704b058cb278dcc3f7
2015-04-22fix build, this looks like the intent hereCaolán McNamara
Change-Id: Ic89bb307a2e4a08badacb3c13d1f9e2c47f77850
2015-04-22SfxControllerItems shouldn't be SAL_WARN_UNUSEDCaolán McNamara
unwind some removals and some other cleanup Change-Id: I81a734ed07a05a5922c31003928c493c2df1652f
2015-04-22convert SV_ENTRYFLAG constants to scoped enumNoel Grandin
Change-Id: I457b32ed5ee5d74e6f8361e7de79cbd406122651
2015-04-22convert SV_DRAGDOP_ constants to scoped enumNoel Grandin
Change-Id: If953610ed24a2b6d5f33f2ba014fba2ca5308d7d
2015-04-22convert TREEFLAG_ constants to scoped enumNoel Grandin
Change-Id: Ibf9eab757fbe94dbff3fd09472f3ca74fffd5094
2015-04-22convert HIB_ constants to scoped enumNoel Grandin
Change-Id: I6fa3ecde4a1c5f9c7e6e1dcd22250cba065933e3
2015-04-22convert GRFMGR_DRAW_ constants to scoped enumNoel Grandin
Change-Id: Ie0b4cc1d2cfa740d0e260db52db635c3fe6b90b6
2015-04-22convert EBBF_ constants to scoped enumNoel Grandin
Change-Id: I6f281001a96ebfbca20f3e8dd3423945e119eef0
2015-04-22convert BROWSER_ constants to scoped enumNoel Grandin
and fix a couple of places where it was mixing these flags up with the WinBits flags and calling the wrong constructor. Change-Id: I65c66bdd5a263e2f1db179c853f3f00e9ac7659e
2015-04-22convert SVX_SEARCHIN_ flags to scoped enumNoel Grandin
Change-Id: Iac7216c66afef6cbd355f7047655baaadc0f74db
2015-04-22convert SFX_STYLESHEET_ constants to scoped enumNoel Grandin
Change-Id: Iceba35cb058afa55374cf3cac70ed2207b7bc8b4
2015-04-22callcatcher: update unused codeCaolán McNamara
Change-Id: I8a596153fe6ab34c56a956731d7f9909e71044aa
2015-04-22tdf#88710 Cleanup after removing dbtoolsclientMatthew Nicholls
Removes "virtualdbtools" and its implementation under "simpledbt", which are mostly wrappers around various dbtools functions and classes, previously aiding the now removed dynamic loading logic. Removes IDataAccessTools, IDataAccessTypeConversion and IDataAccessToolsFactory interfaces and their accompanying implementations which are completely unused. Removes IDataAccessCharSet (implemented by ODataAccessCharSet) and moves the implementation into a function which replaces ODataAccessCharsetHelper. Removes ISQLParseNode and ISQLParser and their implementation in OSimpleParseNode and OSimpleSQLParser, which simply wrap around OSQLParseNode and OSQLParser respectively. To avoid including "sqlbison.hxx" unnecessarily, includes to "sqlbison.hxx" are now only used where needed. Change-Id: Id882dfbf43514d84a1eaffc1f916d627830c8cd6 Reviewed-on: https://gerrit.libreoffice.org/15450 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-04-21Resolves: tdf#76825 styles drop down menu is too narrowCaolán McNamara
Change-Id: I3d1ba1da40990df2427f0d380a85d5e704f37038
2015-04-21refactor for reuseCaolán McNamara
Change-Id: I46e04464376324c7e48fe0ccf7362c3a4256e3c2
2015-04-21split out the code that sets up the device for each entryCaolán McNamara
Change-Id: Iad426e1cb1eaac24edf1e7bb61307f29d33d8786
2015-04-21draw all entries the same wayCaolán McNamara
Change-Id: I9da3c8dca4db4a02197a67e1fbedd9b525dc7768
2015-04-21break out text drawing bit as UserDrawEntryCaolán McNamara
Change-Id: Icb1bcfb5f9f7475f67c9c001efdad2aa7e0d0834
2015-04-21fix indentCaolán McNamara
Change-Id: I2628ac3fbabe9f33c41c7f3612eae608fb854ae3
2015-04-21Use cppu::ImplInheritanceHelperStephan Bergmann
Change-Id: If4f7ebcc2da2bda68a6c51b309541181a40b6df4
2015-04-21svx: nPtAnz -> nPointCountMiklos Vajna
Change-Id: Iec25a45729143cea7a8ff5cf4e03969998f2c355
2015-04-21loplugin:passstuffbyrefStephan Bergmann
Change-Id: I4889b3d56b9e6f6926d1d094130c277588ff143c
2015-04-21Get rid of trivial comphelper::query_interface wrapperStephan Bergmann
Change-Id: I2b9dafd2a34d055dcd8b8c4d894be30dc821d3be
2015-04-21Get rid of trivial comphelper::in-/decrement wrappersStephan Bergmann
Change-Id: Id3a12ef9d56c30719f483e610c8a8b08caf05def
2015-04-21StyleManager & StylePreviewRenderer + common implementationTomaž Vajngerl
StyleManager is a new class responsible to handle document styles. The current implementation has only the responsibility to provide a implementation of StylePreviewReneder, but the idea is to move all style related functionallity to this class (and relieve the SfxObjectShell a bit). CommonStyleMAnager is the common impl. StylePreviewRenderer is responsible to render a preview of a style. As styles can be handled differently by each component it is possible to provide component specific StylePreviewRendered, but currently only the common one is implemented and used by sw. Change-Id: Id271485f571a777a3e94f855d3c614a2efc14628
2015-04-20convert SEARCH_OPTIONS constants to scoped enumNoel Grandin
Change-Id: Id0f0c7d692410cf5e1477c5180e7cfb8e7b0f52b Reviewed-on: https://gerrit.libreoffice.org/15345 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-19loplugin:unreffunStephan Bergmann
Change-Id: Ib6b8e49e1795c1b748dfec6a63333ee5011c04ad
2015-04-19callcatcher: update unusedcodeCaolán McNamara
Change-Id: I4b2a7ea03aafbfbf1fece1533da801a4326d80f9
2015-04-18remove stdio.h include from compressgraphicdialogTomaž Vajngerl
Change-Id: I510995b55f69b7541f3cf11f0af66b73657af1ca
2015-04-17fdo#71797 strange font selection bug with font previewNoel Power
The dialog seems to be automatically in preview mode from the start (which seems wrong) That bogus mode of operation (which I failed to fix from the begining) is somewhat responsible for the behaviour we see. Adding here a further ugly hack to ensure we use GetText when not in drop down mode (this is when clicking on a cell or cycling through the font list with up/down keys) In dropdown mode sweeping with the mouse highlights fonts (and we preview the highlighted ones) Note: in this case the selected font and the highlighted font are different, we need to pick up the correct one. Change-Id: Id2ba96a57d2f8cfc9657bce8de3ac27588868eaf Signed-off-by: Noel Power <noel.power@suse.com>
2015-04-17Revert "WaE: unused variables"Tor Lillqvist
See 3ac1584549364c573d4d4e3baed9ad39ad6ce8e4. This reverts commit 7bcf9131032cbcdb162f33d03230e43d4f1db2aa. This reverts commit 063aec33f029f1fbdd1b1ee274e94a00f256465e.
2015-04-17SvStream: WriteUChar -> WriteBoolStephan Bergmann
Change-Id: I89aa0e22c31d368ab36fe46917db6aacb11c7b14
2015-04-17WaE: unused variablesTor Lillqvist
Change-Id: I3b0ed8a6c8e5d13b9236ee1a1337820c3cbce9ac
2015-04-17svx: nPntAnz -> nPointCountMiklos Vajna
Change-Id: I2a4c7ef9d33db1c34a4ab338f70f800b30083f4f
2015-04-17convert SCRIPTTYPE_ constants to scoped enumNoel Grandin
Change-Id: I5be3980ac865162d8d7626556ca47eca4b0ee433 Reviewed-on: https://gerrit.libreoffice.org/15344 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>