summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-05 17:05:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-05 17:05:03 +0100
commit8da489aa9da47634c51010e49bb0844147169cfa (patch)
tree848112727232dc6ae17a371efb6fd6b1f57d61a5 /vcl
parent8b0287543d87659fd4bfde5edb6725ee5da5f80e (diff)
now we can ditch these unused methods
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/unx/i18n_status.hxx5
-rw-r--r--vcl/unx/generic/app/i18n_status.cxx36
2 files changed, 0 insertions, 41 deletions
diff --git a/vcl/inc/unx/i18n_status.hxx b/vcl/inc/unx/i18n_status.hxx
index 0b88d778e966..a35e1d669e9a 100644
--- a/vcl/inc/unx/i18n_status.hxx
+++ b/vcl/inc/unx/i18n_status.hxx
@@ -91,16 +91,11 @@ public:
SalFrame* getStatusFrame() const;
void setStatusText( const String& rText );
- String getStatusText() const;
enum ShowReason { focus, presentation, contextmap };
void show( bool bShow, ShowReason eReason );
const ::std::vector< ChoiceData >& getChoices() const { return m_aChoices; }
- void clearChoices();
- void addChoice( const String&, void* pData );
-
- void toTop() const;
// for SwitchIMCallback
void changeIM( const String& );
diff --git a/vcl/unx/generic/app/i18n_status.cxx b/vcl/unx/generic/app/i18n_status.cxx
index 8cae9d12eedd..f818f04b1ac7 100644
--- a/vcl/unx/generic/app/i18n_status.cxx
+++ b/vcl/unx/generic/app/i18n_status.cxx
@@ -638,42 +638,6 @@ void I18NStatus::changeIM( const String& rIM )
// --------------------------------------------------------------------------
-String I18NStatus::getStatusText() const
-{
- return m_pStatusWindow ? m_pStatusWindow->getText() : String();
-}
-
-// --------------------------------------------------------------------------
-
-void I18NStatus::clearChoices()
-{
- m_aChoices.clear();
-}
-
-// --------------------------------------------------------------------------
-
-void I18NStatus::addChoice( const String& rChoice, void* pData )
-{
- ChoiceData aData;
- aData.pData = pData;
- aData.aString = rChoice;
- m_aChoices.push_back( aData );
-}
-
-// --------------------------------------------------------------------------
-
-void I18NStatus::toTop() const
-{
- if( m_pStatusWindow )
- {
- const SystemEnvData* pData = m_pStatusWindow->GetSystemData();
- XRaiseWindow( (Display*)pData->pDisplay,
- (XLIB_Window)pData->aShellWindow );
- }
-}
-
-// --------------------------------------------------------------------------
-
SalFrame* I18NStatus::getStatusFrame() const
{
SalFrame* pRet = NULL;