summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorJennifer Liebel <jliebel94@gmail.com>2015-01-14 09:25:30 +0000
committerTobias Madl <tobias.madl.dev@gmail.com>2015-03-06 12:27:06 +0000
commit49524c6dcf04b9dadef8d2b084cf26abcf70b8a9 (patch)
tree88702970cd6437b0e1e25ef15e46a58b696b1eb7 /svtools
parent826143684d2697a8620373dce18fa5f24332d5cb (diff)
idle includes and enum use
Change-Id: I8a280c54d81c7da74c9ab03ff3fc788e373ca4e4
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/imivctl1.cxx1
-rw-r--r--svtools/source/contnr/treelistbox.cxx2
-rw-r--r--svtools/source/control/asynclink.cxx3
-rw-r--r--svtools/source/control/tabbar.cxx2
-rw-r--r--svtools/source/dialogs/wizdlg.cxx2
5 files changed, 6 insertions, 4 deletions
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index da10fb70dc04..002a9a09d1ed 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -37,6 +37,7 @@
#include <algorithm>
#include <boost/scoped_ptr.hpp>
+#include <vcl/idle.hxx>
#define IMPICNVIEW_ACC_RETURN 1
#define IMPICNVIEW_ACC_ESCAPE 2
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index f726a6a8fd80..3f7909caaf82 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -233,7 +233,7 @@ void SvInplaceEdit2::LoseFocus()
)
{
bCanceled = false;
- aIdle.SetPriority(VCL_IDLE_PRIORITY_REPAINT);
+ aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_REPAINT);
aIdle.SetIdleHdl(LINK(this,SvInplaceEdit2,Timeout_Impl));
aIdle.Start();
}
diff --git a/svtools/source/control/asynclink.cxx b/svtools/source/control/asynclink.cxx
index ca745b2bbe55..bf7b0c9ed304 100644
--- a/svtools/source/control/asynclink.cxx
+++ b/svtools/source/control/asynclink.cxx
@@ -22,6 +22,7 @@
#include <osl/mutex.hxx>
#include <tools/debug.hxx>
#include <vcl/timer.hxx>
+#include <vcl/idle.hxx>
#include <vcl/svapp.hxx>
@@ -54,7 +55,7 @@ bAllowDoubles
if( !_pIdle )
{
_pIdle = new Idle;
- _pIdle->SetPriority( VCL_IDLE_PRIORITY_HIGHEST );
+ _pIdle->SetPriority( IdlePriority::VCL_IDLE_PRIORITY_HIGHEST );
_pIdle->SetIdleHdl( STATIC_LINK(
this, AsynchronLink, HandleCall) );
}
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index 216e27ffe3a6..c40200928bcf 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -322,7 +322,7 @@ IMPL_LINK( TabBarEdit, ImplEndEditHdl, void*, pCancel )
// when it shows the context menu or the insert symbol dialog
if ( !HasFocus() && HasChildPathFocus( true ) )
{
- maLoseFocusIdle.SetPriority( VCL_IDLE_PRIORITY_REPAINT );
+ maLoseFocusIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_REPAINT );
maLoseFocusIdle.SetIdleHdl( LINK( this, TabBarEdit, ImplEndTimerHdl ) );
maLoseFocusIdle.Start();
}
diff --git a/svtools/source/dialogs/wizdlg.cxx b/svtools/source/dialogs/wizdlg.cxx
index eb2e62d0cd0e..aab754685bbb 100644
--- a/svtools/source/dialogs/wizdlg.cxx
+++ b/svtools/source/dialogs/wizdlg.cxx
@@ -61,7 +61,7 @@ void WizardDialog::ImplInitData()
mbEmptyViewMargin = false;
mnLeftAlignCount = 0;
- maWizardLayoutIdle.SetPriority(VCL_IDLE_PRIORITY_RESIZE);
+ maWizardLayoutIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_RESIZE);
maWizardLayoutIdle.SetIdleHdl( LINK( this, WizardDialog, ImplHandleWizardLayoutTimerHdl ) );
}