diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-04-03 22:25:19 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-05 06:25:39 +0000 |
commit | db43ef00c12bc0f7fefd6d028c9a2ed8f771cd47 (patch) | |
tree | 62f08a44e99513251324f8972d257d8fd3be2b2c /basctl | |
parent | sequence->vector in writerfilter (diff) | |
download | core-db43ef00c12bc0f7fefd6d028c9a2ed8f771cd47.tar.gz core-db43ef00c12bc0f7fefd6d028c9a2ed8f771cd47.zip |
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.cxx | 3 |
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 |