summaryrefslogtreecommitdiff
path: root/vcl/source/uitest/logger.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/uitest/logger.cxx')
-rw-r--r--vcl/source/uitest/logger.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/uitest/logger.cxx b/vcl/source/uitest/logger.cxx
index cf63dd6ca70b..724b38c70a5b 100644
--- a/vcl/source/uitest/logger.cxx
+++ b/vcl/source/uitest/logger.cxx
@@ -259,12 +259,12 @@ void UITestLogger::logKeyInput(VclPtr<vcl::Window> const & xUIElement, const Key
OUString aContent;
if(pUIObject->get_type()=="EditUIObject"){
- if(aParentID=="")
+ if( aParentID.isEmpty() )
{
VclPtr <vcl::Window> pParent_top = get_top_parent(xUIElement);
aParentID= pParent_top->get_id();
}
- if(aParentID==""){
+ if( aParentID.isEmpty() ){
aContent = aContent+"Type on '" + rID + "' " + aKeyCode;
}
else{
@@ -287,12 +287,12 @@ void UITestLogger::logKeyInput(VclPtr<vcl::Window> const & xUIElement, const Key
aContent = "Type on draw " + aKeyCode ;
}
else{
- if(aParentID=="")
+ if( aParentID.isEmpty() )
{
VclPtr <vcl::Window> pParent_top = get_top_parent(xUIElement);
aParentID= pParent_top->get_id();
}
- if(aParentID==""){
+ if(aParentID.isEmpty() ){
aContent = "Type on '" + rID + "' " + aKeyCode ;
}
else{
@@ -362,7 +362,7 @@ void UITestLogger::logEvent(const EventDescription& rDescription)
else if(rDescription.aAction=="SIDEBAR"){
aLogLine = "From SIDEBAR Choose " + aParameterString;
}
- else if(rDescription.aAction=="SELECT" && rDescription.aID==""){
+ else if(rDescription.aAction=="SELECT" && rDescription.aID.isEmpty() ){
aLogLine = "Select " + aParameterString;
}
else if(rDescription.aID=="writer_edit"){