summaryrefslogtreecommitdiffstats
path: root/src/qtofficeopenxml-1.patch
blob: 2312c9898a4d60999115842d07fa10d6601a4c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 57c93e64b512b24c1ca983a91c18c1e4bb158d2a Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Sat, 19 Mar 2016 15:37:43 +0100
Subject: [PATCH] fix typo/build failure


diff --git a/src/officeopenxml/sml/smlworkbook.cpp b/src/officeopenxml/sml/smlworkbook.cpp
index dfa8e13..74432db 100644
--- a/src/officeopenxml/sml/smlworkbook.cpp
+++ b/src/officeopenxml/sml/smlworkbook.cpp
@@ -37,7 +37,7 @@ QString Workbook::bookView(const QString &attribute) const
         return QString();
     if (!bookViews_raw[0].contains(attribute))
         return QString();
-    return bookViews_raw[0][attribute].toInt();
+    return bookViews_raw[0][attribute];
 }
 
 void Workbook::setBookView(const QString &attribute, const QString &val)
-- 
2.5.0