summaryrefslogtreecommitdiff
path: root/basic/source
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-03-06 21:14:08 +0000
committerFridrich Strba <fridrich@documentfoundation.org>2013-03-15 21:55:34 +0000
commit90a9abea38d5fb17d754b78c4452a94c1ffbdf3c (patch)
tree8a69b22d32f9faade56f4e72bbdb6765a204a8b8 /basic/source
parentee6dc201a084c5ec0e7eea65736376757530db44 (diff)
Rehash basic unit test framework
Create new Macro helper class to help invoking macros for unittests Change-Id: Icc3cbfc3eae6ade037960497e7fe2addf1912897 (cherry picked from commit a9fc6ee7dc640f016728bf524d684696a376e989) use "doUnitTest" as the method to search for, tweak error reporting Change-Id: I0c0f4ce1304b561bf94af5444c83d8920062568b (cherry picked from commit 49417b0b68e8c9743bd6f664a5f8b4a0f3c19723) adapt existing tests to use MacroSnipper helper class Change-Id: I50980d9510b82277a5da04cc4f6c1d3ec8e7c756 (cherry picked from commit 8534787f95dfbfff24167b2160cfe07a1b70bcc6) Nested_Struct should really inherit from test::BootstrapFixture Change-Id: I06255940f41c32493187d1ec847f7238fef4e9f8 (cherry picked from commit 20f12a1d7ad5f9694f901a85e1fa22f46c3953a2) finally remove no long needed BasicTestBase Change-Id: Ic1522b0c3a292af061f5777e06e796dd82884fbf (cherry picked from commit fea9b3a99a24366b4dea22ed1b79f34046f7f521) Add some stand alone vba specific tests ( mostly vba only functions ) Change-Id: I137e93a8af67b7eec4c51348caf3d0d03dbbce73 (cherry picked from commit 76c3184813c97224cfd1e114ec13796e1da040d5) fix String->OUString foobar Change-Id: Ia924e6e8f3cfa25b131185713699d64e9d339357 (cherry picked from commit f202b21770b9d36522ff811868b911d0f1c852a6) doh! sReturnStrg is OUStringBuffer, no need to assign Change-Id: I490d20e8b494b4f59277b1cc92c73beb65a05813 (cherry picked from commit a9813b9ab307591a4c8a06fd01a4ef82126cfb18) fix WAE mbError unused Change-Id: I03bae6808008dcb0b53b1e816f3fe84739036773 (cherry picked from commit 4596120336b575d94d305c4139054afd95d2f740) remove duplicate file loading from basic_coverage ( now in MacroSnippet ) Change-Id: I1b19fec59419575fcf09d79986b6bac73ea51c9a (cherry picked from commit 46bab17e6d48c2279f4698d46f01db5404b0ba6f) unit tests and data for bnc#805071 Change-Id: I36fefa280ee922cbade676c951b753e632c9d8bb (cherry picked from commit 0f7798d86226d8e93fbd624283cd3558c7dd63fe) remove some rtl:: and RTL_CONSTASCII_USTRINGPARAM foo Change-Id: I68e2891999f306865d00b33fdfef3bc539a34e93 (cherry picked from commit 54d70501380f818fc928557590ed70e6f5a925f7) basic: make the makefile a bit nicer Change-Id: Ib606c0a9c84b35f4ab4b10dd7dc4dd82e85fcb71 (cherry picked from commit 954611cdea0ae4b0dab4f241e580c4f61792dc8b) Windows oleautobridge depends on ATL Change-Id: I94b43b03f742da7c6c8cf2e6a60ed305c1395fa7 (cherry picked from commit b0bcadf62a631b6cce5a5188f8018f266e1b99ee) Reviewed-on: https://gerrit.libreoffice.org/2757 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'basic/source')
-rw-r--r--basic/source/sbx/sbxform.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxform.cxx b/basic/source/sbx/sbxform.cxx
index 0661861f4694..c0e23ff868eb 100644
--- a/basic/source/sbx/sbxform.cxx
+++ b/basic/source/sbx/sbxform.cxx
@@ -819,7 +819,7 @@ void SbxBasicFormater::ScanFormatString( double dNumber,
case '%':
// maybe remove redundant 0s, e. g. 4.500e4 in 0.0##e-00
ParseBack( sReturnStrg, sFormatStrg, i-1 );
- sReturnStrg.insert(0,'%');
+ sReturnStrg.append('%');
break;
case 'e':
case 'E':