Kaydet (Commit) 7b2367f8 authored tarafından Caolán McNamara's avatar Caolán McNamara

misspell some words, copy and paste slide to gimp

and we don't want to see the mis-spelt underlines

Change-Id: Ib3ae29297a1697e0f7b0caa816504da7edf721d1
üst 81802cfa
......@@ -518,13 +518,27 @@ bool SdTransferable::GetData( const DataFlavor& rFlavor, const OUString& rDestDo
}
else if( nFormat == SotClipboardFormatId::GDIMETAFILE )
{
if( mpSdViewIntern )
if (mpSdViewIntern)
{
const bool bToggleOnlineSpell = mpSdDrawDocumentIntern && mpSdDrawDocumentIntern->GetOnlineSpell();
if (bToggleOnlineSpell)
mpSdDrawDocumentIntern->SetOnlineSpell(false);
bOK = SetGDIMetaFile( mpSdViewIntern->GetMarkedObjMetaFile( true ), rFlavor );
if (bToggleOnlineSpell)
mpSdDrawDocumentIntern->SetOnlineSpell(true);
}
}
else if( SotClipboardFormatId::BITMAP == nFormat || SotClipboardFormatId::PNG == nFormat )
{
if( mpSdViewIntern )
if (mpSdViewIntern)
{
const bool bToggleOnlineSpell = mpSdDrawDocumentIntern && mpSdDrawDocumentIntern->GetOnlineSpell();
if (bToggleOnlineSpell)
mpSdDrawDocumentIntern->SetOnlineSpell(false);
bOK = SetBitmapEx( mpSdViewIntern->GetMarkedObjBitmapEx(true), rFlavor );
if (bToggleOnlineSpell)
mpSdDrawDocumentIntern->SetOnlineSpell(true);
}
}
else if( ( nFormat == SotClipboardFormatId::STRING ) && mpBookmark )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment