Commit Graph

4 Commits

Author SHA1 Message Date
3af0114a29 Introduce O[U]String::toUInt32
...which has become necessary since bd60d41176da540b01d7583cfe00637431967f39
"Handle oveflow in O(U)String::toInt() functions" reduces values in the range
(SAL_MAX_INT32 .. SAL_MAX_UINT32] to zero, but some calls of toInt32(16) relied
on getting a correct (unsigned) value for the whole input range ["0" ..
"FFFFFFFF"] (see libreoffice-4-1 commit 9bf6c83367cedb7be81bf67f30d2147d26c7a8c3
"Revert overflow checks in O[U]String::toInt{32,64} again").

Audited all uses of toInt32/64 with non-decimal radix.  (There is still a TODO
comment in oox/source/helper/attributelist.cxx, and
stoc/source/typeconv/convert.cxx will still need some love and test code.)

Change-Id: Iadaca1c0e41dab553687d0ce41c20c10cd657a95
2013-06-13 17:08:36 +02:00
dca437578e Custom Panel SDK Example Fixes
- Remove unused boost header
- OUT_DEPLOY_URL must be an URL

Both break building the example on Windows

(cherry picked from commit 8af699cb89d9477b13d8701266b7c1fdf9356cfa)

Change-Id: Iedc1b1d6d9493390cdf8b9055afe7c712c6bfc31
2013-05-12 16:11:58 +01:00
b30c970602 Make Custom Panel example build and run
(cherry picked from commit 5aff353f227ecfeb36ef6b8be787495916610490)

Conflicts:
	odk/examples/cpp/custompanel/ctp_factory.cxx
	odk/examples/cpp/custompanel/ctp_services.cxx

Change-Id: I5b561fec12415b2c05ff1369629a8f88b420510b
2013-05-12 16:11:53 +01:00
379c701115 Move Custom Panel example to the SDK
(cherry picked from commit d0b30a0f10f506187fcff9775934d3594c140ead)

Change-Id: I898433cbdf9f779f425424d600ebb4f0946ccf20
2013-05-12 16:11:50 +01:00