summaryrefslogtreecommitdiff
path: root/cui
AgeCommit message (Collapse)AuthorFilesLines
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann23-147/+147
Change-Id: I544fc582d375d1e49f84309e722f669d734cf029
2015-03-27fix macro and enum name collision using CamelCaseNoel Grandin2-4/+4
so that the enum names remain consistent Change-Id: I656069b484038d3bf17ecbb4f3e26395ca5a1b6d
2015-03-27work around Windows and OSX macro collisions with enum valuesNoel Grandin1-1/+1
Change-Id: I3d14b96b6b51e497bde33f0177b377e7fe3dbad9
2015-03-27convert BUTTON_ constants to enum classNoel Grandin3-5/+5
Change-Id: I0fd391a6b2850e5d7dcbf2cb95cfa39ee5561bd9
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann7-10/+9
Change-Id: I302db31913a60a677b8dc226e48bd8f43b055a1e
2015-03-26convert SvxNumRuleType to enum classNoel Grandin1-1/+1
Change-Id: I4707b2f0325d2e39c11bb99ef687100eb55639e1
2015-03-26convert NUM_ constants to enum clasNoel Grandin1-16/+16
Change-Id: Id41ea91aaf618c7f3f323698c09caa7c8df2290a
2015-03-25Typo: formated->formattedJulien Nabet2-3/+3
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
2015-03-25convert VALID_ constants to enum classNoel Grandin1-30/+30
Change-Id: Id63d0e0dcf550b4d4f9cf3a2800aeb40f9f9bbce
2015-03-24convert SFX_PRINTER constants to enum classNoel Grandin1-5/+5
Change-Id: I5dca39f7668be2c03c904c33b6181ba769b70990
2015-03-24convert SVX_ZOOM_ENABLE constants to enum classNoel Grandin1-5/+5
Change-Id: Iead354b95b832edd72eb8e881855f228fd85be70
2015-03-24convert SvxZoomType to enum classNoel Grandin1-9/+9
Change-Id: I7308e848d3f9ac391dc656a145139dabbc792df3
2015-03-24convert sfxlink to enum classNoel Grandin2-8/+10
Change-Id: I4466af8d40e7860b20a26c5ccf2265ee40c5a9ab
2015-03-23loplugin:constantfunction: cuiNoel Grandin41-294/+88
Change-Id: I4bbfbd526f78c4806d6fc85a4011cbc4ef3a25fa
2015-03-22Untangle locale label and trim some whitespace, tdf#90157Adolfo Jayme Barrientos1-2/+2
Change-Id: I07fc7269517f8157621118f3dea3a858051e454e
2015-03-21Char highlight: option about export LO character background to MSO formatsZolnai Tamás3-0/+116
Export as highlighting or shading. Highlighting is the default. Change-Id: Ib2a38e4cd0d49317288bb565383b690d4222c8ed
2015-03-20tdf#88230: cleanup solar mutex yieldingPranav Kant1-4/+1
Use SolarMutexReleaser, instead. Change-Id: I276459c42b688813ea168d6fc80466a07a5ecba4 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-03-19push build along a bit furtherCaolán McNamara1-2/+2
Change-Id: I6b662e8588153a9437615de0652e3169fc867b82
2015-03-19tdf#86787: Page style margin limited to 99.99mmRishabh Kumar1-8/+8
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 Grandin1-3/+0
Change-Id: I42479fb10878a0a1c2071f7b35ae375061781d40
2015-03-19convert SFX_FILTER_ constants to enum classNoel Grandin4-7/+4
Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613
2015-03-18fix a bit awkward UI textMarkus Wernig1-1/+1
Change-Id: I3c58e329a43e9117fe2be751442bd9043b758e41
2015-03-18create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin7-21/+21
of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
2015-03-17SfxTabDialog: avoid changing const input parameterZolnai Tamás2-6/+4
* SfxTabDialog constructor has a const pointer parameter pointing to the input set and also the corresponding member is a const pointer which indicated that set is not changed by the dialog, but this is not true, const is casted away and the input set is changed. * So use a copy of the input set instead, pointed by a non-const member, so we can spare some const cast and misunderstandings. * GetRefreshedSet not behaves as a getter method, but changes the input set instead, so redeclare it accordingly. Change-Id: Ic63f9ae68c50e65d4498b20f597547c1c075b94e
2015-03-12CppCheck cleanlyness : reduce variable's scopeMichaël Lefèvre3-6/+2
Change-Id: I5bd18b1a93f7197121eb42f6b82d2d8d87e7671f Reviewed-on: https://gerrit.libreoffice.org/14843 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-03-11utl::ConfigItem::Commit() should call ClearModified()Michael Stahl4-6/+11
Rename the virtual function, and add a new non-virtual Commit() to do that. Change-Id: I09421df781ba965d6ff638b46cd8214fb3a00022
2015-03-11Make "Embedded Objects" frame expendable to fill space betterZolnai Tamás1-0/+2
Change-Id: I9b9335464c774bca13013576583877895d673592
2015-03-10V668 no sense in testing the result of new against nullCaolán McNamara2-20/+7
Change-Id: I1cff71d15f4d1b5ee47cc734b3fc2168d7f99201
2015-03-06Idle: Changed to new enum nameTobias Madl7-7/+7
Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
2015-03-06Idle: Removed VCL_IDLE_PRIORITY_ prefix of enumTobias Madl7-7/+7
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
2015-03-06Idle and Timer are now completely independentTobias Madl3-6/+6
And everything is functionating pretty well. Change-Id: Id7f5a995362f6f7c5235f2e9facb7c7f119f3140
2015-03-06idle includes and enum useJennifer Liebel1-1/+2
Change-Id: I8a280c54d81c7da74c9ab03ff3fc788e373ca4e4
2015-03-06Timer: Adapted all idle includes and enum usesTobias Madl10-6/+13
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
2015-03-05usage info: Spell “The Document Foundation” out and improve frame’s nameAdolfo Jayme Barrientos1-4/+4
The initialism “TDF” is rather obscure still. Change-Id: I987e96d869a5126f5d137d188a34b4ae7d4888f8
2015-03-05remove dots from Delete buttons for OpenCL listsStanislav Horacek1-2/+2
because they invokes no dialog Change-Id: I0a3c09923cfd29ffa01237e14f3eefd1536764f3 Reviewed-on: https://gerrit.libreoffice.org/14744 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-04V813: Decreased performanceCaolán McNamara2-3/+3
Change-Id: Ica2563d9e8da15e19eb38246d4de54a1fcb75655
2015-03-02V805: Decreased performanceCaolán McNamara1-1/+1
Change-Id: I822c5ebc321ebda87c238a1781a31793c1623e34
2015-03-01unconditional break in while loopMarkus Mohrhard1-3/+1
Change-Id: Ia5c28300ba6c299c7625e8b63a46327123ebb98e
2015-02-25remove NUMBERFORMAT_ constantsNoel Grandin1-2/+2
.. in favour of just using the underlying constants from css::util::NumberFormat Change-Id: I0c6b128b66c91b268f5ae300f9c17c7792df5e99
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin21-134/+134
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-18TyposJulien Nabet5-6/+6
Change-Id: I845a85e1aad4a0708f2b43f7d94606b4b5513ee4
2015-02-17Typo: with->widthJulien Nabet1-1/+1
Change-Id: Ie9c159a00af3cb96aef98bc7befc85dd4a425a7b
2015-02-17Resolves: tdf#89417 disable hardware accel checkbox if property is readonlyCaolán McNamara1-0/+14
Change-Id: Ie99643ba29a3b47dd47d2fb1359d573a52f4c64a
2015-02-17translatable="no" for some .ui placeholdersAndras Timar1-1/+1
Change-Id: I89fe5532b5a8305f94b4c70aac2df7737e691ab5
2015-02-17tdf#88427: Add GUI to enter and maintain a list of Time Stamping AuthoritiesTor Lillqvist8-2/+489
It is just a simple list of entered URLs, accessed from the Security page. No sanity checks for now. No selection of a "default" one for now. Implementation is much simpler this way. The actual selection of one TSA (or none) is done when exporting to PDF. Change-Id: I0392eabc9b9629a6f0a767d1b2337622a61c120f
2015-02-17Bin some superfluous vertical whitespaceTor Lillqvist1-3/+0
Change-Id: I237c90c6451ff0bd0e7a691516ec8ebe70437e4b
2015-02-16cppcheck: cstyleCastCaolán McNamara1-10/+10
Change-Id: I95659b790f356d6eaf495120fb8ac2c9eba854db
2015-02-16add GetSelectEntryData to ListBox and ComboBoxNoel Grandin7-13/+11
to reduce code clutter like pLbSelect->GetEntryData(pLbSelect->GetSelectEntryPos()) since this is a fairly frequent operation. Change-Id: I41daf30fdeda2442ad1ac829e12f553233bae184 Reviewed-on: https://gerrit.libreoffice.org/14472 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-02-09Related: fdo#87876 make checkbox label shorter, move warning into tooltipCaolán McNamara2-13/+3
Change-Id: I5f24703db70b53306d618d8fb89ad4a468d1a5f9
2015-02-09Resolves: fdo#87876 full text of war and peace used as checkbox labelCaolán McNamara2-1/+12
Change-Id: I016975123c0f277b4e4c8c8097e89fd84d93530a