[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara
caolanm at redhat.com
Tue Sep 12 15:14:58 UTC 2017
vcl/unx/generic/printer/ppdparser.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit eed72e853d8800917ffd5cdc151e7103c49c9dac
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Sep 12 16:14:14 2017 +0100
no CPDParser under Android
Change-Id: I3cf6df721f89493a527a0b65b24354d3e6135c68
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx
index 26315920ac2d..4efe108f5e9b 100644
--- a/vcl/unx/generic/printer/ppdparser.cxx
+++ b/vcl/unx/generic/printer/ppdparser.cxx
@@ -50,6 +50,9 @@
#include <cups/cups.h>
#endif
+#include <config_dbus.h>
+#include <config_gio.h>
+
namespace psp
{
class PPDTranslator
@@ -575,7 +578,9 @@ const PPDParser* PPDParser::getParser( const OUString& rFile )
#endif
} else if ( rMgr.getType() == PrinterInfoManager::Type::CPD )
{
+#if ENABLE_DBUS && ENABLE_GIO
pNewParser = const_cast<PPDParser*>(static_cast<CPDManager&>(rMgr).createCPDParser( aFile ));
+#endif
}
}
if( pNewParser )
More information about the Libreoffice-commits
mailing list