summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-04-03 22:25:19 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-05 06:25:39 +0000
commitdb43ef00c12bc0f7fefd6d028c9a2ed8f771cd47 (patch)
tree62f08a44e99513251324f8972d257d8fd3be2b2c /basctl
parente72c80c01629798a93948d4419f109ac324de4ef (diff)
sequence->vector in xmlscript
Change-Id: I4f99cd9dc659f54bd4818559dd3e0dbce1e8f5d4 Reviewed-on: https://gerrit.libreoffice.org/23795 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/dlged.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx
index 24ab996db5a0..5ecdd24babd7 100644
--- a/basctl/source/dlged/dlged.cxx
+++ b/basctl/source/dlged/dlged.cxx
@@ -900,7 +900,8 @@ void DlgEditor::Paste()
if ( xClipDialogModel.is() )
{
- ::xmlscript::importDialogModel( ::xmlscript::createInputStream( rtl::ByteSequence(DialogModelBytes.getArray(), DialogModelBytes.getLength()) ) , xClipDialogModel, xContext, m_xDocument );
+ Reference<XInputStream> xIn = ::xmlscript::createInputStream( DialogModelBytes.getConstArray(), DialogModelBytes.getLength() );
+ ::xmlscript::importDialogModel( xIn , xClipDialogModel, xContext, m_xDocument );
}
// get control models from clipboard dialog model