[Libreoffice-commits] core.git: sd/qa

Markus Mohrhard markus.mohrhard at collabora.co.uk
Thu Jul 17 06:55:43 PDT 2014


 sd/qa/unit/import-tests.cxx    |    2 +-
 sd/qa/unit/sdmodeltestbase.hxx |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 472e34d22f845734b886142bfcaadc69d6749e39
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Thu Jul 17 15:45:33 2014 +0200

    fix build failure
    
    Change-Id: I95af4c2750c01e3e48f6708306b25f774c29e592

diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index 6567f3d..51b5fcc 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -555,7 +555,7 @@ void SdFiltersTest::testBnc870237()
 
 void SdFiltersTest::testBnc887225()
 {
-    ::sd::DrawDocShellRef xDocShRef = loadURL( getURLFromSrc("/sd/qa/unit/data/pptx/bnc887225.pptx") );
+    ::sd::DrawDocShellRef xDocShRef = loadURL( getURLFromSrc("/sd/qa/unit/data/pptx/bnc887225.pptx"), PPTX );
     // In the document, lastRow and lastCol table properties are used.
     // Make sure styles are set properly for individual cells.
 
diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx
index c78c980..20cdacc 100644
--- a/sd/qa/unit/sdmodeltestbase.hxx
+++ b/sd/qa/unit/sdmodeltestbase.hxx
@@ -168,7 +168,6 @@ protected:
     sd::DrawDocShellRef saveAndReload(sd::DrawDocShell *pShell, sal_Int32 nExportType)
     {
         FileFormat* pFormat = getFormat(nExportType);
-        OUString aExt = OUString( "." ) + OUString::createFromAscii(pFormat->pName);
         utl::TempFile aTempFile;
         aTempFile.EnableKillingFile();
         save(pShell, pFormat, aTempFile);


More information about the Libreoffice-commits mailing list