Commit Graph

2209 Commits

Author SHA1 Message Date
b514300565 pProgress is always NULL
Change-Id: I278103075582a0f0a5cde7b749db408c5912f82e
2014-03-02 20:17:56 +01:00
7f7e8673d3 bStopPrt is always false
Change-Id: I14559b1360ae9f845e0054c5125f1280d9786dff
2014-03-02 20:17:56 +01:00
2d7ece16a2 sal_Bool to bool
Change-Id: Iad75baebdf868cdd2ad13d23299385564277010e
2014-03-02 20:17:56 +01:00
a27462189d Remove visual noise from sw
Conflicts:
	sw/inc/unodraw.hxx
	sw/inc/unoframe.hxx
	sw/sdi/swriter.sdi
	sw/source/core/unocore/unoframe.cxx
	sw/source/core/unocore/unoparagraph.cxx
	sw/source/filter/ww8/rtfexportfilter.cxx
	sw/source/ui/inc/unotxvw.hxx
	sw/source/ui/lingu/hyp.cxx
	sw/source/ui/lingu/sdrhhcwrap.cxx
	sw/source/ui/uno/swdetect.hxx

Change-Id: Ic0a3fb2392187c277c9b36915ffb10dcf0317908
Reviewed-on: https://gerrit.libreoffice.org/8322
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27 09:41:00 -06:00
002726d897 coverity#1187648 Logically dead code
Change-Id: I9d5425383600fa7c621f58ded52a211f4424575a
2014-02-27 12:57:26 +00:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
f8adeb2900 (T/t)herfor -> (T/t)herefore
Change-Id: I7678dcccc3afa8ecde5160a3f0d731b923f3bfca
2014-02-25 21:55:23 +01:00
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
01d306abb9 SwFmtFrmSize: rename member variables missing their prefixes
Change-Id: I4c8876b6be795b7b7af26e7a449a63ec2320d729
2014-02-22 20:56:43 +01:00
228ae8ea76 WaE: IntegralToBoolean
Change-Id: I688a8f8c26f7a93baafd247fc4cc5609ddf6137c
2014-02-22 13:37:17 +02:00
5e5b86c425 sal_Bool to bool
Change-Id: Ic17400b4cde699387b6fccbc0744aeb8ef5734c5
2014-02-22 12:25:07 +01:00
7c87db6ac3 Fix memory leak a simplify code
Change-Id: I84ae9025d53d1544aa8ba0a56a2316cbf77561ea
2014-02-22 12:25:06 +01:00
c28f492d83 sal_Bool to bool and some simplifications
Change-Id: Ia30f93df3ee5d0cfef826d9b6d7d5506fca7333a
2014-02-22 12:25:02 +01:00
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
327dde336e editeng: sal_Bool->bool
Change-Id: Ib1113ebcfc523c8c97731debb2bf456a8c99d802
2014-02-21 12:19:21 +02:00
a18a1a4545 Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.

Conflicts:
	sc/source/ui/dbgui/pvlaydlg.cxx

Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
9fb9fc3015 fdo#75118: actually these are floats, compare with approxEqual
Change-Id: Ib195af3ebd5f602761d1660abb1798d72d0f352d
2014-02-20 12:52:07 +01:00
90519c0436 SwAnchoredDrawObject: respect SdrObject::GetRelativeWidth/HeightRelation()
Change-Id: Ie107ea749a1f4c261106f0f18f3818b85d65e9b4
2014-02-20 12:34:32 +01:00
12f1faf7bf svl: sal_Bool -> bool
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-20 08:17:00 +01:00
22b709e84a unindent SwTabFrmPainter::PaintLines a little
Change-Id: I1602bd62bf970092ecffba579d428fadaf8574cc
2014-02-20 00:52:22 +01:00
128d3d51c2 fdo#75118: sw: do not paint zero-width lines
Since commit 6a3fb868b2b8af21f7b6140424b6f8377599a786 zero-width
BorderLinePrimitive2D will actually be painted as hairlines by
VclPixelProcessor2D::tryDrawBorderLinePrimitive2DDirect(), so don't
create such pointless primitives.

Change-Id: I4c2404b73f106156b83a6d72efa3c8991e5d659e
2014-02-20 00:52:22 +01:00
973b47a336 unotools: sal_Bool -> bool
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-19 12:47:07 +01:00
f7a7a5a686 SwAnchoredDrawObject::GetObjBoundRect: ignore relative size of group shapes
Instead of not reading the relative size of group shapes at all, read it
into the document model, just ignore it during painting. Visually this
doesn't change anything, however this way we can write the information
back to the file.

Change-Id: Ic24fceaacec0f831d657a35e52493e1c0e9bf626
2014-02-17 17:16:15 +01:00
7881de6d9f cid#705924 dereference before null check
Change-Id: I5f3256351ea806e902477d2ccd5cc9dfbc18fdb1
2014-02-17 14:04:31 +02:00
e5810bb2bb cid#705925 dereference before null check
Change-Id: Ib4369e00f4d6ce2beca9e2ec51e3fb52677d2fe6
2014-02-17 14:04:30 +02:00
3ec96dc587 sal_Bool to bool
Change-Id: Ifc98bc3afff33670fbde724a0d8e8df842dda641
2014-02-16 22:55:30 +01:00
3a7858552a fix compile error
Change-Id: Ia5c73f4c1f05a92c18b70d87f67a884b88bc6708
2014-02-16 21:39:20 +01:00
69d0280e70 deleted code that was commented out in sw/source/core/layout/
Change-Id: Id1acb0ef8a668c61cdfd852040f44023b37bda37
2014-02-16 20:22:08 +01:00
c6a842ebc8 fdo#62475 - remove visual noise
Change-Id: I36e970c2ed13c50e5f6cebf95aa36ca8194a01ce
2014-02-16 20:22:08 +01:00
aba99b4ae4 work on existing comments
- (un)doxygenize
- move to right position
- /** */ => /// if only one line

Change-Id: I786953b7f6c83d384b0685c7dc2e5f98d4152b50
2014-02-16 20:22:08 +01:00
5d6abb55d2 fdo#39468: Translate German comments in sw/source/core/layout/
Change-Id: Ia0a8443c6989d7938e479a88e3899fb611106544
2014-02-16 20:22:07 +01:00
13dffbb750 fdo#51304: Remove @author annotation in sw/source/core
Change-Id: I4d4eb9758e1aebcdd37fe38671d60f1713487119
2014-02-15 21:51:54 +01:00
9df6f4b717 fixed indentation for consistent code layout in sw/source/core/layout/
Change-Id: Iec2ad7d542a107458ab20144e53639997d9e54e6
2014-02-15 21:22:51 +01:00
c0377a78d2 deleted code that was commented out in sw/source/core/layout/
Change-Id: Idd251a1b82dd8795b7c0087e1e4b9aeed53b2d82
2014-02-15 21:22:51 +01:00
9401852921 fix comment (referenced class was renamed)
Change-Id: I7537061da3f4110d5f472719065f54d714604fa8
2014-02-15 21:22:50 +01:00
feb2b95e70 (un)doxygen-ize comments in sw/source/core/layout/
Change-Id: Ia7bcbb6e16e78e2fe9d14cd11052293baebca3d2
2014-02-15 21:22:50 +01:00
0ffc090d80 fdo#62475 - remove visual noise
- remove "borders"
- move method explanations if misplaced
- rewrite for Doxygen if needed
- "shrink" multiple blank lines

Change-Id: Ia4678b7f2456de70eb307e9c0d80c4ecd068048b
2014-02-15 21:22:50 +01:00
c9cdc12523 fdo#68927: sw: fix painting of SVG page background
There was a fix for a wrong constant resulting in too large image size in
a1a0830d1ac3ffabbe35bd8a0264b64f1f7a9d67, and it turns out that painting
of SVG backgrounds was relying on the wasteful rasterization:  the SVG
is rasterized only once (at the initial zoom level) and then cached, and
now the correct image size for 100% is simply scaled up when zooming in.

Fix that by painting SVGs with the drawing layer primitives instead,
which appears to give better results.

Change-Id: I4be16856fd080290526d4963d8c512beefa85363
2014-02-14 22:40:08 +01:00
016de6fa56 sw: replace #ifdef'd operator<<
Change-Id: I63c24f453f843a363fc056879d652f28d7052f1e
2014-02-12 21:24:47 +01:00
15535e32dd convert SvStream::operator>> methods to ReadXXX methods
First, I updated the clang rewriter to do the conversion.
Then I lightly hand-tweaked the output for the few places where
the rewriter messed up, mostly when dealing with calls on "this".

Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9
Reviewed-on: https://gerrit.libreoffice.org/7879
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12 15:31:40 +00:00
2aa0a52303 SetCaptionFmt never called, so pCaptionFmt always NULL
Follow logical consequences of the always-NULL.

And, depressingly, big slabs of the IA2 caption code
in writer doesn't actually do anything.

Change-Id: I35f7ffac19db683010b656b3c88f81b65233b080
2014-02-12 13:03:51 +00:00
e86a602df7 drawingML import: handle RelativeWidth/Height for drawinglayer shapes
This was already handled in the VML importer previously.

Change-Id: Ie04ed0cec632222c5f6481943ad7f4db66a752e5
2014-02-10 12:32:29 +01:00
3eee2ded1b coverity#1130483 Uninitialized pointer field
Change-Id: I55bf498f031319b5f8975dfe9fc05d1ec7848751
2014-02-09 21:07:40 +00:00
4dda036b15 coverity#708854 unused pointer value
Change-Id: Ide16dee52116d3f437a564b93fad7464382c7213
2014-02-07 15:33:27 +02:00
e4fcf23f3d coverity#708856 unused pointer value
Change-Id: I9f093e10d222b500079c5b38ea673e9d014b6870
2014-02-07 15:33:27 +02:00
9bbb7ca9f7 Typo: formating -> formatting
Change-Id: If4aba89909a3ef049a756182c37d8a5d6812ae70
2014-02-06 22:41:48 +01:00
a4285867cd Typo: atribute(s) -> attribute(s)
Change-Id: I5434402e372c4567b2c3f96f5c175618ba3e5cfb
2014-02-06 21:32:04 +01:00
103229d032 Translate German comments
Remove some left over German comments with their translation
underneath. Also, correct some Denglish and typos.

Change-Id: I3c321dd1030695ca4443447a852e81dec9383aed
Reviewed-on: https://gerrit.libreoffice.org/7885
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 20:53:00 +00:00
a45c79da32 cppcheck: Clarify calculation precedence for '%' and '?'
Change-Id: I59f9763651ba576a5d0dc970283d46a18f806024
2014-02-03 23:03:58 +01:00
c1487cf7b6 coverity#984156 : Uninitialized scalar field
Change-Id: I03829d3fe431632f3c2ab585d19f812b9c2a94be
2014-01-31 21:27:25 -06:00