summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-03-27Change the German "Lineal" to "Ruler" in identifiersTor Lillqvist
Change-Id: I69f80a3a889b2bae148ac502d472d490c71ecb49
2013-03-27kill some unused inlinesThomas Arnhold
Change-Id: I17160b264b547067c694dd268eb0d3bd1086565d
2013-03-26coverity#735533 Logically dead codeJulien Nabet
Change-Id: Iebc7a7284df0899d31eb6161b25a2e4c2f4cf272
2013-03-25remove external include guardsThomas Arnhold
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-26Fix bogus SAL_WARN useTor Lillqvist
unknown log area 'IMPL_LINK_NOARG(SwSaveLabelDlg, OkHdl) [loplugin], huh? Change-Id: I265102a552615208db43fc7b6617189ad99b6aad
2013-03-26Fix warning: statement aligned ... [loplugin]Tor Lillqvist
Change-Id: I0a0c40545101a82c9a4054c7a7ccd03e7cfa24d4
2013-03-26Use an 8bpp virtual device (instead of a 1bpp one) in sw and sc for iOSTor Lillqvist
The reason why a 1bpp virtual device is used in these two places in sc and sw is unclear to me. It causes complications on iOS as such a bitmap gets passed to CGBitmapContextCreate() which does not accept 1bpp bitmaps. But let's keep the 1bpp for other platforms. Change-Id: Ia34927cf728d4be05a31e88b7da78200d0b799ba
2013-03-26Check feature test macros instead of ANDROID and/or IOSTor Lillqvist
Pass -DLIBO_FEATURE_FOO to compiler for some elements in BUILD_TYPE. BUILD_TYPE has at least two kinds of elements: Those that indicate building a bundled copy of some 3rd-party library, and those that indicate some specific feature of the LibreOffice platform or build-time configuration choice. This is for the latter kind. Change many of the checks for Android and/or iOS in the source code to check LIBO_FEATURE_DESKTOP, LIBO_FEATURE_HELP or DISABLE_EXTENSIONS instead, in cases where that is what is meant, not Android or iOS specifically. Change-Id: I2cd3f3bb99e953c7754dcea76a426f8f9d61e4db
2013-03-26testcase for the previous starmath docx fixesLuboš Luňák
Based on the one broken case in http://mail-archives.apache.org/mod_mbox/openoffice-dev/201303.mbox/<5150A98B.8050901@yandex.ru> Change-Id: I3f8f1b8d8239e12a3315c6d8aa0cddee47af4a85
2013-03-26Remove German comments as an English translation was already doneLior Kaplan
Follow up for aebfd023c116047ab467f7abebd84e4c9acd5bbf and 922d80ad11a78fb5abe05ba69f1a47e1bb76bd3c Change-Id: I8fcebd106e5f81479e0622ceb195c39a51fdbb51
2013-03-26fdo#39468: Translated German commentsgerhard oettl
Change-Id: I85c8675881db9facdd543c02c846ec64642f8449 Reviewed-on: https://gerrit.libreoffice.org/2871 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-26fdo#59273 import w:tblLayout of DOCX tablesMiklos Vajna
Change-Id: I9af50a4c176168e2794eaa9b0e8eaeb6b9d06b13
2013-03-26bnc#780645 testcase: missing <w:tblLayout w:type=fixed/>Miklos Vajna
Change-Id: I2887015cfe4cbdce5ac6ad507e1fb58a50517f3d
2013-03-26sal_Bool to boolTakeshi Abe
Change-Id: I27a444a8313bff276e377ffb87458213f4e19707
2013-03-26fix fdo#62670 - TABLE: Splitting a table options are mixedJoren De Cuyper
Change-Id: I1ba647844aaae3a57ee91d5785c82ca082d3e10b Reviewed-on: https://gerrit.libreoffice.org/3041 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-25coverity#704371 Logically dead codeJulien Nabet
Change-Id: I0287ee3f7f58869d11c8565f8a6fbe9dcc534ba7
2013-03-25coverity#704364 Logically dead codeJulien Nabet
Change-Id: Ic02afc5db3fd661dfc462f7528cffcfa07fe6e04
2013-03-25fdo#60780, Save a Copy wipÁdám Csaba Király
GUIStoreModel now correctly calls storeToUrl instead of storeAsUrl, when saving a copy. Dialog title is correctly set. TODO: - Write help Change-Id: I4d7fc9ebc91c2129e8d8dcf9978c324bdddae129
2013-03-25Fix spelling errors and typos: 'unkown' change to 'unknown'vincent
Change-Id: Ia3ff77d2b99c9ef6c4c9b510bb30f349592c0b94 Reviewed-on: https://gerrit.libreoffice.org/3030 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-25Warning: unused variable 'sManufacturer' [loplugin]Tor Lillqvist
Change-Id: Id0ce31dc4dc252539a7a4e955ebcca6c58b44148
2013-03-25fdo#60922 ignore DOCX import of w:position w:val="0"Miklos Vajna
Change-Id: I10e9c0f1078e36710335a9a48f7f02292c764795
2013-03-25random src cleaningThomas Arnhold
Change-Id: I9b246beee646ce1dd68e916ac7fcda138cc9e6f9
2013-03-24Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: I43d4a66be4c63c5eed69a7af053cc605aeb0492f
2013-03-23SwView: rename member variables missing their prefixMiklos Vajna
Change-Id: Ib382d3e3bab87b2e1dd32060da977289e4dc601e
2013-03-23In writer’s RTL UI show author name and date at right side of comment windownavin patidar
Change-Id: Ie15482e9953d14927b4f918c43537100a8332689 Reviewed-on: https://gerrit.libreoffice.org/2923 Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
2013-03-22Looser throw specifiersStephan Bergmann
Change-Id: I671d5d6459a3e1305c3d7a5ff21b63a5f6d0a289
2013-03-22implement part of XMultiPropertySet on SwXTextCursor.Michael Meeks
Change-Id: I903f049a3bdba96a8e1ac613ca8b9443a062fe8f
2013-03-22testcase for 62344016de056965a58ea2016d912a68eac0d6b0Miklos Vajna
Change-Id: I5d7544f38c5d48826cad18a655ffd3b621eb0ca2
2013-03-22fdo#62288 fix RTF import of table paragraph marginsMiklos Vajna
Regression from 4a507f732d82c188ad81b022cbe3037951e58ac3. The problem was that in some cases \pard can't reset all paragraph properties. The original commit just made this keyword a noop when it occurred between \cell and \row, but this is too much. At least margins do need resetting. Change-Id: I5cbb1df72bf1211f85ef69ab64d5b46cbce5c742
2013-03-22Comment translation - GER-ENG in sw/source/ui/wrtsh/wrtsh1.cxxMatthias Freund
Change-Id: I83bca633e1b6ea91ac5fa16aefb7e4a1c285e925 Reviewed-on: https://gerrit.libreoffice.org/2883 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-22Comment translation GER-ENG in sw/source/ui/wrtsh/Matthias Freund
Thats all in this directory... :-) Change-Id: Iab8f8e7c6269607ac2f0f0acdbd1200f917eaaf5 Reviewed-on: https://gerrit.libreoffice.org/2902 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-21coverity#704128 Logical vs. bitwise operatorJulien Nabet
Change-Id: If798ad895cc1472e4885de5d81ba8df626cbd1b1
2013-03-21sw: VarFields test: fix "\" in URL (test fails on windows)Michael Stahl
Change-Id: Ib1bc81e907cfd3e7a770fccf032c10fec91147e8
2013-03-21regenerate pchPeter Foley
Change-Id: Idacefb2e89dc2f8bd44e489b43b47847123476e2
2013-03-21reduce space needed by comments in sw/source/corePhilipp Riemer
Change-Id: Ia9267c50a02acaa60d7514781384623bf17b23bd Signed-off-by: Philipp Riemer <ruderphilipp@gmail.com>
2013-03-21coverity#704931 Explicit null dereferencedJulien Nabet
Change-Id: I03fe61ace1ab408d51e93f1e447591bb4eb9449c Reviewed-on: https://gerrit.libreoffice.org/2881 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-03-21fdo#55814 improve unit testDavid Ostrovsky
Change-Id: I1508cc13bc6f025e671fb0f942a700a37965e242
2013-03-20SwXTextPortion has 4 properties whose names start with "Ruby"Michael Stahl
Change-Id: Ic90bd3de5fbe1e9c211e61b04cdb4149437fa325
2013-03-20Slight touch-up of German translation.Thorsten Behrens
Fixup for b4966ea69ff0ad6944bd16d8a09ecb27a1704c10, hopefully captures meaning a bit better in English. Change-Id: If09b4227885eacbc04f0ccb1fcc8fdb892034727
2013-03-20fdo#55814 SwDoc::UpdateExpFlds: hiding the last section may be safeMiklos Vajna
In case we know there is a non-section paragraph at the end of the document. Intentionally not adding a unit test as David Ostrovsky is working on one already. Change-Id: Ia6026846981b5af014246a8a604c5f762d34c891
2013-03-20Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann
...which is a confusing overload with unexpectedly different semantics from the one-parameter form. In preparation of marking it as deprecated. Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
2013-03-20TODO: Unclear whether comparisons against "Ruby" shall use == or startsWithStephan Bergmann
...as the use of compareToAscii(RTL_CONSTASCII_STRINGPARAM(...)) would imply. Change-Id: I46f2f0c5e66e5ced4dfea00c2a7e87a316748a0b
2013-03-20fdo#39468: Translated German commentsgerhard oettl
Change-Id: I840ab979486a8cdfed4b19f4966eef1b9f287a5b Reviewed-on: https://gerrit.libreoffice.org/2847 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-20ooxmlimport line numbering checkYifan J
Change-Id: Ifa9d4cb45950a378dd0d82d4d262ffd9511d7f44
2013-03-20fdo#60769 implement odf export of multi-paragraph comment rangesMiklos Vajna
Change-Id: Ifb850438586eb6589fde79d10ed9eef727368f42
2013-03-20sw: export fieldmark of postit fields if possibleMiklos Vajna
This way the UNO export filters won't have to remind if the postit field had an associated fieldmark or not, but can just query the fieldmark type and ignore e.g. comment fieldmarks. Change-Id: I791b07fd371f57ec35d8309e666058237dadf190
2013-03-20use #if instead of #ifdef for testing config_xxx.hxx macrosLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
2013-03-20fdo#55814 create unit test for it firstDavid Ostrovsky
1. create a variable field, name it "foo" and assign value 0 2. create a section, and put content a in it and assign condition "foo EQ 1" to it 3. change th value of VAR foo from 0 to 1 4. expected behaviour: section is hidden current behaviour: section get corrupted: condition is overwritten with "0" Change-Id: I52fb50e26f5330c2b4745093ac954cecf45924f5
2013-03-20coverity#735389 Copy-paste errorJulien Nabet
Change-Id: I74098cd2b58a64ff231d86549812d5a565835bed Reviewed-on: https://gerrit.libreoffice.org/2858 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-20fix fdo#62050 : Initially disable RTL for comment window.navin patidar
In RTL UI, comment window is RTL and editbox’s (editeng) default writing direction is LTR. and i suspect, the bug is result of this RTL & LTR mix-up. Change-Id: If3af4ae428b67151d66661907b9e60a97049e0e6 Reviewed-on: https://gerrit.libreoffice.org/2831 Reviewed-by: abdulmajeed ahmed <aalabdulrazzaq@kacst.edu.sa> Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>