summaryrefslogtreecommitdiff
path: root/external/libmwaw/0001-fix-build-with-MSVC.patch.1
blob: 881fb92752face950f01f372606d34ebb77b86d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 3d7479236e565c974a1f6e04d6cd1139bca5cb58 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Tue, 31 Jan 2017 14:49:05 +0100
Subject: [PATCH] fix build with MSVC

---
 src/lib/PowerPoint1Parser.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/PowerPoint1Parser.cxx b/src/lib/PowerPoint1Parser.cxx
index 2f735dc..e57eb65 100644
--- a/src/lib/PowerPoint1Parser.cxx
+++ b/src/lib/PowerPoint1Parser.cxx
@@ -807,7 +807,7 @@ bool PowerPoint1Parser::readFramesList(MWAWEntry const &entry, std::vector<Power
         if (schemeId>=0 && !getColor(col, schemeId, colors[i])) f << "##col,";
         if (col!=expected[i]) f << "col" << i << "=" << col << ",";
       }
-      if (!isMacFile) std::swap<MWAWColor>(colors[1],colors[3]);
+      if (!isMacFile) std::swap(colors[1],colors[3]);
     }
     MWAWGraphicStyle &style=frame.m_style;
     val=int(input->readULong(1));
-- 
2.9.3