diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/ucbcmds.cxx | 8 |
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, |