summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2014-05-20SvxRelativeField: set the unit from the passed stringmapMichael Stahl
In the Paragraph "Indents & Spacing" tab there are fields with unit: <object class="svxlo-SvxRelativeField" id="spinED_LEFTINDENT:0cm"> But the unit is effectively ignored, and the resulting SvxRelativeField with FUNIT_NONE and 9999 max somehow results in 0.18cm max when the dialog sets cm as unit. Change-Id: I6001c93079fd7d899f1e119913b29ea4898b1c34
2014-05-20fdo#77282 Replace "Edit Group" with "Enter Group"Laurent Balland-Poirier
Command to enter in a group of objects should be the same in Writer and Draw Update of Help in commit 8944 Change-Id: I39d9c9f9e969978f4084703d2468bdf8a2bf7372 Reviewed-on: https://gerrit.libreoffice.org/8923 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-19loplugin:saloverrideStephan Bergmann
Change-Id: I2c1033358c546adefa4e280f0b6cb577ee7e3b25
2014-05-19loplugin:unreffunStephan Bergmann
Change-Id: I54aabdf4a373c3b7163bfc304ee270ab212d738a
2014-05-19svx: SvxPixelCtl should never be able to have zero linesChris Sherlock
Change-Id: I898d4d8f00a190a57d3402aa6c9da96c960b6fe5
2014-05-19Resolves: fdo#78841 crash because parent isn't SvxTabPageCaolán McNamara
regression from 60f11adb950e4f9645cc9ecb0f5af8235cc97366 Change-Id: I244dd9fba3dc8230fcac8710a1289151b25dcf6c
2014-05-19We apparently don't want to build pixelctl for WNTTor Lillqvist
Change-Id: I01bbafe8a73f6cf71c1040f2d94744922154b896
2014-05-19svx: pixelctl demo - cleanup headersChris Sherlock
Change-Id: I9664a064789f5e072d24cfead6a83d64accce27d
2014-05-19svx: Create pixel control (bitmap editing) demoChris Sherlock
Change-Id: Id2cacd8c080b4df0600ab48b2ce4558f3539bbbe
2014-05-18Correct prefixMaxim Monastirsky
Change-Id: I767501475b0b826a76a8743513c60f25e70dea8a
2014-05-18Fix last color detectionMaxim Monastirsky
Change-Id: Idb0f90a3f2100211689c3ede1dfedda86edb9728
2014-05-18That's actually a pointerMaxim Monastirsky
Change-Id: I9d6333646f8ef366f63ff09e089c84517d9756e7
2014-05-18fdo#46839 Convert line color picker to split buttonMaxim Monastirsky
Change-Id: I4987cc9ffba675009f2d2ae9f6b12ed4ee02fe13
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-17fdo#78149: set the ViewPort even when painting to a MetaFileMichael Stahl
ObjectContactOfPageView::DoProcessDisplay() has a special case for painting to MetaFiles, and does not set the ViewPort from the passed-in RedrawArea unless it's a printing or PDF export, with the result that for a plain MetaFile all fly-frames in a Writer document are painted, whether visible or not. Since e2eda70f2746f08376d8cdf5e5360df217335aef now calls GetPreviewMetaFile() after every document load, this issue is more visible. Since there is no obvious reason to ever ignore a passed RedrawArea, simply always use it for the ViewPort, not just when printing. Change-Id: I256710f1476181f567069b45a2a494b0d2064d6b
2014-05-16unused XGradient::VclGradientMiklos Vajna
Change-Id: Ia0c416ce7c1323f9c0c20b969bd57e9a2174a3dc
2014-05-16more SvxLanguageBoxBase interfacingEike Rathke
Change-Id: Ife9317d40756099ae4d8ecb84cccea91bd75a14c
2014-05-16strangely obvious leaky codeCaolán McNamara
Change-Id: I968cbb784d53e0cff0649061c58f752939226a09
2014-05-16ODF filters: fallback glTF model to bitmap for older versionsZolnai Tamás
Change-Id: I33161401a29f511e61429355dd2905d4643fe8ff
2014-05-16clean up, remove eof commentsThomas Arnhold
Change-Id: I166e781cb54181a8e5d08021cf5f6dfcd1fde5cb
2014-05-16introduce SvxLanguageBoxBase, SvxLanguageBox, SvxLanguageComboBoxEike Rathke
In preparation of having a language box available as ComboBox to be able to add language tags. Change-Id: I5af5ea5bb06e558db1fcf9c0668be274d5cec04e
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-14Keep only one class for toolbox color controlsMaxim Monastirsky
instead of 5 (mostly identical) classes. Also the following bugs were fixed: * All pickers now use split buttons. (fdo#45671) * Color palette now indicates the current color. (fdo#73891) (Previous changes related to that bug are reverted as part of this commit.) * Selecting a color from a float panel now updates the button. (fdo#77683) * For Font color/background color in Writer, the color that is shown on the button, is always the one that's actually used. (Can be a different color after hiding the toolbar.) * For Font color/background color in Writer, the button now indicates when we're in the format paintbrush mode. (Removed in 085e8a07e61ef2d3a82e11094d8773ab17cfdb3c for some reason.) Change-Id: Idb4829552240c52fb0882aca627c8177bbe2f839
2014-05-14Revert "fdo#77683 the color in the toolbar buttons doesn't change."Maxim Monastirsky
This reverts commit f5dc536eae7dc28e09112ab9dd69e55fae015ee8. This commit actually created a regression. A split button supposed to show the last used color, not the current one. I'll try to solve fdo#77683 in a different way, in a following commit. Change-Id: I5df1ce49995e4755f54af977ca25d4e4dfdee629
2014-05-14Find places where uno::Sequence is passed by value.Noel Grandin
Implement a clang plugin to find them, and clean up existing code to pass them by reference. Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8 Reviewed-on: https://gerrit.libreoffice.org/9351 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-13unused XFillStyleItem ctorMiklos Vajna
Change-Id: I28497670242a98fba0f5f507a6f634a6fe59c20e
2014-05-13remove dead codeNoel Grandin
Change-Id: Ic4fb478921714429af138ca212bd7f67f408d434
2014-05-13coverity#1212488 Copy-paste errorThomas Arnhold
Change-Id: Ibdead0bf8de6ea77fe6cb0cdc4851e0eb98644a6 Reviewed-on: https://gerrit.libreoffice.org/9302 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2014-05-11SdrObjCustomShape::GetCustomShapeEngine: aEngine can't be empty at this pointMiklos Vajna
Change-Id: I7c656c461ab6bdf53d14ec5804ac82e219c0aef1
2014-05-11Fix previous commit (svx part)Julien Nabet
Change-Id: I58fb2aca452935c04c498ee63c3b4060b1ebc50e
2014-05-11Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part10Julien Nabet
Change-Id: I67acda35fa127547dcea0cd18c9dc16db7c00294
2014-05-10coverity#708341 Uninitialized scalar fieldCaolán McNamara
Change-Id: I1169024f243e447f315f796fdc9c53e8b9006602
2014-05-10coverity#984153 Uninitialized scalar fieldCaolán McNamara
Change-Id: I25581ff4471d8a7f50849335dd7bd0ccad7b0742
2014-05-09'!= false' is redundant, and confusing - kill it.Jan Holesovsky
Change-Id: I1a52b9ce7b590e8cf274a2daaa1c55cfc1efe48b
2014-05-09coverity#1209792 Dereference before null checkCaolán McNamara
Change-Id: Ie4ff7acb0b9116fbdab42c6bc0088a43e98871fc
2014-05-09coverity#1209818 Dereference before null checkCaolán McNamara
Change-Id: I0d94e599818df19411de8e58b99bb9f5735f973a
2014-05-08some more %PRODUCTNAME usageThomas Arnhold
Change-Id: If418877b88e95cd55c39fc6dbe314b3a796574cd
2014-05-08typosThomas Arnhold
Change-Id: I2e7676ddec446dfdb72018a1039d6271f963376c
2014-05-08Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part6Julien Nabet
Change-Id: Ib523206d67ad13416557be1b37a58ba7a9791ca5
2014-05-08add a status bar icon to fit slide to windowCaolán McNamara
Change-Id: I2c1d1fc7425b0aaad2a2445e0ac71ddc38410fdb
2014-05-08use new VCL IsValueChangedFromSaved methodNoel Grandin
follow to commit ff1a7a59434f5f793d4044aad615bcf78148e963 "RFC: add IsValueChangedFromSaved to VCL button and listbox" Change-Id: If2e6d9e7c18590dc4abbc90362d7897ca2557dd6
2014-05-08coverity#736151 Dereference null return valueCaolán McNamara
Change-Id: If5bc9d3a5c425ed56c27fa6b43aa7049cd5b2a06
2014-05-07fdo#62176: Revert "n757419: Hidden/Non-wrapping text."Michael Stahl
This reverts commit 0f8f92a5b6fcba1fef456539bb929819a9162a85. Negative fo:text-indent values are explicitly allowed by ODF, so whatever problem was worked around here needs to be fixed differently. Conflicts: svx/source/unodraw/unoshape.cxx Change-Id: I7e2ae38c4c950e37f0c96a32164a5b6ec10fd47d
2014-05-07coverity#735860 Explicit null dereferencedCaolán McNamara
Change-Id: I2c031ffc70e7ddacde52f120513f9dd5ff1a4c50
2014-05-07coverity#735859 Explicit null dereferencedCaolán McNamara
Change-Id: I8edbf48bc981b4636dd55b5f4cd2b314d387486d
2014-05-07coverity#735858 Explicit null dereferencedCaolán McNamara
Change-Id: Ia8964b4b7e38d7bba9417695f571858683c2fd5b
2014-05-07coverity#1209523 Dereference after null checkCaolán McNamara
Change-Id: If4c218c471b34e2f0c8f083131bc24f1ac9d48e3
2014-05-07The opaque PostUserEvent IDs are actually pointersStephan Bergmann
...so declare them as such. This avoids the recurring mistake of storing such IDs as sal_uInt32, truncating in 64 bit environments, causing RemoveUserEvent to potentially not remove the event, it thus firing "too late" and probably causing a crash. While at it, consolidate the trivially unnecessary overloads of both Application::PostUserEvent and Window::PostUserEvent. And in each of them, it looks like deleting the mpLink member was missing from the failure branch. Change-Id: Iab13afbb06e12ac15dec6a6b5b85a7e402a3c654
2014-05-06Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part3Julien Nabet
Change-Id: Ibabd6d2d5e84fe007364bd1a4182a01ea2352b7a