diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-26 18:52:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-28 08:44:46 +0100 |
commit | 018b561aa456fc18858060ec2810df856f152ed3 (patch) | |
tree | 2f31b542e40b45f49b378bdd10766907b7cd400b /embeddedobj | |
parent | e5d211eb8ee90ce7ec5a9acca1caa707f0d55291 (diff) |
-Werror,-Wunused-function
Change-Id: I6103a8539c4d788fff1a7e3c3530a6ec7cd1f0c6
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/msole/oleembed.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx index aeb7e5148a35..6768940e68ab 100644 --- a/embeddedobj/source/msole/oleembed.cxx +++ b/embeddedobj/source/msole/oleembed.cxx @@ -674,6 +674,7 @@ sal_Int32 SAL_CALL OleEmbeddedObject::getCurrentState() namespace { +#ifndef WNT bool lcl_CopyStream(uno::Reference<io::XInputStream> xIn, uno::Reference<io::XOutputStream> xOut) { const sal_Int32 nChunkSize = 4096; @@ -688,6 +689,7 @@ namespace } while (nRead == nChunkSize); return nTotalRead != 0; } +#endif //Dump the objects content to a tempfile, just the "CONTENTS" stream if //there is one for non-compound documents, otherwise the whole content. |