From 2d5ba868d16661221075b4fc919174ab97dbfb80 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 8 Oct 2013 13:57:21 +0200 Subject: convert sw/source/ui/inc/uno*.hxx from String to OUString Change-Id: I7f6b4a29655390356aef9c6045590ee00c0fed4f --- sw/source/ui/uno/unomailmerge.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/ui/uno/unomailmerge.cxx') diff --git a/sw/source/ui/uno/unomailmerge.cxx b/sw/source/ui/uno/unomailmerge.cxx index e601f2478253..d4f43204ca71 100644 --- a/sw/source/ui/uno/unomailmerge.cxx +++ b/sw/source/ui/uno/unomailmerge.cxx @@ -402,7 +402,7 @@ SwXMailMerge::SwXMailMerge() : SwXMailMerge::~SwXMailMerge() { - if (aTmpFileName.Len()) + if (!aTmpFileName.isEmpty()) DeleteTmpFile_Impl( xModel, xDocSh, aTmpFileName ); else // there was no temporary file in use { @@ -788,7 +788,7 @@ uno::Any SAL_CALL SwXMailMerge::execute( if ( xCurModel.get() != xModel.get() ) { // in case it was a temporary model -> close it, and delete the file DeleteTmpFile_Impl( xCurModel, xCurDocSh, aTmpFileName ); - aTmpFileName.Erase(); + aTmpFileName = ""; } // (in case it wasn't a temporary model, it will be closed in the dtor, at the latest) -- cgit