summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-16 17:12:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-17 09:51:39 +0000
commitcc74d3ce73583d035b6793c485d0af95c12f7e61 (patch)
treea74a157532c0ef5c43e9dabd4e309528c11d5975 /vcl
parent0809f1ac5cdb6f983d8618f6737337f8011b4908 (diff)
fix debug=2 build
Change-Id: Id7c6db5c6cbefef427d9c2cc4bd210811b5a7991
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/wmf/enhwmf.cxx15
1 files changed, 1 insertions, 14 deletions
diff --git a/vcl/source/filter/wmf/enhwmf.cxx b/vcl/source/filter/wmf/enhwmf.cxx
index c06497bf54fb..b83a5cffcd47 100644
--- a/vcl/source/filter/wmf/enhwmf.cxx
+++ b/vcl/source/filter/wmf/enhwmf.cxx
@@ -236,19 +236,6 @@ static bool ImplReadRegion( PolyPolygon& rPolyPoly, SvStream& rSt, sal_uInt32 nL
return bOk;
}
-#if OSL_DEBUG_LEVEL > 1
-void dumpWords( SvStream& s, int i )
-{
- sal_uInt32 pos = s.Tell();
- sal_Int16 data;
- for( ; i > 0; i -- ) {
- s >> data;
- SAL_INFO("vcl.emf", "\t\t\tdata: " << std::hex << data << std::dec);
- }
- s.Seek (pos);
-};
-#endif
-
void EnhWMFReader::ReadEMFPlusComment(sal_uInt32 length, sal_Bool& bHaveDC)
{
if (!bEMFPlus) {
@@ -260,7 +247,7 @@ void EnhWMFReader::ReadEMFPlusComment(sal_uInt32 length, sal_Bool& bHaveDC)
pWMF->Seek(0);
SvFileStream file( OUString( "/tmp/emf-stream.emf" ), STREAM_WRITE | STREAM_TRUNC );
- *pWMF >> file;
+ pWMF->WriteStream(file);
file.Flush();
file.Close();