diff options
author | Muthu Subramanian <sumuthu@collabora.com> | 2013-11-13 20:45:18 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@collabora.com> | 2013-11-13 20:58:30 +0530 |
commit | 5656393f02ddd501d60673b0686688156336f0ee (patch) | |
tree | 7e7e014ef495df04d235368592b01ee200f26c54 /sd/qa/unit/sdmodeltestbase.hxx | |
parent | 9694f8bc26fec366d518ce913a1a48b69fadf26c (diff) |
Add export unit test helper to testDocumentLayout.
Diffstat (limited to 'sd/qa/unit/sdmodeltestbase.hxx')
-rw-r--r-- | sd/qa/unit/sdmodeltestbase.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx index 6c05ffafc623..00b589284a5e 100644 --- a/sd/qa/unit/sdmodeltestbase.hxx +++ b/sd/qa/unit/sdmodeltestbase.hxx @@ -120,10 +120,10 @@ protected: return xDocShRef; } - ::sd::DrawDocShellRef saveAndReload( ::sd::DrawDocShell *pShell, sal_uLong nExportType ) + ::sd::DrawDocShellRef saveAndReload( ::sd::DrawDocShell *pShell, sal_Int32 nExportType ) { FileFormat *pFmt = &aFileFormats[0]; - if( nExportType < SAL_N_ELEMENTS( aFileFormats ) ) + if( ( (sal_uInt32) nExportType ) < SAL_N_ELEMENTS( aFileFormats ) ) pFmt = &aFileFormats[ nExportType ]; OUString aExt = OUString( "." ) + OUString::createFromAscii( pFmt->pName ); utl::TempFile aTempFile( OUString(), &aExt ); |