Kaydet (Commit) 4cfb22aa authored tarafından Stephan Bergmann's avatar Stephan Bergmann

clang-cl loplugin: sc

Change-Id: I24d091174ab602ecf80c65ad75fd450e55cb01ac
Reviewed-on: https://gerrit.libreoffice.org/29856Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 480e84d8
......@@ -141,7 +141,9 @@ public:
void testCeilingFloorXLS();
void testCeilingFloorODS();
#if !defined _WIN32
void testRelativePaths();
#endif
void testSheetProtection();
void testPivotTableXLSX();
......@@ -151,7 +153,9 @@ public:
void testLinkedGraphicRT();
void testImageWithSpecialID();
#if !defined _WIN32
void testSupBookVirtualPath();
#endif
void testSheetLocalRangeNameXLS();
void testSheetTextBoxHyperlink();
void testFontSize();
......@@ -2622,6 +2626,7 @@ void ScExportTest::testCeilingFloorODS()
testCeilingFloor(FORMAT_ODS);
}
#if !defined _WIN32
void ScExportTest::testRelativePaths()
{
ScDocShellRef xDocSh = loadDoc("fdo79305.", FORMAT_ODS);
......@@ -2634,6 +2639,7 @@ void ScExportTest::testRelativePaths()
// make sure that the URL is relative
CPPUNIT_ASSERT(aURL.startsWith(".."));
}
#endif
namespace {
......@@ -3025,6 +3031,7 @@ void ScExportTest::tearDown()
test::BootstrapFixture::tearDown();
}
#if !defined _WIN32
void ScExportTest::testSupBookVirtualPath()
{
ScDocShellRef xShell = loadDoc("external-ref.", FORMAT_XLS);
......@@ -3041,6 +3048,7 @@ void ScExportTest::testSupBookVirtualPath()
xDocSh->DoClose();
}
#endif
void ScExportTest::testLinkedGraphicRT()
{
......
......@@ -2195,10 +2195,10 @@ bool ScDocShell::DdeSetData( const OUString& rItem,
if( aDdeTextFmt == "CSV" ||
aDdeTextFmt == "FCSV" )
aObj.SetSeparator( ',' );
return aObj.ImportData( rMimeType, rValue );
return ScImportExport::ImportData( rMimeType, rValue );
}
ScImportExport aObj( &aDocument, rItem );
return aObj.IsRef() && aObj.ImportData( rMimeType, rValue );
return aObj.IsRef() && ScImportExport::ImportData( rMimeType, rValue );
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment