summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)AuthorFilesLines
2014-05-21we have GetEntryPos(), use itEike Rathke1-8/+12
Change-Id: Iebb19951efa81817793a155164862076d1198e6e
2014-05-21Split ZCodec::BeginCompression param into its 3 independent componentsStephan Bergmann1-1/+1
Change-Id: I275abafe81c8bb617c70646244b14f6cecc33854
2014-05-21RID_DLG_UPDATE conversion to .uisk941-5/+5
Conflicts: desktop/source/deployment/gui/descedit.hxx Change-Id: Icf9ee3081b468f99833d1e38182887ad1da6f675 Reviewed-on: https://gerrit.libreoffice.org/9417 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-20Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part18Julien Nabet30-363/+363
Change-Id: Ibf958dbfbf7cdbe6ad31d390138be8d4d468c225
2014-05-20SvxRelativeField: set the unit from the passed stringmapMichael Stahl1-4/+10
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-Poirier1-1/+1
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 Arnhold19-66/+0
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 Bergmann1-9/+9
Change-Id: I2c1033358c546adefa4e280f0b6cb577ee7e3b25
2014-05-19loplugin:unreffunStephan Bergmann1-7/+0
Change-Id: I54aabdf4a373c3b7163bfc304ee270ab212d738a
2014-05-19svx: SvxPixelCtl should never be able to have zero linesChris Sherlock1-0/+1
Change-Id: I898d4d8f00a190a57d3402aa6c9da96c960b6fe5
2014-05-19Resolves: fdo#78841 crash because parent isn't SvxTabPageCaolán McNamara2-15/+9
regression from 60f11adb950e4f9645cc9ecb0f5af8235cc97366 Change-Id: I244dd9fba3dc8230fcac8710a1289151b25dcf6c
2014-05-19We apparently don't want to build pixelctl for WNTTor Lillqvist1-1/+2
Change-Id: I01bbafe8a73f6cf71c1040f2d94744922154b896
2014-05-19svx: pixelctl demo - cleanup headersChris Sherlock1-8/+0
Change-Id: I9664a064789f5e072d24cfead6a83d64accce27d
2014-05-19svx: Create pixel control (bitmap editing) demoChris Sherlock3-0/+203
Change-Id: Id2cacd8c080b4df0600ab48b2ce4558f3539bbbe
2014-05-18Correct prefixMaxim Monastirsky1-5/+5
Change-Id: I767501475b0b826a76a8743513c60f25e70dea8a
2014-05-18Fix last color detectionMaxim Monastirsky1-1/+1
Change-Id: Idb0f90a3f2100211689c3ede1dfedda86edb9728
2014-05-18That's actually a pointerMaxim Monastirsky1-3/+3
Change-Id: I9d6333646f8ef366f63ff09e089c84517d9756e7
2014-05-18fdo#46839 Convert line color picker to split buttonMaxim Monastirsky5-81/+93
Change-Id: I4987cc9ffba675009f2d2ae9f6b12ed4ee02fe13
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante5-9/+6
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 Stahl1-1/+3
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 Vajna1-16/+0
Change-Id: Ia0c416ce7c1323f9c0c20b969bd57e9a2174a3dc
2014-05-16more SvxLanguageBoxBase interfacingEike Rathke1-4/+97
Change-Id: Ife9317d40756099ae4d8ecb84cccea91bd75a14c
2014-05-16strangely obvious leaky codeCaolán McNamara1-0/+1
Change-Id: I968cbb784d53e0cff0649061c58f752939226a09
2014-05-16ODF filters: fallback glTF model to bitmap for older versionsZolnai Tamás2-1/+7
Change-Id: I33161401a29f511e61429355dd2905d4643fe8ff
2014-05-16clean up, remove eof commentsThomas Arnhold2-8/+0
Change-Id: I166e781cb54181a8e5d08021cf5f6dfcd1fde5cb
2014-05-16introduce SvxLanguageBoxBase, SvxLanguageBox, SvxLanguageComboBoxEike Rathke1-75/+205
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 Arnhold96-257/+258
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 Monastirsky4-421/+101
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 Monastirsky1-2/+7
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 Grandin2-2/+2
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 Vajna1-5/+0
Change-Id: I28497670242a98fba0f5f507a6f634a6fe59c20e
2014-05-13remove dead codeNoel Grandin1-50/+0
Change-Id: Ic4fb478921714429af138ca212bd7f67f408d434
2014-05-13coverity#1212488 Copy-paste errorThomas Arnhold1-1/+1
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 Vajna1-11/+8
Change-Id: I7c656c461ab6bdf53d14ec5804ac82e219c0aef1
2014-05-11Fix previous commit (svx part)Julien Nabet1-2/+2
Change-Id: I58fb2aca452935c04c498ee63c3b4060b1ebc50e
2014-05-11Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part10Julien Nabet2-9/+9
Change-Id: I67acda35fa127547dcea0cd18c9dc16db7c00294
2014-05-10coverity#708341 Uninitialized scalar fieldCaolán McNamara1-0/+2
Change-Id: I1169024f243e447f315f796fdc9c53e8b9006602
2014-05-10coverity#984153 Uninitialized scalar fieldCaolán McNamara1-2/+3
Change-Id: I25581ff4471d8a7f50849335dd7bd0ccad7b0742
2014-05-09'!= false' is redundant, and confusing - kill it.Jan Holesovsky3-3/+3
Change-Id: I1a52b9ce7b590e8cf274a2daaa1c55cfc1efe48b
2014-05-09coverity#1209792 Dereference before null checkCaolán McNamara1-5/+3
Change-Id: Ie4ff7acb0b9116fbdab42c6bc0088a43e98871fc
2014-05-09coverity#1209818 Dereference before null checkCaolán McNamara1-2/+2
Change-Id: I0d94e599818df19411de8e58b99bb9f5735f973a
2014-05-08some more %PRODUCTNAME usageThomas Arnhold1-2/+2
Change-Id: If418877b88e95cd55c39fc6dbe314b3a796574cd
2014-05-08typosThomas Arnhold2-3/+3
Change-Id: I2e7676ddec446dfdb72018a1039d6271f963376c
2014-05-08Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part6Julien Nabet11-117/+117
Change-Id: Ib523206d67ad13416557be1b37a58ba7a9791ca5
2014-05-08add a status bar icon to fit slide to windowCaolán McNamara3-15/+51
Change-Id: I2c1d1fc7425b0aaad2a2445e0ac71ddc38410fdb
2014-05-08use new VCL IsValueChangedFromSaved methodNoel Grandin3-8/+8
follow to commit ff1a7a59434f5f793d4044aad615bcf78148e963 "RFC: add IsValueChangedFromSaved to VCL button and listbox" Change-Id: If2e6d9e7c18590dc4abbc90362d7897ca2557dd6
2014-05-08coverity#736151 Dereference null return valueCaolán McNamara1-1/+3
Change-Id: If5bc9d3a5c425ed56c27fa6b43aa7049cd5b2a06
2014-05-07fdo#62176: Revert "n757419: Hidden/Non-wrapping text."Michael Stahl1-8/+1
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 McNamara1-5/+6
Change-Id: I2c031ffc70e7ddacde52f120513f9dd5ff1a4c50
2014-05-07coverity#735859 Explicit null dereferencedCaolán McNamara1-7/+3
Change-Id: I8edbf48bc981b4636dd55b5f4cd2b314d387486d