summaryrefslogtreecommitdiff
path: root/sw/source
AgeCommit message (Collapse)Author
2012-03-11Some cppcheck cleaningJulien Nabet
2012-03-09fdo#45962: fix context menu key yanking cursor out of header/footerMichael Stahl
For the "context menu" key VCL synthesizes a cursor position that is the center of the window, hence likely to be in the document body. When SwEditWin::Command calls lcl_CheckHeaderFooterClick, it then moves the document view cursor; prevent that by only calling that for actual mouse events. (regression from a6176612ff1a6a142a68964b2c0834d28125fc45)
2012-03-09sw: doxygen comments for SwTxtFmtColl, SwFlowFrm, SwTxtFrmMiklos Vajna
2012-03-09update code a bitCaolán McNamara
2012-03-08sw: SwTxtFrm formatting, cleaned up useless debug code and translated commentsCédric Bosdonnat
2012-03-08sw layout dump: replaced pointers by FrmIds and added frame boundsCédric Bosdonnat
2012-03-08different types in std::min on 32bitCaolán McNamara
2012-03-08docufld.cxx: Apple gcc can't find min(sal_Int32, int)Michael Stahl
2012-03-08Convert from tools/table.hxx to std::map in SvxMacroTableDtorNoel Grandin
In this case, we also convert from storing pointers to storing the items directly because SvxMacroTableDtor completely controls the lifecycle of the SvxMacro objects it contains. Also add an operator== to SvxMacroTableDtor and remove the out-of-line implementations of equals from two other places.
2012-03-08convert to OUString to I can use SAL_WARNCaolán McNamara
2012-03-08fdo#43424: Comparing empty document with attached one crashes LOSzabolcs Dezsi
2012-03-08Fixed crash when renaming AutoTextSzabolcs Dezsi
2012-03-08Resolves: fdo#46939 don't rename autotext when source and dest are the sameCaolán McNamara
2012-03-08Resolves: fdo#40686 dyaLinePitch only valid between [1-31680]Caolán McNamara
2012-03-08fdo#45682 split button for writer table line colorWinfried Donkers
2012-03-0864bit Truncated pointer used as an unique 32bit idCaolán McNamara
2012-03-08tidy up SwBreakItCaolán McNamara
2012-03-08de-uno-ize ScriptTypeDetectorCaolán McNamara
leave a UnoScriptTypeDetector implementation that points to the trivial ScriptTypeDetector for external consumers, e.g. sdext
2012-03-08tidy up WW8FormulaControl, with knock on results elsewhereCaolán McNamara
2012-03-08Fix bug in commit ad9960ffeb25f31ce4b1f819f909f1eb9ad6d7ddNoel Grandin
My previous patch converting SvPtrarr usage to std::vector had a bug, (spotted by Ivan timofeev.i.s@gmail.com) where it called multimap.find instead of multimap.equal_range.
2012-03-07We just want to know if this ole object is already exported or notCaolán McNamara
So it's merely the knowledge of having exported this object already that we need to know in order to elide re-exporting it. This code is still 64bit unsafe, as the nPictureId has to be a unique 32bit value for each object, so using the pointer as the key is horribly dubious, but this should be the same as the original code.
2012-03-07sw: tweak comment translationsMichael Stahl
037d14ce and following
2012-03-07Fix MSVC compilation error: can't assign a const char* to StringTor Lillqvist
2012-03-07convert SwWW8ImplReader::simpleAddTextToParagraph to SAL_INFO()Miklos Vajna
2012-03-06repair the "No Fill" button which sets a transparent background in WriterIvan Timofeev
see commit 836d98646203e0d9d3916571ed55d6572c2cb3dc
2012-03-06fdo#45671 writer par. bg color simplified codeWinfried Donkers
2012-03-06Fix fdo#38207 and also hide another option in Writer/WebStefan Knorr (astron)
2012-03-06silence SolarMutex not locked spewCaolán McNamara
2012-03-06SwColumnPage::LinkStubTimeout doesn't need to be a linkCaolán McNamara
2012-03-06SwTOXStylesTabPage::LinkStubModifyHdl doesn't need to be a linkCaolán McNamara
2012-03-05Sprinkle more DISABLE_SCRIPTING ifdefsTor Lillqvist
2012-03-05WaE: unused variable in the DISABLE_SCRIPTING caseTor Lillqvist
2012-03-05Related: rhbz#799630 survive unknown/broken nIdctHint valuesCaolán McNamara
2012-03-05remove RTL_CONSTASCII_USTRINGPARAM usageLuboš Luňák
2012-03-05RtfAttributeOutput::FlyFrameGraphic: don't try to compare a null pointerMiklos Vajna
2012-03-05i#118986 RTF: reduce memory usage when exporting large graphicsMiklos Vajna
Delay the call to FlyFrameGraphic() till we can write the result to the stream without buffering in memory; 1.048GB -> 330.1MB memory usage with the bugdoc.
2012-03-05make ExportPICT() and WriteHex() be able to write to a streamMiklos Vajna
2012-03-05introduce RtfStringBufferMiklos Vajna
It's a wrapper around OStringBuffer to handle export of graphics more efficiently.
2012-03-05this can be just a pointer as wellMiklos Vajna
2012-03-05Sprinkle DISABLE_SCRIPTING ifdefsTor Lillqvist
2012-03-03Avoid temporary rtl::OUStringJulien Nabet
2012-03-03SwXTextField::setPropertyValue: simplify a bit:Michael Stahl
It looks like the second call to PutValue() was accidentally inserted in f462a51fcc8e50f3255d2d8c98a4c6408dce725e. Also, pDoc is valid when pField is.
2012-03-03unofield.cxx: fix indentation a littleMichael Stahl
2012-03-03fdo#42073: sw: expand all text fields when setting properties:Michael Stahl
SwXTextField::setPropertyValue: call Expand() for all text fields Fixes getPresentation returning stale values. (regression from CWS sw34bf01, 8485708f3001fca132c3353c464fe7187ef62bed) Also, without this the text formatting does not actually update and the new content is not displayed until some other unrelated editing operation.
2012-03-03fdo#39694: SwTxtFld: do expand the field in the ctorMichael Stahl
While only the text formatting is able to expand all fields correctly, this is still good enough for many field types and fixes a race condition when the field value is requested before layout is finished. (regression from CWS sw34bf01, 8485708f3001fca132c3353c464fe7187ef62bed)
2012-03-02fix buildCaolán McNamara
2012-03-02Convert SvPtrarr usage to std::vectorNoel Grandin
In GetBookmarks and Writer_Impl pFontRemoveLst field. Remove unused field pBkmkArr in Writer_Impl class. Convert SwBookmarkNodeTable to std::multimap, greatly simplifying code.
2012-03-01New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problemStephan Bergmann
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
2012-03-01fdo#45671 calc cell background color simplified code for split buttonWinfried Donkers
2012-03-01WaE: use of logical '||' with constant operandTor Lillqvist
Until now the code has by accident added a property with the attribute MAYBEVOID (which is that one which has the value 1), while the intention obviously was to use BOUND|REMOVABLE. Whether this has caused unintended consequences, or been harmless, and whether this fix now then will cause unintended consequences, no idea.