summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-10 15:55:31 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-10 20:27:43 +0100
commit95e12eaebc00be5385e0abef2c5e70b7729af6f4 (patch)
tree980b94df68d575bb27f3b28ae38723279b57c43a /ucb
parent9531f83cc73e26ce766713e575eb14152d118018 (diff)
cid#1545789 COPY_INSTEAD_OF_MOVE
and cid#1545791 COPY_INSTEAD_OF_MOVE cid#1545800 COPY_INSTEAD_OF_MOVE cid#1545806 COPY_INSTEAD_OF_MOVE cid#1545817 COPY_INSTEAD_OF_MOVE cid#1545832 COPY_INSTEAD_OF_MOVE cid#1545834 COPY_INSTEAD_OF_MOVE cid#1545841 COPY_INSTEAD_OF_MOVE cid#1545848 COPY_INSTEAD_OF_MOVE cid#1545852 COPY_INSTEAD_OF_MOVE cid#1545854 COPY_INSTEAD_OF_MOVE cid#1545864 COPY_INSTEAD_OF_MOVE cid#1545875 COPY_INSTEAD_OF_MOVE cid#1545882 COPY_INSTEAD_OF_MOVE cid#1545900 COPY_INSTEAD_OF_MOVE cid#1545901 COPY_INSTEAD_OF_MOVE cid#1545908 COPY_INSTEAD_OF_MOVE cid#1545921 COPY_INSTEAD_OF_MOVE cid#1546054 COPY_INSTEAD_OF_MOVE cid#1546145 COPY_INSTEAD_OF_MOVE cid#1546146 COPY_INSTEAD_OF_MOVE Change-Id: I8b23d0457cb293aa0e33593131224c1cdd1d8eb1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160545 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/core/ucbcmds.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx
index c8a102b9c1b2..5bcfb1f99ff9 100644
--- a/ucb/source/core/ucbcmds.cxx
+++ b/ucb/source/core/ucbcmds.cxx
@@ -886,15 +886,13 @@ uno::Reference< sdbc::XResultSet > getResultSet(
{
uno::Reference< sdbc::XResultSet > xResultSet;
- uno::Sequence< beans::Property > aProps{ makeProperty("IsFolder", -1 /* unknown */),
- makeProperty("IsDocument", -1 /* unknown */),
- makeProperty("TargetURL", -1 /* unknown */) };
-
ucb::OpenCommandArgument2 aArg;
aArg.Mode = ucb::OpenMode::ALL;
aArg.Priority = 0; // unused
aArg.Sink = nullptr;
- aArg.Properties = aProps;
+ aArg.Properties = { makeProperty("IsFolder", -1 /* unknown */),
+ makeProperty("IsDocument", -1 /* unknown */),
+ makeProperty("TargetURL", -1 /* unknown */) };
ucb::Command aOpenCommand( "open",
-1,