summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
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
2012-06-18missing intializationDavid Tardon
Change-Id: I2350adf98e12b9c9cda4c18a6ba9f935016ac299
2012-06-17writer: crash(i119959) paste of multi-line draw-text into bullet listNorbert Thiebaud
Change-Id: I82da331b478cd258e5f9803dfac4cb203d2dc9f6
2012-06-17writer:crash(i118878) when adding columns and chang. properties in a frameNorbert Thiebaud
when adding columns, GetNumCols() reflect the new number of columns before the actual columns available are updated. Due to the way and order in which properties are updated the code that adjust the columns can be run before the new columns are avialable.. and was using GetNumCols(). This patch avoid using that api and rely on the column iterator to determine the acutal number of column available. Change-Id: I52e75ec82c1ace65b05b8df9e54f4689f2aec8d3
2012-06-15Regression test for fdo#46757Caolán McNamara
Change-Id: I41a11bda977cbd5b4b2352776f06fba0e0457a43
2012-06-15move DTTM2DateTime and DateTimeToOString to msfilter to avoid copy&pasteMiklos Vajna
2012-06-15fdo#46757 Word/character count incorrect with record changes enabledMuhammad Haggag
We were ignoring redlined (deleted) text when counting characters, but not when counting words or characters without spaces. We now mask all redlined/hidden content from the expanded node text before operating on it. Change-Id: If882a6dde883a2ba0ca99909ca7ac2b9abd4a1fb
2012-06-15fdo#50087 fix RTF import of Title, Subject, Comments document propertiesMiklos Vajna
Change-Id: I3358fad4949c2c21ecf63983a36b7c8428df9f06
2012-06-15Remove some PCH leftoversThomas Arnhold
There are still some pch headers in use. Simply: find . -name *_pch* Change-Id: Idafcd4f1451877ad9b08c8bbea526266d7414553
2012-06-15n#750935 fix docx import of w:evenAndOddHeadersMiklos Vajna
Change-Id: I172073bac10e8d0449c0f5c0a226dd7ace013376
2012-06-15sw/qa: move getStyles from rtftok to base class, to be used by ooxmltokMiklos Vajna
Change-Id: I137c0a42ab8413213d93f1bbd868077e2c042ce0
2012-06-15added zoom submenu to ViewTim Hardeck
Added zoom submenu to View with the same entries of the zoom status bar right mouse button menu. This feature was requested on the design-mailing list: http://www.mail-archive.com/design@global.libreoffice.org/msg03561.html Additionally the zoom menu entries were sorted in a more logical way. Change-Id: I5f2df8aa33be9305841fd5505c95963bee8a0ed0
2012-06-15move zoomitem from svx to sfx2Tim Hardeck
To allow using SvxZoomItem in sfx2 zoomitem is moved from svx to sfx2. This patch does base on Caolán McNamara's patch he sent to the mailing list. Change-Id: I4d245f938d92ad3a20b692f5f76d8e0d00b1a648
2012-06-15n#325936 testcaseMiklos Vajna
Change-Id: I35d2ef784cbdcefe4c9bb18e1017d773202c1a9a
2012-06-15n#325936 fix ww8 export of fly frames with transparent background in headersMiklos Vajna
Regression from commit ed8b5f2d -- to be safe, reverted only for fly frames in headers. Change-Id: Ia538b69bb913567c7d087d40afc7f0a141b7a0ed
2012-06-15hrc cleanup: Remove completely unused RIDsThomas Arnhold
These RID definitions aren't used at any other point. So remove them. Unused START and END definitions were commented out for documentation purpose. All definitions in basctl/source/basicide/tbxctl.hrc were unused, so I removed this file. Change-Id: I4713188a12b9da912b2a91b85ea4e54ca1aeb994
2012-06-14n#325936 fix ww8 export of not-in-background anchored images in headerMiklos Vajna
Regression from commit 2ad707b3, which only updated the import, but forgot to remove the fake "in background" property on export. Change-Id: I2b42c5fa7873d946b10d311800049586bc214071
2012-06-13Fix last line whitespace problemPhilipp Riemer
Change-Id: I9df71fd2db17cda15a19b41b0ff389bc2e49eecc
2012-06-13translate German comments in (and minor clean up of) ↵Philipp Riemer
sw/source/core/inc/{flowfrm,flyfrm}.hxx