summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2014-05-30coverity#1213143 Missing break in switchCaolán McNamara
Change-Id: Ief8178f5aa829fba40134d92e686910f1e8f0c54
2014-05-30coverity#1213145 Missing break in switchCaolán McNamara
Change-Id: I88e75d08db68417a931e47c1747900dd3fd1adad
2014-05-30coverity#1213146 Missing break in switchCaolán McNamara
Change-Id: Ib3e5476cf764862f29e6c964bf0f8879b0f416c1
2014-05-30coverity#1213147 Missing break in switchCaolán McNamara
Change-Id: Icafdcadb22da84d9f8cdb8928aa5e2c148993384
2014-05-30coverity#705031 Unchecked dynamic_castCaolán McNamara
Change-Id: I492db48ee0b3098dddad638736f3d2e062dc6ceb
2014-05-30coverity#705026 Unchecked dynamic_castCaolán McNamara
Change-Id: I76aeefc705481249b0197839a9db3eecb34adc92
2014-05-30coverity#705014 Unchecked dynamic_castCaolán McNamara
Change-Id: Iec924d7697c2ccdf63f4d6748b819943d0870d48
2014-05-30coverity#704917 Unchecked dynamic_castCaolán McNamara
Change-Id: I031b249a2b074c6ba8eb291fa2ade8df0ae74112
2014-05-30coverity#704912 Unchecked dynamic_castCaolán McNamara
Change-Id: I1383d63d3513dfcb8763857a49742a756836987f
2014-05-30coverity#704896 704896 Unchecked dynamic_castCaolán McNamara
Change-Id: Ibc24125d90d324033673988567cd5925dee9ee53
2014-05-30Resolves: fdo#79360 impress hangs on using sidebar new styleCaolán McNamara
because those styles are "pseudo-styles" and a new one cannot be added. The possibility is supposed to be disabled, and it is disabled in the floating stylelist. The old code assumes there can only be one of these stylelists and when a stylelist queries if the "new" should be disabled the callback asks the stylelist what family is selected, but only asks the floating one. So, floating closed, sidebar open, the new is not disabled. Implement the ancient TODO now that we have to. Instead of asking the stylelist what family is selected, query the frame for what is the current SID_STYLE_FAMILY as set by whatever is the active stylelist. What's disturbing is the SID_STYLE_FAMILY values are not SfxStyleFamily, but indexes that have to be mapped to SfxStyleFamily. I bet there are a pile of bugs around that, especially with little islands of different conversion codesites Change-Id: I85c8032d7c26ae6eea245685748f89b2a860e767
2014-05-29SwXShape::getPropertyStates(): handle textboxesMiklos Vajna
Change-Id: I5286a48e5e5dcb0140f1dcf5a5ae733e3881d2b2
2014-05-29SwTextBoxHelper: use UNO_NAME_* constantsMiklos Vajna
Change-Id: Ie2ce95f46c19fa6c693619242a65bccc442a7fe7
2014-05-29SwTextBoxHelper::syncProperty(): no need to pass the property nameMiklos Vajna
Change-Id: Ic2f6ae15fd81826d2bc6f8796e33c3c93b34e240
2014-05-29SwTextBoxHelper::create(): initialize positionMiklos Vajna
The situation is a bit more complicated here, drawing::XCustomShapeEngine returns the text rectangle in absolute coordinates, but that's on the drawpage. So count the relative coordinates, and then just adjust the position we got from the original shape. Change-Id: Ibfbc183e5170037c8c281d61ce802a19a7acda17
2014-05-29SwTextBoxHelper::create(): initialize sizeMiklos Vajna
On import, syncProperty() takes care of this, but in case the user interactively adds a textbox, when we need to handle the size in create() as well. Change-Id: I9428a682dbf70550bdfd081900e8098aeb64d38f
2014-05-29handle direct formatting for numbering in .docx (bnc#875717)Luboš Luňák
Change-Id: I3ed0f926e79f3878c5702c2becae97d99d00e201
2014-05-29remove more unnecesary OUString constructor useNoel Grandin
when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-28fdo#78737: sw: fix setting tab stops via rulerMichael Stahl
The SvxRuler binds the SID_ATTR_PARA_LRSPACE, and its indents and the positions of tab stops depend on the values it gets from there; in LO 4.0 the value came from the SwView::StateTabWin() but now it comes from SwTextShell::GetAttrState(), and the difference is that the former does a special request to get the NumRule indents as LR-space. (regression from d02f75a8c36705924ddd6a5921fe3012fafce812) Change-Id: I548ce188655555f2473cb3973ce7aeb927d1a404
2014-05-28coverity#738461 Uncaught exceptionCaolán McNamara
Change-Id: Iecc2653faae6bebd31909139392586fe66a17cb4
2014-05-28coverity#707290 Uncaught exceptionCaolán McNamara
Change-Id: Ia1d09b753270cca82cadf8779abec44c8a0180b1
2014-05-28SwFlyCntPortion::SetBase: adjust position of the textbox if necessaryMiklos Vajna
In case of inline shapes, it's not possible to just copy the AnchorType property of the shape to the textbox, as we want the textbox at the expected position, not inline. OTOH, an inline shape has an implicit position, so we can't position its textbox at import-time. Solve the problem by setting the position of the textbox as we create the layout of the inline shape. Change-Id: I425ff5e0760858ebcbe457ed0ce9e4977ae8bc74
2014-05-28SwTextBoxHelper: extract getTextRectangle() from syncProperty()Miklos Vajna
Change-Id: I6265247593571ffba4cbda7f87bdde1e943aff51
2014-05-28SwFrmFmts::dumpAsXml: show address of the frame formatMiklos Vajna
Change-Id: I4dc0c51f90f06c85ca0da3d581060f29b029b762
2014-05-28update_pchThomas Arnhold
Change-Id: I5316693452427ed76a7738b090de023b110caa40
2014-05-28coverity#704980 Unchecked dynamic_castCaolán McNamara
Change-Id: I2947a46228515dec7d826c9b3d36c15921874022
2014-05-28coverity#704979 Unchecked dynamic_castCaolán McNamara
Change-Id: Ied5d4e524becf3d23a21abab8511aaab8a237bf7
2014-05-28coverity#704978 Unchecked dynamic_castCaolán McNamara
Change-Id: I800d861dcc7f7265356ef426a54fce14d0765a19
2014-05-28coverity#704955Caolán McNamara
Change-Id: I86c41b9751520ce88bc780eaef8b4f561b9d5135
2014-05-28coverity#704962 Unchecked dynamic_castCaolán McNamara
Change-Id: I6960b09ef68a9755469c42715f5ccd25ac3d3896
2014-05-28coverity#704963 Unchecked dynamic_castCaolán McNamara
Change-Id: I0dc06f1ffe3a9dfc64cc35ea3c46a237505fe4e8
2014-05-28coverity#704964 Unchecked dynamic_castCaolán McNamara
Change-Id: I787a476dd9f31db7b266f50a9b376b4cf1f49271
2014-05-28WaE: -Werror=maybe-uninitializedCaolán McNamara
Change-Id: I8dfbc461b7cfa0da941964cae2b82cdde3f564b2
2014-05-28coverity#704965 Unchecked dynamic_castCaolán McNamara
Change-Id: Iadb4615ac582fa9ef815cab399476ed330838173
2014-05-28coverity#704966 Unchecked dynamic_castCaolán McNamara
Change-Id: I3a3601c3a13641aea4523438c1e0ee9898b021a0
2014-05-28coverity#704967 Unchecked dynamic_castCaolán McNamara
Change-Id: I2aa69b8876dce21c362d54053072cc0cfcd3dc8d
2014-05-28coverity#704970 Unchecked dynamic_castCaolán McNamara
Change-Id: I0faff03dfd40764ac644862dc3bb69082ed3b144
2014-05-28coverity#704971 Unchecked dynamic_castCaolán McNamara
Change-Id: Ic5983001ea739fc04c15c0852b6693c9cc9bfabd
2014-05-28coverity#704972 Unchecked dynamic_castCaolán McNamara
Change-Id: I8a3a93b9440992b8107aef6b1f4b204b0399fae1
2014-05-28coverity#704955 Unchecked dynamic_castCaolán McNamara
and coverity#704956 and coverity#704957 Change-Id: I6df06c3b20440659788b12a1f73dcdd68dcbe5b5
2014-05-28coverity#704952 Unchecked dynamic_castCaolán McNamara
Change-Id: If49ed05f54a9c89107d3a2836386c111966d0f54
2014-05-28coverity#704924 Unchecked dynamic_castCaolán McNamara
Change-Id: Ib8ca2a400947a4085238c3e0936636fbe134a023
2014-05-28Related: fdo#79142 make SetName default to ReindexingCaolán McNamara
Change-Id: I408042bc7bf1a5a955203d65d2c68ebf9527b9b5
2014-05-28CppunitTest_sw_rtfimport: enable on MacMiklos Vajna
Change-Id: I5ab812c51e24877a2ad9be29a9d411c08b3234c3 Reviewed-on: https://gerrit.libreoffice.org/9514 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-05-27coverity#704873 Unchecked dynamic_castMiklos Vajna
Change-Id: I03580779ba69a71e51e9e4e1349fe2f5d77956d5
2014-05-27sw doc model dump: handle content of SwFmtHori/VertOrientMiklos Vajna
Change-Id: I67237267be5ac4071ecdb480cacf51b4a2fb4f1f
2014-05-27SwTextBoxHelper: set textbox Surround for inline shapesMiklos Vajna
Change-Id: I25167b28397db185cdf9fe5844feecb5a16cc13e
2014-05-27SwTxtNode::dumpAsXml(): handle RES_TXTATR_FLYCNTMiklos Vajna
Change-Id: Idaa9a057bb17af2642706b144544df92139a1fce
2014-05-27fdo#78332: sw: fix separators in SwDDEFieldType::PutValue()Michael Stahl
Setting 3 separators instead of 2 does not work. (regression from 263153842741d7ce21cc0bf1c5296a55a1138024) Change-Id: Id0b4649404b8a49a7f89a237c46106bce4e146ff
2014-05-27css already means ::com::sun::starThomas Arnhold
Change-Id: I48d7b746d7cc49246743c62480b0d225d2519342