summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2014-11-01coverity#1241199 Unchecked dynamic_castCaolán McNamara
Change-Id: Id6bbd9d6922ee6fda7e9eb0945c27ed5a902d05b
2014-11-01Unindent.Kohei Yoshida
Change-Id: I32afaeb71f57b4f8741758a1db98e04365bd2a77
2014-11-01Unindent.Kohei Yoshida
Change-Id: I0e86d04c0fa6185b41d5751d28a7e3f3b86af371
2014-11-01Unindent.Kohei Yoshida
Change-Id: I1b65915b7d864f1a69f48fcacf38e7aec23c38a4
2014-11-01fdo#84938: replace MIB_ constants with enumNoel Grandin
Change-Id: I58c1b4c9e4c4b3751b233d2fe10b9c953b945c4a Reviewed-on: https://gerrit.libreoffice.org/12179 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-31Add class description.Kohei Yoshida
Change-Id: I400efc68f7fdcfcb3be56804c9491775341782ce
2014-10-31Remove repetitive namespace close / open / close etc & unindent.Kohei Yoshida
Change-Id: I4fefd9ad6dbbc23aa0c96cf6dae6ab0b7400f27b
2014-10-31Unindent.Kohei Yoshida
Change-Id: I875bdf1eb6df37b07dd19c6a7ff5ba5eb3b8a096
2014-10-31Remove repetitive namespace close / re-open & unindent.Kohei Yoshida
Change-Id: I453084b3b034a04305058da404b334c7016559ce
2014-10-31We don't need this repetitive namespace open / close thingie...Kohei Yoshida
And unindent to make it look more like C++ than Java. Change-Id: I67562cf17c32c40c321b492e9b05c2321a51e126
2014-10-31Removed duplicated includesAndrea Gelmini
Change-Id: I5362d997bfa086c9fb1726efcb15132a966684f6 Reviewed-on: https://gerrit.libreoffice.org/12160 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-10-31coverity#705257 gold, Missing break in switchCaolán McNamara
this is the image map window, I see that indeed toggling a shape active/inactive in the image mapwindow makes it change layer to the front for no good reason Change-Id: If6556e8f21dee2b0f7c750d460490d4e03fc0c02
2014-10-30pluralizeCaolán McNamara
Change-Id: I0ffb952b1a12889462c209d0c2d43ab75296c3d0
2014-10-30Fixed typos. No automatic tools (sed, and so on).Andrea Gelmini
Change-Id: Ia43976d84eede6f699381bc4f3daf89b95e4cb4f Reviewed-on: https://gerrit.libreoffice.org/12150 Reviewed-by: Bryan Quigley <gquigs@gmail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-10-30Resolves: fdo#80815 rename Cancel and explain what it will doCaolán McNamara
Change-Id: Ifdd68f7e415176062b9eee6825b3c0bb09cb05db
2014-10-30coverity#1244939 Division or modulo by float zeroCaolán McNamara
and coverity#1244938 Division or modulo by float zero Change-Id: I128b1ac10f514285152cf189af24885460c9c5ca
2014-10-30Whitespace (and other) cleanup.Jan Holesovsky
Change-Id: I6af10899a3e22c45b973439fd8c8ec6c8faac904
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-29tools: remove DBG_ERRORFILE and replace all callersMichael Stahl
Change-Id: Ic76ccc49b9291fe82c56974eb6237cd3b85d91c8
2014-10-29coverity#1242433 SdrMakeOutliner alway derefs pModCaolán McNamara
so change from a pointer to a reference Change-Id: I81eb2c9e4df8353fbbdad7058c6ca7ea22286e62
2014-10-29Don't use output rArea when TableLayouter::getCellArea returns falseStephan Bergmann
...when xCell->isMerged, as happens during CppunitTest_sd_filters_test. aCellArea will be "empty" (i.e., getMinX()==SAL_MAX_INT32 etc.) and the aCellRect.Move calculation will overflow for 32-bit long. Change-Id: I12649234c060edd9f2cab1792cf75335ae22b730
2014-10-28colorwindow: try to fix initial layoutMaxim Monastirsky
Change-Id: Ic69bbcd877d248afd0f23a867d4c57d801479b74
2014-10-28colorwindow: Use exactly one row of recent colorsMaxim Monastirsky
Right now one row of SvxColorValueSet is 12 colors. Change-Id: I9be6e8487d5325866e17f578b7abb08f7c338fb1
2014-10-28colorwindow: Update recent colors list immediatelyMaxim Monastirsky
Change-Id: Ieb6277f0962f88dfa55b6af80535ec8af497433e
2014-10-28colorwindow: Unify SelectHdl and SelectRecentHdlMaxim Monastirsky
Change-Id: I680517bc7d91ef15593d235a7ff72588c7513b15
2014-10-28Rename loadColorVector to addEntriesForColorVectorMaxim Monastirsky
So it will be similar to addEntriesForXColorList Change-Id: Ie352e0cf05fa6875ed76e69478131a57293b39a1
2014-10-28Move these headers from include to svx; they are not used outside svx.Kohei Yoshida
Change-Id: I8685b451a39e890250a3309ddb70346bac4084b2
2014-10-28coverity#735332 Unchecked return valueCaolán McNamara
the !isAfterLast should be sufficient Change-Id: Iab45b70c24ae1f90c38178d261e467d9b1e3fa6c
2014-10-28coverity#1078486 Unchecked return valueCaolán McNamara
Change-Id: I762796b848aa8d8dd35b401e03bf40af18fb8e72
2014-10-28fdo#85046 - MENU: Edit > Changes should be renamed for better clarityYousuf Philips
Change-Id: I8bb6582cc0e5bac390c18308fea8e647d5a0526d Reviewed-on: https://gerrit.libreoffice.org/12098 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Matthew Francis <mjay.francis@gmail.com> Tested-by: Matthew Francis <mjay.francis@gmail.com>
2014-10-27cid#735507 Logically dead codeNoel Grandin
Change-Id: Ie251bca3e4fa7c67aa84c8ff3ae451b0aaa57f44
2014-10-27fdo#84844 Sidebar: Use SvxColorToolBoxControl for fill colorMaxim Monastirsky
Change-Id: I0aa9dbef960391334097b68c980064724435db38
2014-10-27Fix color update for selection with multiple colorsMaxim Monastirsky
Change-Id: Ie6ec5596027b053cea49faba67bd82bd9bfa2d31
2014-10-27fdo#84938: replace KEYTYPE_ constants with enumNoel Grandin
Change-Id: I563cf96f8ca815d6c8ad9f5fe365fc7ce7a2a328 Reviewed-on: https://gerrit.libreoffice.org/12104 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-26fdo#84844 Sidebar: Use SvxColorToolBoxControl for line colorMaxim Monastirsky
Change-Id: I266cfd8c80088f698ec36662357477bb456a96fe
2014-10-25coverity#1249469 Uncaught exceptionCaolán McNamara
Change-Id: Ia2485ef12b27720830ab7268870bd61ff0c0b80a
2014-10-25coverity#1249468 Uncaught exceptionCaolán McNamara
Change-Id: I4e854e9dd8dd11a38ebadc4f9cf688b15bf9ae2d
2014-10-25coverity#1249467 Uncaught exceptionCaolán McNamara
Change-Id: I4f0cbc229b8bae32a1162bdaa6905c56bb864618
2014-10-24fdo#83664: svx: don't try to paint on empty OutputDeviceMichael Stahl
ObjectContactOfPageView::DoProcessDisplay() initalizes an empty aViewRange, which later code assumes to mean "paint everything", but actually the OutputDevice has 0 size so nothing can be painted. Change-Id: I1e47e8d38c1fad5e08027bb76fce4b54c5b3358b
2014-10-24Rename color picker button and add an icon to itAdolfo Jayme Barrientos
Change-Id: I24def42d6167c6e7a7a4d5871f2a6e3b51230d58 Reviewed-on: https://gerrit.libreoffice.org/12086 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-24fdo#85340 - Better tooltip for paragraph spacing buttonsYousuf Philips
Change-Id: I9bb83df5e7ee9517a8f6f88213fc6951c53593bd Reviewed-on: https://gerrit.libreoffice.org/12076 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-24Related: fdo#84844 Support fill color in SvxColorToolBoxControlMaxim Monastirsky
Change-Id: I6ccc1d4e71a9fe76cd16dd957f626722aaba543c
2014-10-24Register the item type based on the SIDMaxim Monastirsky
Change-Id: If954191b71daf52c4f49fb7638e583cd0a2c97a5
2014-10-24coverity#704836 Dereference after null checkCaolán McNamara
Change-Id: Ia2ac113df3fe378308279ecdc4d14ccba9abfae7
2014-10-24loplugin: cstylecastNoel Grandin
Change-Id: Ia0f5f0d0efbe4693aba347bff32cd694117251fe
2014-10-23Fraction: Revert "fdo#81356: convert Fraction to boost::rational<long> - wip"Jan Holesovsky
This reverts commit 47a2d7642d249d70b5da0c330a73f3a0032e4bba. Conflicts: cui/source/tabpages/transfrm.cxx svx/source/svdraw/svdedtv1.cxx svx/source/svdraw/svdibrow.cxx sw/source/filter/ww1/w1filter.cxx tools/source/generic/rational.cxx Change-Id: I4849916f5f277a4afef0e279b0135c76b36b9d15
2014-10-23Fraction: Revert "-Werror,-Wliteral-conversion (implicit conversion from ↵Jan Holesovsky
double to long)" This reverts commit 8d0f9675021a07261b2182fb3192c26e2263eff8.
2014-10-23Fraction: Revert "do not forward-declare templates"Jan Holesovsky
This reverts commit 091742e86aeb5287f7236f666fee48946ab4c67b.
2014-10-23Fraction: Revert "just check if the fraction is < 0"Jan Holesovsky
This reverts commit 8afab33d161ddd39a3e6094b5daa08b156ef0421.
2014-10-23Fraction: Revert "make sure the denominator is not 0"Jan Holesovsky
This reverts commit e19fb51d89fd8fa747594ba7aa3fdac67262f646.