summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/pdfwriter_impl.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-09 11:41:55 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-09 11:41:55 +0200
commit43d7d0684af0df1d5bde69d361365e786bf249bf (patch)
treea338c148d6eb4908b43d2428cea8eb924d06b2cf /vcl/source/gdi/pdfwriter_impl.cxx
parent91594e7fd5f8f36fe5c99c8d04b3473e370fa365 (diff)
PDFWriterImpl::createControl: -Werror=maybe-uninitialized
Acutually this one is spurious, gcc 4.7.0 is too dumb here. Change-Id: I964f0278d19d31bab9859b047dfb8d3661a34958
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl.cxx')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index f63a33917105..7c7db5733f18 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -11735,7 +11735,7 @@ sal_Int32 PDFWriterImpl::createControl( const PDFWriter::AnyWidget& rControl, sa
if( nPageNr < 0 || nPageNr >= (sal_Int32)m_aPages.size() )
return -1;
- bool sigHidden;
+ bool sigHidden(false);
sal_Int32 nNewWidget = m_aWidgets.size();
m_aWidgets.push_back( PDFWidget() );