summaryrefslogtreecommitdiff
path: root/cui
AgeCommit message (Collapse)Author
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-14Remove checks for HTMLMODE_SOME_STYLESHarri Pitkänen
HTMLMODE_SOME_STYLES is enabled if we are in HTML mode (it is enabled for all HTML modes). These checks for conditionally disabling some table background controls are not needed anymore. Change-Id: I10fb73a67ac4bba250da4cea79ff6bae427a1613 Reviewed-on: https://gerrit.libreoffice.org/15264 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-13loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-13Related tdf#34467: Fit to Frame for text boxes is brokenJulien Nabet
Wrong Copy-paste Change-Id: Ice000b072a39efc3adc9133b8599c43a93559862 Reviewed-on: https://gerrit.libreoffice.org/15224 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-04-11Personas: add “non_homogeneous” to status messageAdolfo Jayme Barrientos
… so that it avoids changing the size of the buttons in some languages. Change-Id: Ida4c6a7f0af338240c61d8febf3b871b577def0e
2015-04-09loplugin:staticmethodsNoel Grandin
Change-Id: I715374b531da2850434b2436633b6042ecb9ebe0
2015-04-09clean-up acccfgTomaž Vajngerl
Change-Id: I23aad7cb2d70f81d39757f62e906f4a22e1b0145
2015-04-08convert DIC_ERR_ constants to scoped enumNoel Grandin
Change-Id: I083f1b7f21b18c5067b01c82fa8fec467a3d0c50
2015-04-08convert SV_ITEMSTATE constants to SvItemState scoped enumNoel Grandin
Change-Id: I7d7d516f37cbb5e28a842bbc6bff54916d450dbb
2015-04-08convert SHADOW_ constants to enum classNoel Grandin
Change-Id: I1d3c144b2438776a31a246a2d0d4fe57b0caeaa3
2015-04-07Remove dead INetProtocol::VimStephan Bergmann
...which removes the need to abstract over the standard URI '%' escape prefix vs. the silly vim '=' special case invention. Change-Id: I54a52dd912c3aafc38275a0ac2466a6daeec328f
2015-04-07convert SvtModuleOptions::EModule to scoped enumNoel Grandin
Change-Id: I9665fc003cb3a44f4db857b24584fa3a70487259
2015-04-07convert SvtModuleOptions::EFactory to enum classNoel Grandin
and fix issues in iterating through o3tl::enumarray Change-Id: Ia59ef9be44d8c92c2e406fa71aa92269578e26e3
2015-04-02Kill INetProtocol::NewsTor Lillqvist
Change-Id: I393edc816aaf189b1001e630c76f67dd53fd5be3
2015-04-02Kill INetProtocol::Imap and Pop3Tor Lillqvist
I doubt very much these actually get used. Couldn't find in any of the sample bug docs collected from bugzillas, for instance. Change-Id: I47a586fabb1efdf8315ed5f7bd09cbaea4c860b5
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-02loplugin:staticmethodsNoel Grandin
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
2015-04-02ival is the intended source hereCaolán McNamara
Change-Id: I25aa7a3d72a346cbc6b01501cf377984be92b3fa
2015-04-01tdf#87441: Check for read-only RemoveHiddenContentStephan Bergmann
Change-Id: Ic67c368c63e598f727d81ebb566ff858a2c1dfcc
2015-04-01Replace MailerProgramCfg_Impl with direct configuration accessStephan Bergmann
Change-Id: I25486b4f7455eab72dd831f0f30eb17595e07681
2015-04-01Replace RemoveHiddenContentCfg_Impl with direct configuration accessStephan Bergmann
Change-Id: I422f6f3386419f4ea91c4b3d9c96e759e1361a3a
2015-04-01tdf#87441: RemoveHiddenContent is indep. of ExternalMailer/Program R/O stateStephan Bergmann
Change-Id: I7a479c85c2acbb750651b4c4211447bcb2a7346e
2015-04-01convert BOX_LINE and BOXINFO_LINE to enum classNoel Grandin
since their usage is intertwined. Also introduce new o3tl utilities enumrange and enumarray to make working with scoped enums a little simpler. Change-Id: I2e1cc65dd7c638e59f17d96dfae504747cad6533
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: I299ac00ea8604c4cd7e27458e1a45380fad819d3
2015-03-31tdf#84228: Fix annoying double shadow in previewKatarina Behrens
SfxItemSet passed to ActivatePage method contains both rectangle AND shadow attributes, causing the old shadow to stick around even after new shadow attributes have been set. Thus, set shadow to none in a local copy of SfxItemSet and use that one to repaint the rectangle Change-Id: If798351fbecaaf951ef0479ae4a2c70d2db68ca4
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: I8b57f50a10760ebd2307640e8d9f9108292e485d
2015-03-31tdf#87441: Adjustable hidden content removal in e-mailsStefan Heinemann
Possibility to adjust the hidden content behaviour in the send e-mail functionality via option under the e-mail program setting Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, taking just the parts that store the configuration property within /org.openoffice.Office/Security (rather than /org.openoffice.Office/Common/ExternalMailer) and throwing away the parts overlapping with previously picked <https://gerrit.libreoffice.org/#/c/14994/> "fdo#87441-Send document as Email removes invisible content." Plus making the configuration property non-nillable, -Werror,-Winconsistent-missing-override, loplugin:salbool, and removal of trailing whitespace. Conflicts: cui/source/options/optinet2.cxx cui/source/options/optinet2.hxx cui/uiconfig/ui/optemailpage.ui sw/source/uibase/app/docsh2.cxx Change-Id: I1fb70418c5fe8011a86a379c2e75eae9ad3e18c3
2015-03-31fdo#87441-Send document as Email removes invisible contentCharu Tyagi
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, plus trivial modifications for -Werror,-Wlogical-op-parentheses and loplugin:bodynotinblock Change-Id: I149681b3743eaf96e98419bd568f88b451e9ba01
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I544fc582d375d1e49f84309e722f669d734cf029
2015-03-27fix macro and enum name collision using CamelCaseNoel Grandin
so that the enum names remain consistent Change-Id: I656069b484038d3bf17ecbb4f3e26395ca5a1b6d
2015-03-27work around Windows and OSX macro collisions with enum valuesNoel Grandin
Change-Id: I3d14b96b6b51e497bde33f0177b377e7fe3dbad9
2015-03-27convert BUTTON_ constants to enum classNoel Grandin
Change-Id: I0fd391a6b2850e5d7dcbf2cb95cfa39ee5561bd9
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: I302db31913a60a677b8dc226e48bd8f43b055a1e
2015-03-26convert SvxNumRuleType to enum classNoel Grandin
Change-Id: I4707b2f0325d2e39c11bb99ef687100eb55639e1
2015-03-26convert NUM_ constants to enum clasNoel Grandin
Change-Id: Id41ea91aaf618c7f3f323698c09caa7c8df2290a
2015-03-25Typo: formated->formattedJulien Nabet
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
2015-03-25convert VALID_ constants to enum classNoel Grandin
Change-Id: Id63d0e0dcf550b4d4f9cf3a2800aeb40f9f9bbce
2015-03-24convert SFX_PRINTER constants to enum classNoel Grandin
Change-Id: I5dca39f7668be2c03c904c33b6181ba769b70990
2015-03-24convert SVX_ZOOM_ENABLE constants to enum classNoel Grandin
Change-Id: Iead354b95b832edd72eb8e881855f228fd85be70
2015-03-24convert SvxZoomType to enum classNoel Grandin
Change-Id: I7308e848d3f9ac391dc656a145139dabbc792df3
2015-03-24convert sfxlink to enum classNoel Grandin
Change-Id: I4466af8d40e7860b20a26c5ccf2265ee40c5a9ab
2015-03-23loplugin:constantfunction: cuiNoel Grandin
Change-Id: I4bbfbd526f78c4806d6fc85a4011cbc4ef3a25fa
2015-03-22Untangle locale label and trim some whitespace, tdf#90157Adolfo Jayme Barrientos
Change-Id: I07fc7269517f8157621118f3dea3a858051e454e
2015-03-21Char highlight: option about export LO character background to MSO formatsZolnai Tamás
Export as highlighting or shading. Highlighting is the default. Change-Id: Ib2a38e4cd0d49317288bb565383b690d4222c8ed
2015-03-20tdf#88230: cleanup solar mutex yieldingPranav Kant
Use SolarMutexReleaser, instead. Change-Id: I276459c42b688813ea168d6fc80466a07a5ecba4 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-03-19push build along a bit furtherCaolán McNamara
Change-Id: I6b662e8588153a9437615de0652e3169fc867b82
2015-03-19tdf#86787: Page style margin limited to 99.99mmRishabh Kumar
Normailizes MarginEdit before assigning values to SetMax and SetLast Change-Id: I2aa1eca75c36e8dd4ac5905b49d6802b5c763f85 Reviewed-on: https://gerrit.libreoffice.org/14821 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-19loplugin:constantfunction: svtoolsNoel Grandin
Change-Id: I42479fb10878a0a1c2071f7b35ae375061781d40
2015-03-19convert SFX_FILTER_ constants to enum classNoel Grandin
Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613