diff options
Diffstat (limited to 'vcl/unx/gtk/app/gtkinst.cxx')
-rw-r--r-- | vcl/unx/gtk/app/gtkinst.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/gtk/app/gtkinst.cxx b/vcl/unx/gtk/app/gtkinst.cxx index 99efa229bd3e..e26e16158a48 100644 --- a/vcl/unx/gtk/app/gtkinst.cxx +++ b/vcl/unx/gtk/app/gtkinst.cxx @@ -450,12 +450,12 @@ GenPspGraphics *GtkInstance::CreatePrintGraphics() return new GenPspGraphics(); } -boost::shared_ptr<vcl::unx::GtkPrintWrapper> +std::shared_ptr<vcl::unx::GtkPrintWrapper> GtkInstance::getPrintWrapper() const { - if (!m_pPrintWrapper) - m_pPrintWrapper.reset(new vcl::unx::GtkPrintWrapper); - return m_pPrintWrapper; + if (!m_xPrintWrapper) + m_xPrintWrapper.reset(new vcl::unx::GtkPrintWrapper); + return m_xPrintWrapper; } #if GTK_CHECK_VERSION(3,0,0) |