summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/cellsh2.cxx')
-rw-r--r--sc/source/ui/view/cellsh2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index 187e5291d59e..e4fb7cce893d 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -956,7 +956,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
SvMemoryStream aStream;
aStream.SetStreamCharSet( RTL_TEXTENCODING_UNICODE );
ScImportExport::SetNoEndianSwap( aStream );
- aExport.ExportStream( aStream, OUString(), FORMAT_STRING );
+ aExport.ExportStream( aStream, OUString(), SotClipboardFormatId::STRING );
ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create();
OSL_ENSURE( pFact, "ScCellShell::ExecuteDB: SID_TEXT_TO_COLUMNS - pFact is null!" );
@@ -980,7 +980,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
aImport.SetApi( false );
aImport.SetImportBroadcast( true );
aStream.Seek( 0 );
- aImport.ImportStream( aStream, OUString(), FORMAT_STRING );
+ aImport.ImportStream( aStream, OUString(), SotClipboardFormatId::STRING );
pDocSh->GetUndoManager()->LeaveListAction();
}