Caolán McNamara
18a48b7489
drop dead makefile.mk's
2012-03-08 12:02:38 +00:00
Caolán McNamara
bbc6d8506d
remove various unused methods and source files
2012-03-07 11:06:45 +00:00
Tor Lillqvist
947a51f5fe
WaE: equality comparison with extraneous parentheses
2012-03-03 01:16:33 +02:00
Ivan Timofeev
c1cf8dac6d
there was the object comparison, not the pointer comparison
2012-03-02 18:46:51 +04:00
Ivan Timofeev
0ecb2bd92a
remove traces of SvxFontTable
2012-03-02 18:46:50 +04:00
Ivan Timofeev
9e137b29e1
fix memory leak
2012-03-02 18:46:50 +04:00
Tor Lillqvist
2c1868bb28
WaE: use of logical '&&' with constant operand
...
Surely a bit test is what is intended here.
2012-03-02 12:09:29 +02:00
Stephan Bergmann
f50f7368ab
More IMPL_LINK_NOARG fixes
2012-03-01 23:55:47 +01:00
Stephan Bergmann
bd205223ec
New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...
...see ebe26f72e9
"WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Noel Grandin
a0cd57b926
Remove SvxFontTable and use std::vector instead
...
In removing tools/table.hxx usage, remove SvxFontTable and
convert to std::vector<SvxFontItem*> because it was only
being used as a temporary list, not a map.
2012-03-01 17:03:34 +02:00
Caolán McNamara
ac08d3f696
we don't want any of these to be streamed out/in as 64bit values
2012-02-28 16:59:01 +00:00
Szabolcs Dezsi
2b179ca174
Removed unused code
2012-02-27 11:23:51 +00:00
Thomas Arnhold
a3fccd27de
unusedcode.easy: remove unused code
2012-02-24 05:33:53 +01:00
Caolán McNamara
cfcfd8848e
make editeng ByteString free
2012-02-23 20:45:03 +00:00
Caolán McNamara
2c7a532b7e
WaE: nWidth might be unused uninitialized
2012-02-23 13:27:15 +00:00
Cédric Bosdonnat
e3e7623bf6
fdo#45560: Fixed docx textbox borders style and width import
2012-02-23 13:56:24 +01:00
Ivan Timofeev
46fd2a3bf2
use a for loop
2012-02-21 20:05:23 +04:00
Noel Grandin
a4aa96be3a
convert svxrtf.hxx in editeng module from table.hxx to std::map
2012-02-21 20:05:23 +04:00
Elton Chung
d30b4e9fb6
Get rid of size() == 0
2012-02-19 17:07:46 +04:00
Thomas Arnhold
949214fab8
unusedeasy.code: remove SvxFont::DrawText
2012-02-18 21:32:58 +01:00
Elton Chung
78e9ba6feb
Remove unused code
2012-02-18 09:34:48 +00:00
Mariusz Dykierek
51b3eb3a39
clean up logic
2012-02-17 15:25:28 +00:00
Ivan Timofeev
843eafc765
tweak "Convert tools/table.hxx in editeng/forbiddencharacterstable.hxx..."
...
* remove 'const' from GetForbiddenCharacters
* CharInfoMap -> Map
* pInf -> pForbiddenCharacters
* remove 'inline' from the function defined within the class definition
* some code simplifications
2012-02-15 21:31:29 +04:00
Noel Grandin
9d4b0c25a5
Convert tools/table.hxx in editeng/forbiddencharacterstable.hxx to std::map
2012-02-15 21:31:29 +04:00
Santiago Martinez
1dc612970f
Remove unused code.
2012-02-14 16:32:01 +00:00
Elton Chung
abc235e73e
Remove unused code
2012-02-13 16:08:52 +00:00
Matúš Kukan
4b30ec9def
fdo#39491 -I$(OUTDIR)/inc is set in SOLARINC
2012-02-10 21:41:45 +01:00
Josh Heidenreich
64e1ae0f55
Added READMEs for modules which used to be in libs-core
2012-02-08 06:37:16 +01:00
Norbert Thiebaud
c857dff7fc
switch to include-based build rather than sourced-based build
2012-02-05 19:34:05 -06:00
Ivan Timofeev
1c85118414
fix debug build
2012-02-05 22:02:12 +04:00
Michael Stahl
874f2e53b2
WrongList::TextInserted: fix STL crash
...
vector iterators and insert don't mix well
(regression from dfbf0cabfa
)
2012-02-03 14:20:13 +01:00
Michael Stahl
aa2333374d
editeng: convert some DBG_ASSERTs
2012-02-03 14:20:12 +01:00
Eike Rathke
971f826a96
resolved fdo#42784 BorderLine with only InnerWidth set does not work
2012-02-02 19:11:37 +01:00
Julien Nabet
428c9d516d
Some cppcheck cleaning
2012-02-01 21:02:32 +01:00
Caolán McNamara
6b6bbe539b
SWAPLONG->OSL_SWAPDWORD
2012-01-31 20:23:46 +00:00
Noel Grandin
61451fec9b
fdo#44981 - remove obsolete SWAPLONG macros
2012-01-30 13:18:38 +00:00
Caolán McNamara
bbc94edb9a
refactor ConvertLineEnd
2012-01-30 13:18:38 +00:00
Michael Stahl
4512de034a
SvxBorderLine::GuessLinesWidths: use SAL_N_ELEMENTS
2012-01-27 23:49:18 +01:00
Michael Stahl
e549f52f16
fdo#38542: SvxBorderLine::GuessLinesWidths:
...
Importing style:border-line-width="0.002cm 0.088cm 0.141cm" (which older
OOo/LO apparently could write) fails, because GuessLinesWidths can't find
a matching style (result: standard "double" border, 3 equal width parts).
Try to create a custom BorderWidthImpl of type DOUBLE instead, that
preserves the individual widths.
2012-01-27 09:37:55 +01:00
Stephan Bergmann
7c704c78d3
Removed some unused parameters; added SAL_UNUSED_PARAMETER.
...
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones. To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Keith McRae
987eae381d
fdo#39428 Remove/audit SvStream operator>>/<<(long)
...
Replaced calls to operator<<(long) with sal::static_int_cast<sal_Int32>
Replaced calls to operator>>(long) with operator>>(sal_Int32)
2012-01-18 22:56:13 -05:00
Marcel Metz
2a566b1775
Replaced SAL_INFO with SAL_WARN were applicable.
2012-01-17 23:27:44 +01:00
Marcel Metz
a18123fb97
Replaced DBG_ERRORFILE with SAL_INFO.
2012-01-16 12:51:33 +01:00
Caolán McNamara
4abfd463ed
force users of WriteByteStringLine to explictly denote encoding
2012-01-16 10:21:55 +00:00
Caolán McNamara
9d4d727250
force users of ReadByteStringLine to explictly denote encoding
2012-01-16 10:21:55 +00:00
August Sodora
3447718347
SV_DECL_PTRARR_DEL->std::vector
2012-01-14 15:13:05 -05:00
August Sodora
1c0912ab00
Remove useless macro
2012-01-14 15:13:04 -05:00
Matúš Kukan
fcc8db1d2b
fix for gcc 4.7: unable to find string literal operator
2012-01-14 11:35:39 +01:00
Caolán McNamara
284482072d
valgrind: ditch some unused code
2012-01-12 10:47:09 +00:00
August Sodora
0204bbffbc
Remove an unused SvStringsDtor
2012-01-11 20:49:52 -05:00