Commit graph

303566 commits

Author SHA1 Message Date
Caolán McNamara
96b3ab5dba remove static OUStrings from static_initialization_and_destruction chain 2012-03-28 13:08:57 +01:00
Caolán McNamara
7b9462fad7 unused global rtl::OUStrings 2012-03-28 13:08:56 +01:00
Caolán McNamara
ee8d062e0d remove static OUStrings from static_initialization_and_destruction chain 2012-03-28 13:08:56 +01:00
Caolán McNamara
4be31cd9a2 fold useroptions_const.hxx into useroptions.cxx 2012-03-28 13:08:56 +01:00
Caolán McNamara
382f43dd2e don't need to export useroptions_const.hxx 2012-03-28 13:08:56 +01:00
Caolán McNamara
96433d351e remove static OUStrings from static_initialization_and_destruction chain 2012-03-28 13:08:56 +01:00
Caolán McNamara
c1110fc57e BiffOutputRecordBuffer never constructed 2012-03-28 13:08:55 +01:00
Caolán McNamara
047c2de164 BiffOutputStream never constructed 2012-03-28 13:08:55 +01:00
Caolán McNamara
effda59a12 callcatcher: regenerate list 2012-03-28 13:08:55 +01:00
Caolán McNamara
2ecae2b9b4 don't leak pDirMutex and other code janitorials
don't leak pDirMutex
drop intermediate UniString
don't use static OUStrings
drop C2U macro
2012-03-28 13:08:55 +01:00
Caolán McNamara
2f36279079 use a vector instead of a deque when deque extras unneeded, they're faster 2012-03-28 13:08:54 +01:00
Miklos Vajna
1c2d7eba4a n#751117 oox: make sure position is not lost during VML import of rotation 2012-03-28 12:21:28 +02:00
Maxime de Roucy
357fac9713 Rewrite of the format paintbrush
With this patch the format paintbrush differentiate automatic character
attributes apply to character than those apply to paragraph.
Character attributes applied to paragraph are treat as paragraph format
when paragraph format are copied (and so apply to paragraph), and treat
as character format when paragraph format are not copied.

It also change the behavior of the format paintbrush on "restart
numbering" and "restart numbering at" attributes. With this patch those
attributes are simply copied… as expected.
2012-03-28 12:07:51 +02:00
Maxime de Roucy
378ee95b08 fix of comments
fix some comments made in
31b7640f7137964916062e64fca18869a18f5118
2012-03-28 12:07:51 +02:00
Maxime de Roucy
1609457325 add GetCurParAttr and GetPaMParAttr in SwEditShell
GetCurParAttr : Get the paragraph format attribute(s) of the current selection.
GetPaMParAttr : Get the paragraph format attribute(s) of the selection(s) described by a SwPaM.

The advantage of these methods is that the take the named and automatic
format attributes.
2012-03-28 12:07:51 +02:00
Luboš Luňák
5aa523a61f remove (non-const) char[N] overloads introduced because of string literals
Cleaned up SFINAE helper classes and added even more comments.
2012-03-28 10:52:40 +02:00
Miklos Vajna
b9f79762f0 ShapeTypeModel::maFlip: correct bogus doxygen comment 2012-03-28 10:36:29 +02:00
Miklos Vajna
4159a4e6ce n#751117 oox: implement VML import of shape style 'flip' 2012-03-28 10:28:51 +02:00
Miklos Vajna
559ecabbfc n#751117 oox: implement VML import of v:line token 2012-03-28 10:27:46 +02:00
Miklos Vajna
8b8fad38b2 n#751117 oox: implement VML import of shape style 'rotation' 2012-03-28 10:27:46 +02:00
Miklos Vajna
b4f5c3fea2 n#751117 writerfilter: include all oox tokens in gperffasttoken.hxx
Without that, the following happens:

1) ShapeTypeContext::onCreateContext() in oox calls rAttribs.getToken()
2) FastAttributeList::getOptionalValueToken() in sax calls mxTokenHandler->getTokenFromUTF8()
3) OOXMLFastTokenHandler::getTokenFromUTF8() won't find the oox token and return OOXML_FAST_TOKENS_END

I verified that the new gperf input just adds tokens to the hash,
doesn't remove any.
2012-03-28 10:27:45 +02:00
Matúš Kukan
2fc2a35429 sal: add dependency for unit test, fix typo in comment 2012-03-28 09:46:49 +02:00
Markus Mohrhard
bef64b0113 add name attribute to chart's layout dumper 2012-03-28 09:32:56 +02:00
Markus Mohrhard
f084ac6556 add drawing.Text to chart's dumper 2012-03-28 09:32:56 +02:00
Luboš Luňák
2ebda60bfe more SFINAE to distinguish between const char* and const char[] 2012-03-28 09:07:17 +02:00
Luboš Luňák
86ebc8471d hopefully only OString ctors do not work with SFINAE broken 2012-03-28 09:07:17 +02:00
Luboš Luňák
3ba10632a3 string literal overloads for rest of OString methods 2012-03-28 09:07:17 +02:00
Luboš Luňák
533eadeb46 CPPUNIT_ASSERT_MESSAGE -> CPPUNIT_ASSERT_EQUAL_MESSAGE 2012-03-28 06:30:27 +02:00
Markus Mohrhard
f1e8da595d add SAL_CALL to ChartModel::dump 2012-03-28 03:58:44 +02:00
Markus Mohrhard
608ac02d2d add chart regression test
test is based on qa::Dumper and dumps the layout of the chart
2012-03-28 03:35:23 +02:00
Markus Mohrhard
9560fb7990 revert old test idea 2012-03-28 03:35:23 +02:00
Markus Mohrhard
5d8c9ef5e5 implement the layout dumper for chart2 2012-03-28 03:35:22 +02:00
Markus Mohrhard
74b274602a add interface XDumper for qa/automated testing 2012-03-28 03:35:22 +02:00
Markus Mohrhard
8090cba738 implement XDumper in ChartModel 2012-03-28 03:35:22 +02:00
Caolán McNamara
9cab649ccb Resolves: fdo#47865 insertions into deque invalidate nLastCount 2012-03-27 22:37:37 +01:00
Caolán McNamara
919f7104b5 drop intermediate temporary UniStrings 2012-03-27 22:37:37 +01:00
Caolán McNamara
887d7945ad callcatcher: update list 2012-03-27 22:37:36 +01:00
Caolán McNamara
79872b9181 exclude callcatcher output dirs from translation tools as well 2012-03-27 22:37:36 +01:00
Stephan Bergmann
9e46c8fcb8 2nd param of __cxa_throw is void* in GCC <= 4.6 2012-03-27 22:26:25 +02:00
Philipp Weissenbacher
dfdd09fa86 Translate German comments 2012-03-27 21:53:31 +02:00
Santiago Martinez
a84e97e58f Remove unused code in l10ntools. 2012-03-27 20:49:07 +01:00
Philipp Weissenbacher
bfa1547570 Translate German comments, fix some English ones 2012-03-27 21:35:14 +02:00
Philipp Weissenbacher
24a2cfff83 Translate German comments 2012-03-27 21:35:14 +02:00
Bartosz Kosiorek
7628ced726 Convert SV_PTRARR_DEL to boost::ptr_vector 2012-03-27 15:07:34 -04:00
Kohei Yoshida
3670b2a2b1 Let's hide stuff like this from header.. 2012-03-27 14:27:02 -04:00
Kohei Yoshida
80ecd30e1c It's cleaner to use copy ctor for cloning. 2012-03-27 14:19:31 -04:00
Kohei Yoshida
e747c9df0b Publicly deriving from STL is not a good idea... 2012-03-27 14:13:47 -04:00
Kohei Yoshida
1e91520e7a UniString removal. 2012-03-27 13:04:31 -04:00
Kohei Yoshida
685c0f41b9 We can safely remove this.
There is no definition given anyway, so its use would've caused
a link error.
2012-03-27 13:04:31 -04:00
Stephan Bergmann
54e3855bff MinGW: Adapted cpp_uno bridge to GCC 4.7
...which incompatibly changed the calling convention of the third (dest)
function pointer parameter of __cxa_throw to __thiscall.
2012-03-27 18:52:49 +02:00