summaryrefslogtreecommitdiff
path: root/sd/qa/unit/sdmodeltestbase.hxx
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@collabora.com>2013-11-13 20:45:18 +0530
committerMuthu Subramanian <sumuthu@collabora.com>2013-11-13 20:58:30 +0530
commit5656393f02ddd501d60673b0686688156336f0ee (patch)
tree7e7e014ef495df04d235368592b01ee200f26c54 /sd/qa/unit/sdmodeltestbase.hxx
parent9694f8bc26fec366d518ce913a1a48b69fadf26c (diff)
Add export unit test helper to testDocumentLayout.
Diffstat (limited to 'sd/qa/unit/sdmodeltestbase.hxx')
-rw-r--r--sd/qa/unit/sdmodeltestbase.hxx4
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 );