summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/impex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/impex.cxx')
-rw-r--r--sc/source/ui/docshell/impex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx
index f136d1a3147b..ca4a6ef912a1 100644
--- a/sc/source/ui/docshell/impex.cxx
+++ b/sc/source/ui/docshell/impex.cxx
@@ -323,7 +323,7 @@ bool ScImportExport::ExportString( OUString& rText, sal_uLong nFmt )
rText = OUString( (const sal_Unicode*) aStrm.GetData() );
return true;
}
- rText = OUString();
+ rText.clear();
return false;
// ExportStream must handle RTL_TEXTENCODING_UNICODE
@@ -352,7 +352,7 @@ bool ScImportExport::ExportByteString( OString& rText, rtl_TextEncoding eEnc, sa
return true;
}
}
- rText = OString();
+ rText.clear();
return false;
}