summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/graphhelp.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-14 22:21:23 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-14 22:35:51 +0200
commit057d59533695f3a283c0a4427813d76a27798a20 (patch)
tree4cbe207228cf238027225a1692e1bfee41898c13 /sfx2/source/doc/graphhelp.cxx
parentc12998c9d342b36d255e03c792fa737d49d4371b (diff)
warning C4305: 'argument' : truncation from 'const rtl::OUString *'
...to 'bool' Change-Id: If2b2b1bf27b8e241be131c3ac63c79f8211f47d9
Diffstat (limited to 'sfx2/source/doc/graphhelp.cxx')
-rw-r--r--sfx2/source/doc/graphhelp.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sfx2/source/doc/graphhelp.cxx b/sfx2/source/doc/graphhelp.cxx
index d0c9db6c785b..c2aa20425896 100644
--- a/sfx2/source/doc/graphhelp.cxx
+++ b/sfx2/source/doc/graphhelp.cxx
@@ -84,10 +84,7 @@ void* GraphicHelper::getEnhMetaFileFromGDI_Impl( const GDIMetaFile* pGDIMeta )
if ( pGDIMeta )
{
OUString const aStr(".emf");
- ::utl::TempFile aTempFile( OUString(),
- &aStr,
- NULL,
- sal_False );
+ ::utl::TempFile aTempFile( OUString(), true, &aStr );
OUString aMetaFile = aTempFile.GetFileName();
OUString aMetaURL = aTempFile.GetURL();