summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2011-11-23fix some stray typosCaolán McNamara
2011-11-23remove various EraseLeadingAndTrailingCharsCaolán McNamara
2011-11-23fix for pesky pre-language-defect-fix gcc 4.0.1Caolán McNamara
2011-11-23fixed the German translationsPetr Mladek
Ränder means margins Umrandung means borders
2011-11-23Translated German comments to English.Philipp Weissenbacher
2011-11-23std::map::erase takes a nonconst iteratorCaolán McNamara
2011-11-23Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.Stephan Bergmann
A compile time check ensures the common case of streaming just a plain C-style string literal still produces reasonably compact call-site code. The format-string variants are still available in sal/detail/log.h, but only to be used in obsolete osl/diagnose.h etc., and going to be removed again eventually.
2011-11-23Enable :first-letter CSS pseudo-class for all browsers in HTML exportHarri Pitkänen
Previously when drop caps were specified in a paragraph style (not as direct formatting) export to HTML was implemented with :first-letter pseudo-class for "LibreOffice Writer" and through styling individual characters for other browsers. Since all browsers used these days (even obsolete ones like IE 5.5) support :first-letter there seems to be no reason to maintain this difference. This patch unifies all export modes to use :first-letter in such cases.
2011-11-23inherit privatelyCaolán McNamara
2011-11-23SwSelBoxes: svarray -> std::mapDaisuke Nishino
2011-11-23aPosArr.Remove(0, n) shouldn't be aPosArr.clear(), but aPosArr.erase(...)Caolán McNamara
i.e. a0a1c3f4fb730ed3614593c3d8ddb50c23204c29 looks really dubious
2011-11-23add stripStart, can replace EraseTrailingCharsCaolán McNamara
2011-11-22these can be constCaolán McNamara
2011-11-22New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.Stephan Bergmann
* New SAL_INFO..., SAL_WARN... macros. * New SAL_STREAM supersedes OSL_FORMAT. * oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now). * TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site cleanup). * Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet addressed. * Some replacements tools String -> rtl::OUString.
2011-11-21sw, added a message to a thrown uno::RuntimeExceptionCédric Bosdonnat
2011-11-21Improved Header/Footer UI framerateThomas Collerton
2011-11-21sw, Add hyperlinks by default in Table of ContentsCédric Bosdonnat
2011-11-21sw: added explanations entry to grammar checking popup menuCédric Bosdonnat
2011-11-21Convert Sal to rtl::O(U)StringDavid Tardon
2011-11-20Remove unnecessary includesAugust Sodora
2011-11-20cppcheck: Unused private function 'CSS1Parser::SetLineNr'August Sodora
2011-11-19remove [Byte]String::EraseAllCharsCaolán McNamara
2011-11-19this aWord is never usedCaolán McNamara
2011-11-19add narrow (one letter) month namesEike Rathke
While introducing Calendar2 and the XCalendar3 interface anyway, as well the "one letter" narrow month names sometimes needed in calendaring can be added. These are not always the first capitalized letters of the months in all locales, and might even not necessarily be just one character. Introduces a new struct css::i18n::Calendar2 that is not derived from css::i18n::Calendar because it uses a new struct css::i18n::CalendarItem2 to hold the NarrowName elements. In locale data the elements DaysOfMonth, MonthsOfYear and GenitiveMonths now have an optional element DefaultNarrowName. If not specified, the first character of DefaultFullName is taken. LocaleDataWrapper and CalendarWrapper use and return the new Calendar2 and sequences of CalendarItem2 structs. Application code adapted. The number formatter now displays narrow month names (genitive if applicable) for the MMMMM code, previously it displayed the first 16 bit code point of the full name (not even utf-16 aware). Narrow day names currently are not used, except in svtools' Calendar control.
2011-11-18SwSectionFrm: s/sal_Bool/bool/Michael Stahl
2011-11-18fdo#42534: SwRootFrm: clear SwLayouter in dtorCaolán McNamara
This crash is probably a regression introduced by CWS swlayoutrefactoring.
2011-11-18SwCursor::RestoreSavePos: assert on invalid positionMichael Stahl
2011-11-18fdo#40831: SwCursor::RestoreSavePos:Tomofumi Yagi
Check that position is valid, so the cursor does not point to a non-existent node.
2011-11-18fdo#40831: SwView::ExecSearch:Michael Stahl
Replace may delete nodes, so the current cursor position must be stored in a way so that it is corrected when nodes are removed.
2011-11-18i#102333: SwDoc::ReplaceRangeImpl:Michael Stahl
The fix for this (230fcf4a456636bb466f72834cd57238621d206d) was not quite right; there are 2 different join modes, and moving the cursor backward is required in one of them, but not the other. This can be seen when doing replace all ^$ with several consecutive empty lines.
2011-11-18SwDoc::ReplaceRange: prevent assertionMichael Stahl
2011-11-18SwUndoReplace::Impl::UndoImpl: prevent assertion:Michael Stahl
unregister SwIndex local variable from node to be deleted
2011-11-18SwWrtShell::GetDoStrings: bogus assertionMichael Stahl
2011-11-18forgot to consider printing from html sourceIvan Timofeev
2011-11-18fix fdo#42178: crash when printing from Page PreviewIvan Timofeev
2011-11-17redundant if not-null checks on deleteIvan Timofeev
2011-11-17Remove double space in strings (looks bad in pootle)Lior Kaplan
2011-11-17Removing the last remnants of layout - sorry to see it go :-(Jan Holesovsky
2011-11-17remove obsolete layout codeFelix Zhang
2011-11-16removed dead codeTakeshi Abe
2011-11-16add RTL_CONSTASCII_STRINGPARAM to appendAscii on string literalsCaolán McNamara
2011-11-16tweak gbuild standart Makefile to allow partial build in unsourced envNorbert Thiebaud
This allow to run make in a module wihtout the need to source Env.Host.sh.
2011-11-16Hide Navigation toolbar until neededTim Hardeck
Hide Navigation toolbar until there is something to navigate.
2011-11-15Address data source ordering x#62860 (part 2)Michael Meeks
2011-11-16replaced String in SfxPickList with rtl::OUStringTakeshi Abe
this consists of 12df49396e6bcb07bafc95255a8526caac96e60a and related changes
2011-11-15Cleanup few macros and unused headers.Jan Holesovsky
2011-11-15removing obsolete layout codeFelix Zhang
2011-11-15avoid crasher from unusual odt document fdo#42785Michael Meeks
2011-11-15 we don't need to inherit from FiltersTest hereMarkus Mohrhard
2011-11-15test file needs to be in doc and not in xlsMarkus Mohrhard