summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2012-11-10DocxAttributeOutput::FlyFrameGraphic: add assert to avoid misuse of the APIMiklos Vajna
Change-Id: I5d09e297294439fafad94177d8e87ccdf829b18d
2012-11-10cppCheck: remove dead assignmentjailletc36
Change-Id: Iea8388c16de3399853dc384e7df6bfcc92170ea2 Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/1018 Reviewed-by: Ivan Timofeev <timofeev.i.s@gmail.com> Tested-by: Ivan Timofeev <timofeev.i.s@gmail.com>
2012-11-09center these buttons vertically, rather than fill the rowCaolán McNamara
Change-Id: I9acf8198ac19c3e448bb7d65116e408ac179993e
2012-11-09fdo#51550 fix DOCX export dataloss on non-math/chart OLE exportMiklos Vajna
This is still not complete, but having the replacement graphic only is far better than having nothing. Change-Id: I141a3de1a449f4261c7086e10f2c141b3f6cdb10
2012-11-08missing braceCaolán McNamara
Change-Id: Ib54dd8fe55f7c527e4f163e7ae559e9c3483407b
2012-11-08testcase for a recent bnc#773061 fixLuboš Luňák
Change-Id: I60874c6ad8ccb9767961ed0064b9a15bfc1b07d5
2012-11-08fdo#35427: repair Tools > Options > Writer > View - Show Scroll Slider optionsIvan Timofeev
Change-Id: I2bacd52a182a2dba3dbe6c6d63861470e87b6066
2012-11-08sal_Bool to boolTakeshi Abe
Change-Id: Idfbc33106b20b06c5247c50d099972305f016a51
2012-11-07cppCheck: Various clean-upjailletc36
mailconfigpapge: shouldn't it be a logical AND instead of a bit-wise operation ? HeaderFooterWin, drwtxtsh, formatclipboard, wview: redundant assignment fldref: unused variable Change-Id: I5016c12527a8811676ff10f07f7be9e855c66814 Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/996 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2012-11-07Documenting results from src code archeology.Thorsten Behrens
Kudos to mst for remembering the Writer core comments from Juergen Pingel.
2012-11-07Remove unnecessary #includeMatteo Casalin
Change-Id: I3c33ce1eecad649c3d23719b51d51057d41d9a2e Reviewed-on: https://gerrit.libreoffice.org/980 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2012-11-07remove label-less frame parentCaolán McNamara
Change-Id: Ic75fe1e53a411b6d1357b8117a88697f493d3c9d
2012-11-07basic: String -> OUStringNorbert Thiebaud
Change-Id: I42479b4bade5111e38d69f04c889c166f340d5ba
2012-11-07sal_Bool to boolTakeshi Abe
Change-Id: Ia1001ff0f4778bdf5e22bf2800f533dfba80c048
2012-11-06New Layout for Word Count DialogSamuel Mehrbrodt
Change-Id: I653b0546fc677bf8cfceac38cb0f98a1b106d0e2 Reviewed-on: https://gerrit.libreoffice.org/995 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-11-06Fix some file modesStephan Bergmann
Change-Id: Ib1746fff848a4f5cc7dd1baec68d9acdc4f7ac1e
2012-11-06docx import: round float value to int when computing cells widthPierre-Eric Pelloux-Prayer
Previously, truncating float to int was introducing accumulating rounding errors, which lead to visible change in column widths. Change-Id: I4557c716fba48dfd9a6c1c4d2cd0d0aa7aeae865
2012-11-06Don't play dirty tricks for const objectsMatteo Casalin
Change-Id: I92c2362b71cf3614b091c893c0fdb3248edb3ddd Reviewed-on: https://gerrit.libreoffice.org/973 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2012-11-06cppCheck: Various clean-upjailletc36
xfdrawstyle.cxx: correct a copy/paste typo in constructor number.cxx: remove an unused variable inftxt.hxx: redundant assignment (pWrongList is assigned twice) Change-Id: I148e23272ffa169ef16052c475e5f24a87383e5b Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/983 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-11-06re-base on ALv2 code. Includes (at least) relevant parts of:Michael Meeks
linecap: Reintegrating finished LineCap feature Patch contributed by Regina Henschel http://svn.apache.org/viewvc?view=revision&revision=1232507 Patches contributed by Sven Jacobi impress212: #i81610# fixed animation export http://svn.apache.org/viewvc?view=revision&revision=1167620 impress212: drawinglayer gbuild environment changes http://svn.apache.org/viewvc?view=revision&revision=1167627 http://svn.apache.org/viewvc?view=revision&revision=1167628 impress212: DffPropSet -> minor code improvements, removing table http://svn.apache.org/viewvc?view=revision&revision=1167634 impress212: #158494# fixed excel import (text rotation) http://svn.apache.org/viewvc?view=revision&revision=1167638 Patches contributed by Armin Le Grand Svg: Reintegrated Svg replacement from /branches/alg/svgreplavement http://svn.apache.org/viewvc?view=revision&revision=1220836 #118728# changed indentifying definitions for Svg file detection http://svn.apache.org/viewvc?view=revision&revision=1229961 #118838# LineGeometry creation for complicated cases optimized to create single Polygons http://svn.apache.org/viewvc?view=revision&revision=1236232 #119176# corrected file type detection for SVG for svg files without xml header http://svn.apache.org/viewvc?view=revision&revision=1309445 #118728# Extended Svg file detection http://svn.apache.org/viewvc?view=revision&revision=1230531 #118529# solve break converters and convert commands for OLEs and images http://svn.apache.org/viewvc?view=revision&revision=1186168 svg: added WaE changes from branch svgreplacement to trunc http://svn.apache.org/viewvc?view=revision&revision=1222974 svg: corrected missing member initialization http://svn.apache.org/viewvc?view=revision&revision=1226134 fix for #118525#: Using primitives for chart sub-geometry visualisation http://svn.apache.org/viewvc?view=revision&revision=1226879 #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles to bitmapEx ... http://svn.apache.org/viewvc?view=revision&revision=1293316 fix for #118525#: removed no longer used variable maOriginalMapMode, one more exception eliminated http://svn.apache.org/viewvc?view=revision&revision=1227097 #16758# Added buffering to the VDev usages of the VclProcessor2D derivates... http://svn.apache.org/viewvc?view=revision&revision=1229521 #116758# Secured VDev buffer device to Vcl deinit http://svn.apache.org/viewvc?view=revision&revision=1230574 #116758# added remembering allocated VDevs for VDevBuffer to be able to also delete these when vcl goes down; it should never happen, but You never know http://svn.apache.org/viewvc?view=revision&revision=1230927 #118730# Changed SvgClipPathNode to use MaskPrimitive2D for primitive representation instead of TransparencePrimitive2D http://svn.apache.org/viewvc?view=revision&revision=1231198 #118822# secured 3D geometry creation (slices) by subdividing the 2D source polyPolygon early http://svn.apache.org/viewvc?view=revision&revision=1234749 #118829# enhanced Svg gradient quality, obstacles avoided http://svn.apache.org/viewvc?view=revision&revision=1235361 #118834# Unified usage of TextBreakupHelper as single tooling class for i18n text primitive breakup http://svn.apache.org/viewvc?view=revision&revision=1236110 #118853# added square pixel size limit to conversion of TransparencePrimitive2D to Metafile action http://svn.apache.org/viewvc?view=revision&revision=1237656 #118824# coreccted mirroring and boundrect when the graphicmanager is used for bitmap output http://svn.apache.org/viewvc?view=revision&revision=1240097 #115092# Corrected VclProcessor2D::RenderPolygonStrokePrimitive2D for various optimization scenarios http://svn.apache.org/viewvc?view=revision&revision=1241434 #118783# Corrected errors in ID strings, corrected Svg line/fill export, corrected polygon close state http://svn.apache.org/viewvc?view=revision&revision=1232006 #118796# corrected null-pointer usage in SVG text exporter http://svn.apache.org/viewvc?view=revision&revision=1240262 #118729# Use GraphicStreamUrl and GraphicUrl to allow multi image import with linked graphics, too http://svn.apache.org/viewvc?view=revision&revision=1229962 #118898# corrected error in GDIMetaFile::GetBoundRect in handling MetaFloatTransparentAction http://svn.apache.org/viewvc?view=revision&revision=1293349 #118855# Corrected handling of possibly created empty clipRegions after PolyPolygon clipping http://svn.apache.org/viewvc?view=revision&revision=1237725 #115962# Better (but not yet optimal, see comments in task) handling of MetaFloatTransparentAction in PDF export http://svn.apache.org/viewvc?view=revision&revision=1241078 IP clearance: #118466# This patch removes librsvg, libcroco, libgsf, ... http://svn.apache.org/viewvc?view=revision&revision=1200879 118779# Added svg content streaming in/out to ImpGraphic stream operators http://svn.apache.org/viewvc?view=revision&revision=1231908 linecap: correctons for WaE and mac drawing http://svn.apache.org/viewvc?view=revision&revision=1232793 svg: uses current system Dpi for Svg replacement image creation http://svn.apache.org/viewvc?view=revision&revision=1233948 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1394326 Remove duplicate header includes. cws mba34issues01: #i117720#: convert assertion into warning http://svn.apache.org/viewvc?view=revision&revision=1172352 118485 - Styles for OLEs are not saved. Submitted by Armin Le Grand. http://svn.apache.org/viewvc?view=revision&revision=1182166 cws mba34issues01: #i117714#: remove assertion http://svn.apache.org/viewvc?view=revision&revision=1172357 Patch contributed by Jurgen Schmidt add some additional checks to ensure proper reading operations http://svn.apache.org/viewvc?view=revision&revision=1209022 mostly prefer our stream / bounds checking work. Patches contributed by Herbert Duerr #i118816# add clarifying comment regarding Font::*Color*() methods http://svn.apache.org/viewvc?view=revision&revision=1233833 extend macro->string handling for empty strings http://svn.apache.org/viewvc?view=revision&revision=1175801 avoid magic constants for SALCOLOR_NONE http://svn.apache.org/viewvc?view=revision&revision=1177543 initialize slant properly in ImplFontMetricData constructor (author=iorsh) http://svn.apache.org/viewvc?view=revision&revision=1177551 #i118675# make check for extension updates more stable http://svn.apache.org/viewvc?view=revision&revision=1214797 #a118617# remove VBasicEventListener.dll binary There are no known users depending on its CLSID http://svn.apache.org/viewvc?view=revision&revision=1203697 Patches contributed by Ariel Constenla-Haile Fix build breaker on Linux/gcc http://svn.apache.org/viewvc?view=revision&revision=1221104 Fix crash when trying to instantiate css.graphic.GraphicRasterizer_RSVG http://svn.apache.org/viewvc?view=revision&revision=1215559 Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117962# - method <SwFlyFrm::IsPaint(..)> - consider instances of <SwFlyDrawObj> http://svn.apache.org/viewvc?view=revision&revision=1172120 sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 gnumake4 work variously from Hans-Joachim Lankenau http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1396782 http://svn.apache.org/viewvc?view=revision&revision=1394707 plus some amount of re-splitting of legacy headers. Patch contributed by Pavel Janik WaE: Remove unused variables. http://svn.apache.org/viewvc?view=revision&revision=1230697 Patches contributed by Takashi Ono mingwport35: i#117795: MinGW port fix for vcl2gnumake http://svn.apache.org/viewvc?view=revision&revision=1172091 mingwport35: i#117795: MinGW port fix for vcl2gnumake http://svn.apache.org/viewvc?view=revision&revision=1172091 Patch contributed by Christian Lippka impress212: #i98044# re enable Text menu for outline and title shapes http://svn.apache.org/viewvc?view=revision&revision=1167639 Patch contributed by Andre Fischer 118674: Made category B code optional and disabled by default. http://svn.apache.org/viewvc?view=revision&revision=1215131 118881: Ignore empty paragraphs after bullets. http://svn.apache.org/viewvc?view=revision&revision=1296205 Patches contributed by Philipp Lohmann ooo340fixes: #i117780# use rtl allocator http://svn.apache.org/viewvc?view=revision&revision=1172087 ooo34gsl02: #i117807# fix an off by one error (index actually inside the pfb section header) http://svn.apache.org/viewvc?view=revision&revision=1167576 various cleanups, related compilation fixes, warning cleanups, re-working of obsolete stl template pieces to use boost instead, changed string classes, re-adapt KDE about data, about dialog, fixing warnings, and other fixes & improvements. Disable svg import / render for about/ branding code-paths for now. Restore full icon theme set. Remove OS/2 conditionals and sources. Remove conflicting gtk/full-screen monitors support. Retain existing svg rasterizer files - temporarily disabled. Standardize stringificaiton and fixup dllpostfix issues. Rename SvgGradientHelper::== to equalTo to avoid overloading issues. Use the flat GdiPlus API for LineCaps calls.
2012-11-06Resolves: fdo#56554 hyphen in RTL date field split RTL processingCaolán McNamara
If we split a range into complex and non-complex, and then decide that the non-complex range is RTL after all, then extend the original complex range to cover the additional RTL sequence. Which keeps the full chunk together to be processed correctly Change-Id: I66a5d585cb22fdb5b6c1de2a8665a9c2c9134f88
2012-11-06fdo#48442 fix default hori/vert frame anchor during RTF importMiklos Vajna
We used to send nothing when we got nothing, but this is not correct: \pvmrg and \phmrg is the default in RTF, but not in Writer. Change-Id: I9f69e282e68f0828c8b5ba98657cad1dd0715eb3
2012-11-06sal_Bool to boolTakeshi Abe
Change-Id: I3e8b7db8422680b865c10c7ead4ad782e2d5c5e1
2012-11-05fdo#46808, use service constructor for i18n::CharacterClassificationNoel Grandin
Change-Id: I0499ad7de27b1539e97f01ab8aa0ef2d6713ae76
2012-11-05fdo#52989 ignore provided size of JPEG files during RTF importMiklos Vajna
See commit 66fa759b for rationale, this fix just does the same for JPEG files as well. Change-Id: I6a9ead5f4b4b9c4661cae99501bd7c14a2a79409
2012-11-05fdo#46808, Adapt i18n::Transliteration UNO service to new styleNoel Grandin
Simply make the service implement XExtendedTransliteration, since all of the implementatins already do that. Change-Id: If03bf56a8d33931ad0230743a4603e2ae9b104ac
2012-11-05fdo#46808,remove unnecessary MSF field from ucbhelper::ContentIdentifierNoel Grandin
...which has lots of nice knock-on effects. Change-Id: Icc93fdb70f24903b08702654db4e1105eb1d438e
2012-11-05Related: fdo#56554 fix multi-script html field exportCaolán McNamara
Change-Id: I05257bed8161e0a63814c9a563d79e5750f626ff
2012-11-05sal_Bool to boolMatteo Casalin
Change-Id: I8a4890c6b0e466417387a09259e32dff57c640d6 Reviewed-on: https://gerrit.libreoffice.org/979 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-11-04Remove unused local variableMatteo Casalin
Change-Id: Ib8dc3b5b37c8777acca3f16ece81f4e1c01c582d
2012-11-04Fix fdo#56603 by NULL pointer checking in SwDrawTextShell::ExecuteArnaud Versini
Change-Id: I2dffbac1450682e4d116f10ca86a2837514f70a4 Reviewed-on: https://gerrit.libreoffice.org/984 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-11-04sal_Bool to boolTakeshi Abe
Change-Id: I51b096bab5f5c12a9c4c6633aa3150c50e9ffa47
2012-11-03basic: String -> OUString in basicmanagerNorbert Thiebaud
Change-Id: I6607bfe8b6bf4d29ffd01cd88a19af5e53d616b5
2012-11-03Remove unused method and also remove not build testMarcos Paulo de Souza
These tests are not in the main build, so remove it all. Change-Id: Ia0e13c984fe11b543a66d3150082cbdd7f34296a Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/977 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-11-03msvc can't handle #if inside macro argumentsLuboš Luňák
Change-Id: I4a4ae336c46dc44afb5259ca5d094a9590d39017
2012-11-03sal_Bool to boolTakeshi Abe
Change-Id: I35412e2d2e36e3eabdff2a6692bf6edc68a2d724
2012-11-03make it staticTakeshi Abe
Change-Id: Iaf29abb4f7067898318476538773663713e09067
2012-11-02change std::clog debug output to SAL_INFO, so that it can be turned offLuboš Luňák
Change-Id: I92af860af6ac82302458cdd894f3ad038a863b49
2012-11-01WaE: MacOSX, clipboard id just has to be non-zeroCaolán McNamara
Change-Id: If4edbe6fdb56e4b8fd8545404267dea7009a8c7a
2012-11-01SwNode: reorder that to avoid -Werror=reorderMichael Stahl
Change-Id: Ic58a5503dc6b7991c8804feef05b814d1055bfb9
2012-11-01Better way to initialize SwNodeArnaud Versini
Change-Id: I6bc397d9ecd44975ebfa58014c6fe7cd470e4ada Reviewed-on: https://gerrit.libreoffice.org/960 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-01tweak comment translationMichael Stahl
Change-Id: I729612b2ffeea9c3c64f8f0c0c2313f48b965270
2012-11-01Translate German commentsPhilipp Weissenbacher
Change-Id: I8cf27a705332c6e7ea62474c78d59911406d378e Reviewed-on: https://gerrit.libreoffice.org/954 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-01Revert cf0453d94b1af305ee385e9e2522bcc5e589530eJulien Nabet
After having talked about on IRC with Michael Meeks, it seems UX team prefers that way. In brief, it was on purpose. Thank you Michael for your time Change-Id: Ib99425a212ac5463b0465e1e755e2537bb4d51b8
2012-11-01rework filters test to squeeze through extra flagsCaolán McNamara
that are needed to load .odt, .sxw etc files, and add a regression test for CVE-2012-4233 Change-Id: Ie178725ded3d76942030d12f23074de519cf62de
2012-11-01valgrind: Conditional jump or move depends on uninitialised valueCaolán McNamara
Change-Id: I7b59ddc4f9170c33e948f30194a662f27b871fcc
2012-11-01sal_Bool to boolTakeshi Abe
Change-Id: I10f8d534d664c5f27a32214c00aeee890d993d18
2012-10-31convert union SingleLineBorders to structMichael Stahl
MSVC warns about the anonymous struct, and the way we write and read from the union is undefined. Change-Id: I683f54d90393a744e5c94857cd87800bcc8f9ffe
2012-10-31NS_ooxml::LN_CT_TrPrBase_gridBefore/After testcaseMiklos Vajna
Change-Id: Id488ffa6a6b01937fe32e4c80af45c40ebf673ec
2012-10-31sw unis tests: added basic/util/sb where neededCédric Bosdonnat
Change-Id: I3a16f891b099f80bc3a606ed821d7301fc446653