summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-11 08:42:49 +0200
committerNoel Grandin <noel@peralex.com>2015-08-11 09:48:18 +0200
commit286dfc2a720ea8bd6b26c10126202fa25a112e0f (patch)
tree4b179846f09fa0be53f9cd6e078b7d0b79b92392 /unotools
parent3553a5d3a899954c4db09e264d8faf07e817e564 (diff)
loplugin: defaultparams
Change-Id: I50ba6a836473961d952ed88e56532501469c5368
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/ucbhelper/ucbhelper.cxx2
-rw-r--r--unotools/source/ucbhelper/xtempfile.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx
index 1cb9ad65b58c..98c30d0f5fa6 100644
--- a/unotools/source/ucbhelper/ucbhelper.cxx
+++ b/unotools/source/ucbhelper/ucbhelper.cxx
@@ -88,7 +88,7 @@ std::vector<OUString> getContents(OUString const & url) {
css::uno::Sequence<OUString> args(1);
args[0] = "Title";
css::uno::Reference<css::sdbc::XResultSet> res(
- c.createCursor(args, ucbhelper::INCLUDE_FOLDERS_AND_DOCUMENTS),
+ c.createCursor(args),
css::uno::UNO_SET_THROW);
css::uno::Reference<com::sun::star::ucb::XContentAccess> acc(
res, css::uno::UNO_QUERY_THROW);
diff --git a/unotools/source/ucbhelper/xtempfile.cxx b/unotools/source/ucbhelper/xtempfile.cxx
index a56347fed794..0ec6f47ae0fd 100644
--- a/unotools/source/ucbhelper/xtempfile.cxx
+++ b/unotools/source/ucbhelper/xtempfile.cxx
@@ -39,7 +39,7 @@ OTempFileService::OTempFileService(css::uno::Reference< css::uno::XComponentCont
{
mpTempFile = new ::utl::TempFile;
- mpTempFile->EnableKillingFile ( true );
+ mpTempFile->EnableKillingFile();
}
OTempFileService::~OTempFileService ()