Commit graph

11781 commits

Author SHA1 Message Date
Eike Rathke
dca69d5bb2 renamed Date::IsValid() to IsValidAndGregorian() to prevent misassumptions
Once smaller than 1582-10-15 decrementing a Date will not produce a valid date.
2011-11-30 02:05:22 +01:00
Caolán McNamara
920a261c8a getenv based debugging code doesn't make complete sense, remove
i.e.

mnOutWidth = maPaperSize.Width() - 2*maPageOffset.X();
mnOutWidth = maPaperSize.Width() - 2*maPageOffset.Y();

might possibly be intended to be

mnOutWidth = maPaperSize.Width() - 2*maPageOffset.X();
mnOutHeight = maPaperSize.Height() - 2*maPageOffset.Y();

either way, its behind a special getenv, so ditch the lot
2011-11-29 23:23:06 +00:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
Michael Meeks
dbc7e80af1 gtk: fix sub-menu arrows RTL issue 2011-11-29 10:46:27 +00:00
Caolán McNamara
5d846ebeb5 Install a Cancel callback, don't rely on vcl searching for a parent to close
If there is no cancel callback for a Cancel button, it's monstrous to dig
around the hierarchy looking for a parent to call EndDialog/Close on. Really
messes up attempts to refactor dialogs.
2011-11-29 10:35:14 +00:00
Thorsten Behrens
75dbef14bb Headless got moved, fix gtk3 build. 2011-11-28 14:56:41 +01:00
Khaled Hosny
d13e9baca5 Fix Kashida justification when there is no Kashida glyph 2011-11-28 11:54:17 +01:00
Caolán McNamara
963fd1696c callcatcher: remove unused methods 2011-11-28 09:55:03 +00:00
Caolán McNamara
6f33482f8f ByteString->rtl::OUStringToOString 2011-11-28 09:55:03 +00:00
Caolán McNamara
48221d6a2b ByteString::GetToken->comphelper::string::getToken 2011-11-28 09:55:02 +00:00
Stephan Bergmann
66b9a19d23 Added upstream bug link. 2011-11-28 10:28:57 +01:00
Norbert Thiebaud
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
Norbert Thiebaud
3f2ff54778 remove pch from the include list 2011-11-27 15:24:45 -06:00
Norbert Thiebaud
653dda4a34 remove include of pch header from vcl 2011-11-27 13:26:59 -06:00
Norbert Thiebaud
992757cc5e remove pre-compiled header support in gbuild and gbuildified module 2011-11-27 11:49:38 -06:00
Korrawit Pruegsanusak
c3dc018984 typos fixing 2011-11-27 15:12:07 +07:00
Luc Castermans
b89d67ce53 translated comments from German to English 2011-11-27 08:22:39 +01:00
August Sodora
93253ee6ab Remove some uses of OUString::setCharAt 2011-11-26 00:49:26 -05:00
Julien Nabet
802f279749 Fix comment since I had copied from warnings_guard_ne_locks 2011-11-25 22:41:59 +01:00
Julien Nabet
d2911992d9 Fix the WaE "shadows a global declaration"
error: declaration of ‘pointer’ shadows a global declaration [-Werror=shadow] /usr/include/qt4/QtCore/qscopedpointer.h:83:47
2011-11-25 22:21:05 +01:00
Noel Power
93a5933060 really limit special layout to single line non-floating toolbars 2011-11-25 14:31:13 +00:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
David Tardon
fba911fea7 gsl_getSystemTextEncoding -> osl_getThreadTextEncoding 2011-11-25 09:07:49 +01:00
Noel Power
50171e5137 tweak toolbar layout for gsoc formula/input bar & other misc changes
summary:
* tweak toolbar layout to layout the toolbar items aligned to top of highest
item
* make Capture/ReleaseMouse logic much simpler
* make resize detection simpler
* control toolbar height ( e.g. don't let visible grid area be overrun by
toolbar )
2011-11-24 19:49:15 +00:00
Matteo Casalin
3b84379b06 Docuview cleanup: rewritten local ImplDrawSymbol 2011-11-24 12:53:54 +00:00
Caolán McNamara
709c1f365b remove various EraseLeadingAndTrailingChars 2011-11-23 23:16:45 +00:00
erack
70b02c18b9 impress212: #i114615# fixed hyperlink export (pdf) if exporting also notes pages
* found as LGPLv3-only fix at svn rev 1167640 (http://svn.apache.org/viewvc?view=revision&revision=1167640)
2011-11-23 23:34:58 +01:00
Matteo Casalin
e5b5d6dc5b Decoview code cleanup
Cleaned up many ImplDrawSymbol cases, reducing number of calls to drawing functions
Removed unused local variables in ImplDrawSymbol
Translated some comments from German to English
2011-11-23 15:00:25 +00:00
Stephan Bergmann
0c7bff0271 Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.
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-23 15:50:58 +01:00
Caolán McNamara
5e283a80cd callcatcher: remove recently unused code 2011-11-23 10:10:10 +00:00
Caolán McNamara
b7ea361014 add stripStart, can replace EraseTrailingChars 2011-11-23 10:10:09 +00:00
Caolán McNamara
20153742d2 add a stripStart, can replace EraseLeadingChars 2011-11-23 10:10:08 +00:00
Stephan Bergmann
70a6b9ffbd New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
* 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-22 09:41:47 +01:00
Michael Stahl
d63d64c4de empty a bunch of d.lst files 2011-11-21 22:46:17 +01:00
Thorsten Behrens
d4d79be21e Fix radial gradient offset
Seems this got broken with the Gradient::GetBoundRect() common code
extraction - actually return what was calculated (fixes part of
n#714787).
2011-11-21 16:37:20 +01:00
Thorsten Behrens
7ddc69623d Make dbglevel=3 compile again in vcl 2011-11-21 16:37:11 +01:00
Lionel Elie Mamane
bce71931ab Oups... Disambiguation solved another way in 1c2f5d 2011-11-21 15:18:16 +01:00
Lionel Elie Mamane
96d01c8f07 disambiguate (OU)?String comparison into OUString comparison 2011-11-21 14:15:11 +01:00
Caolán McNamara
ce60138d33 link error 2011-11-21 13:12:27 +00:00
Caolán McNamara
6a9593f882 trailing/missing , 2011-11-21 12:53:58 +00:00
Caolán McNamara
054568fea7 this casting of a void* is a disaster waiting to happen
only ever used for a string, to set it to a string type
2011-11-21 12:51:36 +00:00
David Tardon
1c2f5d73a7 more conversion to rtl::OUString 2011-11-21 13:19:34 +01:00
David Tardon
3a88a0606b WaE: initialization order 2011-11-21 13:19:33 +01:00
David Tardon
5e04a781c5 WaE: type qualifiers ignored on function return type 2011-11-21 13:19:32 +01:00
Caolán McNamara
2de8d6208b fix text layout regression 2011-11-21 11:54:27 +00:00
Caolán McNamara
e1de8237d5 these need to be getStr post OUString-ization 2011-11-21 11:02:36 +00:00
David Tardon
d1916dfdb3 the string is sal_Unicode, not sal_Char 2011-11-21 10:27:47 +01:00
David Tardon
81b71b2ca6 init members in correct order 2011-11-21 10:27:47 +01:00
David Tardon
69dd81e2f2 use correct rtl::OUString function 2011-11-21 10:27:46 +01:00
Caolán McNamara
4d1c57a00e callcatcher: update list 2011-11-21 09:17:11 +00:00