diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-20 10:32:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-20 10:32:21 +0100 |
commit | 1a1cc219cca2d5e23a924b207d0299b9f4f63c4a (patch) | |
tree | bb95dbf5267e5bfebde77e03a8a17e627404d810 /basctl | |
parent | 5e659c255518a632ee3e32b9711c730537976a5c (diff) |
#i101100# strict aliasing fixes
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index d8087fa89012..324d7d829153 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -1014,7 +1014,7 @@ void DlgEditor::Paste() Reference< beans::XPropertySet > xProps( xMSF, UNO_QUERY ); OSL_ASSERT( xProps.is() ); OSL_VERIFY( xProps->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("DefaultContext")) ) >>= xContext ); - ::xmlscript::importDialogModel( ::xmlscript::createInputStream( *((::rtl::ByteSequence*)(&DialogModelBytes)) ) , xClipDialogModel, xContext, m_xDocument ); + ::xmlscript::importDialogModel( ::xmlscript::createInputStream( rtl::ByteSequence(DialogModelBytes.getArray(), DialogModelBytes.getLength()) ) , xClipDialogModel, xContext, m_xDocument ); } // get control models from clipboard dialog model |