Commit graph

360 commits

Author SHA1 Message Date
Michael Stahl
85ebb3d85e overflow in implicit constant conversion [-Werror=overflow]
Change-Id: I4fa1168a06118066c72a66801d911a49653f425f
2012-08-15 13:59:01 +02:00
Artur Dorda
0456089759 decodeBase64 test is done and working
Change-Id: I4dfc20e0e577f986c626d4c4bab5b4e3214e4567
2012-08-15 13:42:19 +02:00
Artur Dorda
57cac07a4d encodeBase64 test is working
Change-Id: I598ea47ff02b15fdb1d7ff3992d2c660f5a41c95
2012-08-15 13:42:19 +02:00
Artur Dorda
9f2a303b99 added some extreme values in string-to-measure test
Change-Id: I8fd9029f42159444e7bb56f89eeb83fdb3745732
2012-08-15 13:42:18 +02:00
Artur Dorda
36955a6e1e 'string to number' test covered
Change-Id: Ib8a81edce168be5babd1bcd62746199de77c2ade
2012-08-15 13:42:18 +02:00
Artur Dorda
daae18fd8f 'number to string' test covered
Change-Id: Ic6bdc9448509e6f8251709c22576cc10cf9b8eb2
2012-08-15 13:42:18 +02:00
Artur Dorda
ecb8115340 'string to color' test covered
Change-Id: I024296d1f71bd06837547cd8af3adc2cf2830b95
2012-08-15 13:42:17 +02:00
Artur Dorda
1edec50b9d 'color to string' test covered
Change-Id: Ia65d1bef19ec02efbb5d7dd784d4cc48c3dd51f2
2012-08-15 13:42:17 +02:00
Artur Dorda
d2ab20971b 'percent to string' test covered
Change-Id: I6966191a3adde0af318021ce8eec910763c42585
2012-08-15 13:42:17 +02:00
Artur Dorda
d54174970b 'string to percent' test covered
Change-Id: Ib18e28cba03c7032e8a446449b2839e7b7534133
2012-08-15 13:42:16 +02:00
Artur Dorda
d2bffadb60 'bool to string' test covered
Change-Id: I8ee1142b2a68799a650f501e2fe491a5ed8d7a5e
2012-08-15 13:42:16 +02:00
Artur Dorda
764a1245ec 'string to bool' test covered
Change-Id: I6613167703974d802d17d7fd8cdf0f552721c33c
2012-08-15 13:42:15 +02:00
Artur Dorda
63cd59d691 'measure to string' test covered in test_converter.cxx
Change-Id: If764eb4d87db93dc2907bc21fb1b9f10687a7ee4
2012-08-15 13:42:15 +02:00
Artur Dorda
7200187987 Added testing 'measure to string' function
Change-Id: I36de98025ec72230cd960191ab47ab39ce965cc5
2012-08-15 13:42:15 +02:00
Artur Dorda
978c6b87a3 All the MeasureUnit values are covered in converter test
Change-Id: I6c447bb3948566ad10d9935397089ed1fceac1da
2012-08-15 13:42:14 +02:00
Artur Dorda
22f295551c Started testing measures in converter test, first: string to measure
Change-Id: I96296b75d7c1f131a96add9dd17dfbffa079e343
2012-08-15 13:42:14 +02:00
Tor Lillqvist
60cfa64345 Bin no longer used iOS cppunit stuff that even breaks the build
Change-Id: I459f7fd097a81ef5977974f52b0cc2c2f155a810
2012-08-02 19:16:53 +03:00
Michael Stahl
23e2875473 XML_Parse returns enum XML_Status
Change-Id: Ie4dde5aa412dae05d2629ce5675356db70b2529b
2012-07-12 22:08:10 +02:00
Michael Meeks
fdda178d88 targetted improvement of UNO API includes / usage 2012-07-02 14:43:34 +01:00
Michael Meeks
6736ca4bb9 another unit test issue 2012-06-29 13:01:14 +01:00
Michael Meeks
e18655e475 re-base on ALv2 code. 2012-06-27 19:30:33 +01:00
Michael Meeks
328e2263fb targetted re-work of cppunit pieces. 2012-06-27 19:13:11 +01:00
Thomas Arnhold
6fcac7dfc4 Remove unused include files
Those never get included at any point in the code.

Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27 13:34:23 +02:00
Caolán McNamara
2c757293b8 reduce static_initialization_and_destruction chain
Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
2012-06-25 14:19:03 +01:00
Thomas Arnhold
66cd9eeb90 Remove various commented out defines
Most of them in hrc files.

Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
2012-06-25 14:12:57 +02:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Michael Meeks
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Norbert Thiebaud
495075d9ad other mis-include
Change-Id: Ibc82592650fe54e4a174c5c57050f805a1834cc9
2012-06-16 11:02:38 -05:00
Norbert Thiebaud
0a040ec5e5 fix build breakage due to sax gbuildification
Change-Id: I742c598451134f1d2d0cdc6bcfd5c77adf13ad98
2012-06-16 10:24:53 -05:00
Norbert Thiebaud
3be786451b gbuildification of sax
Change-Id: I6e8220e88566e04b20687d54181205d31ec68e13
2012-06-16 06:58:09 -05:00
Norbert Thiebaud
445cb2bcda revert gmk4
Change-Id: I5e364dc0c387d85f7901d1e86968f5e591639f9f
2012-06-16 06:01:16 -05:00
Thorsten Behrens
017b1c5d0a Targeted string re-work in padmin and sax 2012-06-01 17:07:47 +02:00
Norbert Thiebaud
31cc01a5ff targeted string re-work
Change-Id: Ifd6b90778725d94a9338a53a4cdc514cdb595052
2012-05-31 21:35:45 -05:00
Michael Stahl
cad9839949 stop parsing on encountering internal entities in fastparser.cxx 2012-05-25 13:24:50 +02:00
Michael Stahl
fe226fd8b1 stop parsing on encountering internal entities in sax_expat.cxx
The XML_UnparsedEntityDeclHandler is apparently deprecated anyway, so
replace it with the newfangled XML_EntityDeclHandler.
2012-05-25 13:24:50 +02:00
Caolán McNamara
df34ccb01d remove unneeded include of boost/bind.hpp
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-16 15:05:36 +01:00
Thomas Arnhold
135c63c8f9 fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-04 15:52:57 +02:00
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
Michael Stahl
ee376102be fdo#48969: add unit test for Converter::convertDouble 2012-04-20 20:54:29 +02:00
Michael Stahl
62a0b24057 fdo#48969: GetConversionFactor: add inch as source unit
Also, add whole bunch of missing cases while at it.
2012-04-20 20:54:28 +02:00
Michael Stahl
84aeb737c7 fdo#48969: switch units in Converter::convertDouble
The factor here is used to divide, so the parameters have to be
switched; this has always been broken but probably before
3ca2bef768 nothing called this.
This also reverts 7bf1fa3757 because
that was a workaround for the problem in the wrong place.
2012-04-20 20:54:16 +02:00
Luboš Luňák
1018d69bda escape \n and \r too in escapeXml() 2012-04-12 17:11:36 +02:00
Michael Stahl
4c50f23f87 LinkTarget.mk: remove gb_LinkTarget_add_package_headers 2012-04-08 01:05:53 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00
Szabolcs Dezsi
8a01ee6243 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
Caolán McNamara
15f14ec794 reorganize trickier statics 2012-04-02 14:53:48 +01:00
Ivan Timofeev
53f661b314 sax: no matching function for call to 'max(int, sal_Int32&)' 2012-03-12 22:26:05 +04:00
Michael Stahl
b7c79fc2ef sax: replace Min/Max macros with std::max 2012-03-12 18:30:37 +01:00
Michael Stahl
9365c975f8 sax: move xml2utf.cxx to libsax to prevent duplicate linkage warnings 2012-03-12 18:30:35 +01:00