summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2012-06-22.cxx files don't need executable bitsMichael Stahl
Change-Id: Ic27d7728025b3d666c0ebaf9ec4cd2006d0c89bf
2012-06-22fdo#46966 dmapper: fix headery/footery default valueMiklos Vajna
The docx spec doesn't say what is the default value, the rtf spec says it's 720, not 1440. Change-Id: Icb331591d4f2f96a7786f808d99af5974e645f8e
2012-06-22fdo#50831 fix RTF export of direct run formatting for empty paragraphsMiklos Vajna
Change-Id: I5f0e7aefdea80bbb9cf61b991c5b706bd2023dfa
2012-06-22reuse existing codeIvan Timofeev
Change-Id: I10f3d9958679b485cf75d514a38093cbe51d540e
2012-06-22rely on the return value optimizationIvan Timofeev
Change-Id: Ide566aa8bbf6f4128bed598c76269b16acf99a7b
2012-06-22Remove empty or non-called methodsThomas Arnhold
empty: ClearTip implOnShapeInserted ImpCopyMarkedPoints ImpMakeDragAttr ImpCopyMarkedPoints ImpMakeDragAttr ImpDelDragAttr ImpMakeCreateAttr Is1stLessThan2nd LinkToListTemplate NewCoreSelection ScrollStart ScrollEnd SetNoOutlineNum non-called: NewCoreSelection Change-Id: Ief273b741aaf49ff66c0dac898686e4def4de0c1
2012-06-22n#758883 test remaining issuesMiklos Vajna
Change-Id: I0ec2570aab2fdc645638875b632d8a854fc00b94
2012-06-22Remove commented code, superfluous comments and translate GermanSebastian Spaeth
Remove commented out code, superfluous code comments (that did nothing but restate the function name), and translate a few bits of German comment to English. This is v2, addressing Bjoern's comment (leave in public OOo bug references) Kept some more bug refs. Change-Id: I9e94444bfe08db90befc3d038b01c94c85507afa Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-06-22re-base on ALv2 code.Michael Meeks
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21replace all but one .hdl include with equivalent .hpp includes.Michael Meeks
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21kill copy&paste by introducing SwModelTestBase::parseDump()Miklos Vajna
Change-Id: I7cc3e05e48fc9850fbe04c6511f5e9f18a680ec7
2012-06-21sw/qa/extras: link to libxml2 in all testsMiklos Vajna
Change-Id: I6355b17042a42d44c7086f54b3efc6ba4d0c5d55
2012-06-21n#758883 testcaseMiklos Vajna
Change-Id: Ibcaf427849ef69f379e0d6e77f586d77e4d0c92f
2012-06-21sw: include the height of SwNumberPortions in layout dumpMiklos Vajna
Change-Id: I7c7d78c212683e47f726fc91d59c9c495b78641e
2012-06-21reduce scope and replace some String::CreateFromAsciiCaolán McNamara
Change-Id: I8c375e3bfbcd3d7046a8bdb1968934b7d7ca96f8
2012-06-21unused aNameCaolán McNamara
Change-Id: I02b2775609a191c4cc1d411030b9e9e2f4079f8b
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21Remove commented out codeSebastian Spaeth
Remove old, already commented out code and useless code documentation (basically restating the function names). Also translate the few Germany comments in that file. This file still lacks a good doxygen code documentation or a brief description of what it actually does. Change-Id: I339a01dbd4ea894be13293133b8dedbc55c2bbac Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21hrc cleanup: Remove unused definesThomas Arnhold
All of those defines (should) not be used at any point in the code. False positives may exist, because some macro names are getting generated by some template/macro foo. This is the version which compiled fine for me. Also there are many commented out lines removed. Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-21fdo#34093: fix error in calculation of page number of SwRectIvan Timofeev
StringRangeEnumerator (i.e. user's input) contains page numbers in a different page range (it excludes empty pages). So: - first map page numbers to a common range, then compare - user's input can't contain empty pages, remove this check Change-Id: I4fce5215272fc90f39c9e05d3f3604734a8aebe3
2012-06-21fix problems in 1015cd4ff73ee25e55b4da8c8bc55a41e652da87:Michael Stahl
- inverted check in SwDoc::RemoveInvisibleContent - various too short end positions in DeleteAndDestroy calls in SwDoc::~SwDoc and SwDoc::ClearDoc - std::copy to begin() of empty vector in SwReader::Read replaced with std::back_inserter; the vector is used as a set here so the end position should work just as well Change-Id: Ib2ddd788fade4ee1a8beb702d5321c503985fba4
2012-06-20don't link CppunitTest_sw_swdoc_test against swMichael Stahl
This test uses gb_CppunitTest_use_library_objects, and MSVC won't link it now. Seems this was added in 1015cd4ff73ee25e55b4da8c8bc55a41e652da87, but why? Change-Id: I206132cf2b0c4075334ee7a692a12c54da9ac953
2012-06-20adapt DBG_UTIL code to previous commitMichael Stahl
Change-Id: I021b4d70a02de7a66e0af82a859ae89e1a7d1231
2012-06-20Convert SV_DECL_PTRARR_DEL(SwTableLines) to std::vectorNoel Grandin
Along the way, simplify a lot of the ForEach callback methods. Change-Id: I54bc87c1060f1d73470ca8b7fd645ffa23059606
2012-06-20Convert SV_DECL_PTRARR(SwTOXMarks) to std::vectorNoel Grandin
Change-Id: Idffc8a90fcd4ada856339fc0be3e4a11478db6cc
2012-06-20Convert SV_DECL_PTRARR(SwSttNdPtrs) to std::vectorNoel Grandin
Change-Id: If85e2bc65a99e4854d92454b3bfd40e436df2aa1
2012-06-20Adapt DBG_UTIL code to 1015cd4ff73ee25e55b4da8c8bc55a41e652da87Stephan Bergmann
Change-Id: I196f7a6211a3c11d976a95d592af4205476fe81f
2012-06-20Convert SV_DECL_PTRARR_DEL of Sw*Fmts to std::vectorNoel Grandin
- I had to convert SwFrmFmts, SwSpzFrmFmts, SwCharFmts, SwSectionsFmts, SwTextFormatColl, SwGrfFmtColl all together because of the code that wants to work with any of them. - Introduce a pure virtual base class SwFmtsBase, since there are a handful of methods that want to work with any of the std::vector<Sw*Fmt> types. - the class SwSpzFrmFmts was dropped, and the code changed to use SwFrmFmts instead, since the 2 types are identical. Change-Id: I8c4056b5aedd574a33666e2d649a8b849958441c Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-06-20Translate German comments, fix some wsPhilipp Weissenbacher
Change-Id: Ic8f3885965a46cc7cea891472f7d902254004543
2012-06-20SwDoc::SetFlyFrmAnchor: fix crash when SwTxtNode has no hintsMiklos Vajna
Change-Id: I5178ff1bbf1a3e8eebec10f44e74d9d0806d3168
2012-06-20Fix some sloppinessPhilipp Weissenbacher
Change-Id: Ie91b4fb5c3b1916701199f3f787b11dfe2881b6c
2012-06-20ditch last (?) uses of UniString::UniString(sal_Unicode, ...)Caolán McNamara
Change-Id: Ie04a3465100d2f013f34168aaf136a20cd2f7e0d
2012-06-20Translate German comments, fix some whitespace and spellingPhilipp Weissenbacher
Change-Id: Icbb75b707532ed81ee720c753dbee81f6be67d18
2012-06-20Clean up previous translationPhilipp Weissenbacher
Change-Id: Ie1400dc5a835dd97e22f72f89b42b0538adffe68
2012-06-19merge together hand-crafted traditional/simplified chinese testsCaolán McNamara
merge together a gadzillion hand-crafted isSimpleChinese/isTraditionalChinese/isKoreanVariants/isCJK implementations which should fix a goodly amount of them add a MsLangId::isFamilyNameFirst for locales where family name appears first while I'm at it. Change-Id: I65377793be037d16fe7250cd7450b28aec689e83
2012-06-19Revert "Remove License/Credits menu items"Petr Mladek
GPLv3 has to be easily accessible. We should not hide it under too many mouse clicks. This reverts commit f4c567f8d4c46aca75f7c73d67e0bc952b4c2e2d.
2012-06-19treat for tinderbox with obsolete gcc and -Werror *sigh*Luboš Luňák
2012-06-19add finding out page width to a testcaseLuboš Luňák
Change-Id: I0de5e694adedf8812cc31036860991c853f38d93
2012-06-19remove some UniString ctorsCaolán McNamara
Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
2012-06-18Remove License/Credits menu itemsStefan Knorr (astron)
The About dialog now houses these functions. Change-Id: I7f751027564897a063d2910644c69680d471b6d9 Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-06-18convert LocaleDataWrapper to OUStringCaolán McNamara
Change-Id: Icb5f5adf9139d1c0f0e86d8128ea6742ce20b138
2012-06-18callcatcher: drop unused macro-generated GetChildWindowId methodsCaolán McNamara
add _WITHID variants for the cases where we (apparently?) still need them. Change-Id: I3b8290869368487f04ecd93a5f3a717de7fd10b4
2012-06-18removed unused forward declarations of classTakeshi Abe
Change-Id: I32894b853912741e935e2409d2857fe384f67665
2012-06-18Remove unnecessary temp variableBrad Sowden
The only impact aTmpQHD.Move() has on pQuickHlpData is clearing m_aHelpStrings but this is done anyway in the pQuickHlpData->Stop() Change-Id: Ie730ddb1860461c81558275d54e32846c1495abe
2012-06-18Remove redundant IF clauseBrad Sowden
ClearCntnt() already sets m_bIsTip and m_bIsAutoText to true. Change-Id: Ic3ad53a7659dbfe4f28f7995976e659f5bd14afb
2012-06-18Clearer function namesBrad Sowden
Change-Id: I7434842fe8392eeb6e3c5fd8e605ee444f66b017
2012-06-18Member variables can be made localBrad Sowden
Change-Id: I571eaa936f8d1afb421da3137aa090e916e633ba
2012-06-18sal_Bool (bit field) to bool and variable renamesBrad Sowden
bIsAutoText -> m_bIsAutoText bIsTip -> m_bIsTip bChkInsBlank -> m_bAppendSpace bClear -> m_bIsDisplayed Change-Id: I7aa047b7e14ed6bd05528c8650ba4c4b7fcb07d2
2012-06-18Some doxygen comments for QuickHelpDataBrad Sowden
Change-Id: Id6e91985f6dbdd8244df9bef0f7a938ac8ecbf3a