summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-03-26 23:34:04 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-03-26 23:58:43 +0100
commite940e177af57de12211d00049f773bcbf9bffe7d (patch)
tree43395e98634acf0c6963eee69235fe55b7655876 /chart2
parent70c96dc14784aab5a209f7f5b0021540ab74c502 (diff)
handle xlsx files correctly as well
Change-Id: I24d63386d158e130aeb340235d71eb05cbd679f4
Diffstat (limited to 'chart2')
-rw-r--r--chart2/qa/extras/charttest.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/qa/extras/charttest.hxx b/chart2/qa/extras/charttest.hxx
index a659945b3222..e1ce5a5c5aae 100644
--- a/chart2/qa/extras/charttest.hxx
+++ b/chart2/qa/extras/charttest.hxx
@@ -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";
}