[Libreoffice-commits] core.git: Branch 'feature/kde5' - vcl/unx

Katarina Behrens Katarina.Behrens at cib.de
Wed Sep 27 15:02:16 UTC 2017


 vcl/unx/kde5/KDE5SalInstance.cxx |    8 ++++----
 vcl/unx/kde5/KDE5SalInstance.hxx |    6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 928c505f5bf5cab7d9b23ece2a520a861727ae20
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date:   Wed Sep 27 17:00:58 2017 +0200

    Convert KDE5SalInstance to SvpSalInstance
    
    Change-Id: I72da846525128a689d92598b64e6a70062ff1c69

diff --git a/vcl/unx/kde5/KDE5SalInstance.cxx b/vcl/unx/kde5/KDE5SalInstance.cxx
index b8d3471a44c6..38629113295c 100644
--- a/vcl/unx/kde5/KDE5SalInstance.cxx
+++ b/vcl/unx/kde5/KDE5SalInstance.cxx
@@ -34,7 +34,7 @@
 using namespace com::sun::star;
 
 KDE5SalInstance::KDE5SalInstance(SalYieldMutex* pMutex)
-    : X11SalInstance(pMutex)
+    :SvpSalInstance( pMutex )
 {
     ImplSVData* pSVData = ImplGetSVData();
     delete pSVData->maAppData.mpToolkitName;
@@ -54,13 +54,13 @@ uno::Reference< ui::dialogs::XFilePicker2 > KDE5SalInstance::createFilePicker(
         return uno::Reference< ui::dialogs::XFilePicker2 >(
             kdeXLib->createFilePicker(xMSF) );
     else*/
-        return X11SalInstance::createFilePicker( xMSF );
+        return SalInstance::createFilePicker( xMSF );
 }
 
-SalX11Display* KDE5SalInstance::CreateDisplay() const
+/*SalX11Display* KDE5SalInstance::CreateDisplay() const
 {
     return new SalKDE5Display( QX11Info::display() );
-}
+}*/
 
 bool KDE5SalInstance::IsMainThread() const
 {
diff --git a/vcl/unx/kde5/KDE5SalInstance.hxx b/vcl/unx/kde5/KDE5SalInstance.hxx
index 233d6fd7430b..5c0247518246 100644
--- a/vcl/unx/kde5/KDE5SalInstance.hxx
+++ b/vcl/unx/kde5/KDE5SalInstance.hxx
@@ -19,15 +19,15 @@
 
 #pragma once
 
-#include <unx/salinst.h>
+#include <headless/svpinst.hxx>
 
 class SalYieldMutex;
 class SalFrame;
 
-class KDE5SalInstance : public X11SalInstance
+class KDE5SalInstance : public SvpSalInstance
 {
 protected:
-    virtual SalX11Display* CreateDisplay() const override;
+//    virtual SalX11Display* CreateDisplay() const override;
 
 public:
     explicit KDE5SalInstance(SalYieldMutex* pMutex);


More information about the Libreoffice-commits mailing list