From 0f644656af1a184d95b6227853ffcdfd66b62b42 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 28 Sep 2011 14:01:47 +0300 Subject: WaE: declared with greater visibility than the type of its field To be specific, 'vcl::PageSyncData' declared with greater visibility than the type of its field 'vcl::PageSyncData::mActions' Adding a SAL_DLLPRIVATE to the PageSyncData struct, too, then. Warning was emitted by g++ 4.2.1 against the MacOSX 10.6 SDK. --- vcl/source/gdi/pdfextoutdevdata.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx b/vcl/source/gdi/pdfextoutdevdata.cxx index 868163d5ded8..99326c213840 100644 --- a/vcl/source/gdi/pdfextoutdevdata.cxx +++ b/vcl/source/gdi/pdfextoutdevdata.cxx @@ -298,7 +298,7 @@ void GlobalSyncData::PlayGlobalActions( PDFWriter& rWriter ) } } -struct PageSyncData +struct SAL_DLLPRIVATE PageSyncData { std::deque< PDFExtOutDevDataSync > mActions; std::deque< Rectangle > mParaRects; -- cgit