summaryrefslogtreecommitdiff
path: root/libcmis/libcmis-0.3.0-win.patch
blob: e9110d286023b346276abf9ee277ebb0b707116d (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
diff --git src/libcmis/ws-objectservice.cxx src/libcmis/ws-objectservice.cxx
index df624de..5134d8e 100644
--- src/libcmis/ws-objectservice.cxx
+++ src/libcmis/ws-objectservice.cxx
@@ -119,7 +119,7 @@ libcmis::ObjectPtr ObjectService::updateProperties(
 
 void ObjectService::deleteObject( string repoId, string id, bool allVersions ) throw ( libcmis::Exception )
 {
-    DeleteObject request( repoId, id, allVersions );
+    class DeleteObject request( repoId, id, allVersions );
     m_session->soapRequest( m_url, request );
 }
         
diff --git src/libcmis/ws-requests.hxx src/libcmis/ws-requests.hxx
index 88fe5b9..6de94b8 100644
--- src/libcmis/ws-requests.hxx
+++ src/libcmis/ws-requests.hxx
@@ -202,6 +202,7 @@ class GetTypeChildrenResponse : public SoapResponse
         std::vector< libcmis::ObjectTypePtr > getChildren( ) { return m_children; }
 };
 
+#undef GetObject
 class GetObject : public SoapRequest
 {
     private: