Kaydet (Commit) e940e177 authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Markus Mohrhard

handle xlsx files correctly as well

Change-Id: I24d63386d158e130aeb340235d71eb05cbd679f4
üst 70c96dc1
......@@ -79,7 +79,7 @@ OUString ChartTest::getFileExtension( const OUString& aFileName )
void ChartTest::load( const OUString& aDir, const OUString& aName )
{
OUString extension = getFileExtension(aName);
if(extension == "ods")
if(extension == "ods" || extension == "xlsx")
{
maServiceName = "com.sun.star.sheet.SpreadsheetDocument";
}
......
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