diff options
-rw-r--r-- | vcl/headless/svpdummies.cxx | 5 | ||||
-rw-r--r-- | vcl/headless/svpinst.cxx | 5 | ||||
-rw-r--r-- | vcl/inc/headless/svpdummies.hxx | 10 | ||||
-rw-r--r-- | vcl/inc/headless/svpinst.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/osx/salinst.h | 1 | ||||
-rw-r--r-- | vcl/inc/salimestatus.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/salinst.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/win/salinst.h | 1 | ||||
-rw-r--r-- | vcl/osx/salinst.cxx | 17 | ||||
-rw-r--r-- | vcl/source/app/salvtables.cxx | 5 | ||||
-rw-r--r-- | vcl/win/app/salinst.cxx | 17 |
11 files changed, 8 insertions, 61 deletions
diff --git a/vcl/headless/svpdummies.cxx b/vcl/headless/svpdummies.cxx index 0c1b8c3ebf66..1a3eefb0d23a 100644 --- a/vcl/headless/svpdummies.cxx +++ b/vcl/headless/svpdummies.cxx @@ -42,11 +42,6 @@ void SvpSalObject::SetPosSize( long, long, long, long ) {} void SvpSalObject::Show( bool ) {} const SystemEnvData* SvpSalObject::GetSystemData() const { return &m_aSystemChildData; } -// SalI18NImeStatus -SvpImeStatus::~SvpImeStatus() {} -bool SvpImeStatus::canToggle() { return false; } -void SvpImeStatus::toggle() {} - // SalSystem SvpSalSystem::~SvpSalSystem() {} diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx index 77b9ba580321..53072d6a3061 100644 --- a/vcl/headless/svpinst.cxx +++ b/vcl/headless/svpinst.cxx @@ -293,11 +293,6 @@ SalTimer* SvpSalInstance::CreateSalTimer() return new SvpSalTimer( this ); } -SalI18NImeStatus* SvpSalInstance::CreateI18NImeStatus() -{ - return new SvpImeStatus(); -} - SalSystem* SvpSalInstance::CreateSalSystem() { return new SvpSalSystem(); diff --git a/vcl/inc/headless/svpdummies.hxx b/vcl/inc/headless/svpdummies.hxx index e0625a36f560..688b6715242b 100644 --- a/vcl/inc/headless/svpdummies.hxx +++ b/vcl/inc/headless/svpdummies.hxx @@ -48,16 +48,6 @@ public: virtual const SystemEnvData* GetSystemData() const override; }; -class VCL_DLLPUBLIC SvpImeStatus : public SalI18NImeStatus -{ - public: - SvpImeStatus() {} - virtual ~SvpImeStatus(); - - virtual bool canToggle() override; - virtual void toggle() override; -}; - class VCL_DLLPUBLIC SvpSalSystem : public SalGenericSystem { public: diff --git a/vcl/inc/headless/svpinst.hxx b/vcl/inc/headless/svpinst.hxx index 7f241948a99f..f101bf1f22e6 100644 --- a/vcl/inc/headless/svpinst.hxx +++ b/vcl/inc/headless/svpinst.hxx @@ -147,8 +147,6 @@ public: // SalTimer virtual SalTimer* CreateSalTimer() override; - // SalI18NImeStatus - virtual SalI18NImeStatus* CreateI18NImeStatus() override; // SalSystem virtual SalSystem* CreateSalSystem() override; // SalBitmap diff --git a/vcl/inc/osx/salinst.h b/vcl/inc/osx/salinst.h index 805ce3a0f083..fbc43194c000 100644 --- a/vcl/inc/osx/salinst.h +++ b/vcl/inc/osx/salinst.h @@ -101,7 +101,6 @@ public: virtual void DeletePrinterQueueInfo( SalPrinterQueueInfo* pInfo ) override; virtual OUString GetDefaultPrinter() override; virtual SalTimer* CreateSalTimer() override; - virtual SalI18NImeStatus* CreateI18NImeStatus() override; virtual SalSystem* CreateSalSystem() override; virtual SalBitmap* CreateSalBitmap() override; virtual comphelper::SolarMutex* GetYieldMutex() override; diff --git a/vcl/inc/salimestatus.hxx b/vcl/inc/salimestatus.hxx index bf3488fd2511..1b97d5d48da1 100644 --- a/vcl/inc/salimestatus.hxx +++ b/vcl/inc/salimestatus.hxx @@ -30,8 +30,8 @@ public: // asks whether there is a status window available // to toggle into menubar - virtual bool canToggle() = 0; - virtual void toggle() = 0; + virtual bool canToggle() { return false; } + virtual void toggle() {} }; #endif diff --git a/vcl/inc/salinst.hxx b/vcl/inc/salinst.hxx index bd407234f1f7..da8b6dea8412 100644 --- a/vcl/inc/salinst.hxx +++ b/vcl/inc/salinst.hxx @@ -114,7 +114,7 @@ public: virtual SalTimer* CreateSalTimer() = 0; // SalI18NImeStatus virtual SalI18NImeStatus* - CreateI18NImeStatus() = 0; + CreateI18NImeStatus(); // SalSystem virtual SalSystem* CreateSalSystem() = 0; // SalBitmap diff --git a/vcl/inc/win/salinst.h b/vcl/inc/win/salinst.h index 23c0de7c9568..60e404baae82 100644 --- a/vcl/inc/win/salinst.h +++ b/vcl/inc/win/salinst.h @@ -56,7 +56,6 @@ public: virtual void DeletePrinterQueueInfo( SalPrinterQueueInfo* pInfo ) override; virtual OUString GetDefaultPrinter() override; virtual SalTimer* CreateSalTimer() override; - virtual SalI18NImeStatus* CreateI18NImeStatus() override; virtual SalSystem* CreateSalSystem() override; virtual SalBitmap* CreateSalBitmap() override; virtual comphelper::SolarMutex* GetYieldMutex() override; diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx index bff09a5d17a6..5cf383272536 100644 --- a/vcl/osx/salinst.cxx +++ b/vcl/osx/salinst.cxx @@ -991,23 +991,6 @@ OUString AquaSalInstance::getOSVersion() return aVersion; } -class MacImeStatus : public SalI18NImeStatus -{ -public: - MacImeStatus() {} - virtual ~MacImeStatus() {} - - // asks whether there is a status window available - // to toggle into menubar - virtual bool canToggle() override { return false; } - virtual void toggle() override {} -}; - -SalI18NImeStatus* AquaSalInstance::CreateI18NImeStatus() -{ - return new MacImeStatus(); -} - // YieldMutexReleaser YieldMutexReleaser::YieldMutexReleaser() : mnCount( 0 ) { diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 15ba4dc2cf49..3748eb2f5ce8 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -93,6 +93,11 @@ bool SalInstance::CallEventCallback( void* pEvent, int nBytes ) return m_pEventInst.is() && m_pEventInst->dispatchEvent( pEvent, nBytes ); } +SalI18NImeStatus* SalInstance::CreateI18NImeStatus() +{ + return new SalI18NImeStatus; +} + SalTimer::~SalTimer() { } diff --git a/vcl/win/app/salinst.cxx b/vcl/win/app/salinst.cxx index 906129fdfb29..de58bd9c63aa 100644 --- a/vcl/win/app/salinst.cxx +++ b/vcl/win/app/salinst.cxx @@ -1019,23 +1019,6 @@ SalBitmap* WinSalInstance::CreateSalBitmap() return new WinSalBitmap(); } -class WinImeStatus : public SalI18NImeStatus -{ - public: - WinImeStatus() {} - virtual ~WinImeStatus() {} - - // asks whether there is a status window available - // to toggle into menubar - virtual bool canToggle() { return false; } - virtual void toggle() {} -}; - -SalI18NImeStatus* WinSalInstance::CreateI18NImeStatus() -{ - return new WinImeStatus(); -} - const OUString& SalGetDesktopEnvironment() { static OUString aDesktopEnvironment( "Windows" ); |