It's not very efficient, because we generally end up copying it twice -
once into the parameter and again into the destination OUString.
So I create a clang plugin that finds such places and generates a
warning so that we can convert them to pass-by-reference.
Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
...i.e., skip UnoApiTest::tearDown's dispose of mxDesktop and go directly to
BootstrapFixture::tearDown.
Change-Id: If4555c812cb42c4b76a36d4e59c1d96211915dba
There is no reason for the generic UnoApiTest to require Calc
specifically. Calc tests can/should instantiate a Calc instance.
We can create a CalcUnoApiTest for that that inherits from
UnoApiTest; however this does not seem necessary, "make sc.clean"
succeeds.
Anyway, the ScGlobals::ensure mentioned in the comment does not
seem to exist.
This allows us to eliminate some code duplication in tests
that were reimplementing UnoApiTest minus the Calc instantiation.
Change-Id: I37bea9df41e3960df0458fe689cf6c046a243617
Parsing the property values of master presentation objects.
Also new functions added to comphelper module for expanding
filepaths macro to appropriate system file paths(for
configuration files present at 'Impress.xcs')
Change-Id: If0381a12155673e85103ddb5d51c34ae53fe2ecb
...otherwise PresetHandler::getOrCreateRootStorageShare
(framework/source/accelerators/presethandler.cxx) will cause a
com.sun.star.io.IOException: "URL
"file:///.../solver/unxlngx6/unittest/user/config/soffice.cfg" passed to
css.embed.FileSystemStorageFactory.createInstanceWithArguments does not denote
an existing directory" in some CppunitTests. (And
1eecb8df22b77a6982601bf877067a685d913a7d "Some cleanup and consolidation of the
Impress layout work" removed the last file that got definitely created in that
directory from test/Package_unittest.mk.)
Change-Id: Idbe42fdd6b06194781cceef62c50531ce0e1c706
Deleting the "empty_directory" entries of "unittest/user/*" in 'Package_unittest.mk' and corresponding
files from the "test/user-template/*" directory.
Change-Id: Ia53a18bf7d55bfaba91f9bb8c2a15d3578e35e11
Changed the name of attributes from "title-shape-relative-height" to "relative-height" & all others.
Change-Id: I3010e8faf8a9bf347a7bec366449bbba77f0a69f
Added a new component of "unoxml/source/service/unoxml" in makefile of 'sd_uimpress'.
Also few changes in "drawdoc.cxx".Please ignore the changes of unit-test XML file,
it has to be deleted in subsequent commit.
Change-Id: I50eb516444820c8037aebc8859a322116989d3bf
Have added a 'if' conditional statement to know whether layout's child is a empty 'text' node or 'presobj' node.And proceed with rest of the
things ,if it is a 'presobj' node.Also the xml files are indented.
Change-Id: I676e710b86b1f50dbd861f2cb180bf9be839b867
Have added new "Slide Layouts" samples.So commented out the code related to existing slide layouts in "sdpage.cxx" and also added some code
for XML parsing of the new layouts.
Change-Id: I8f5fdcab5f2eb41e37fa522a7801b388cbfefed5
Added some changes in the "getRootElement" and new "layoutlist.xml" is added for "unit-test" module.
XML parser works perfectly in the installation,only the failure of "unit-test" is left to be solved.
Some refactoring related to "layoutlist.xml" will be updated soon.
Change-Id: If7ed3af40e9b6df26e20881728181eb6c82936d8
Updating the "getRootElement" function.So "layoutlist.xml" can be read from actual configuration path.
Change-Id: Iee636d32e629e935e46a18572646659780ae20e3