diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:34:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:34 +0100 |
commit | e5bd0f8b0a83f5c7f0f204adc081b102c765ca8e (patch) | |
tree | 751a73bbec4ee754df3ec7d3f9c9512829ab2ee9 /svx/source/unodraw/recoveryui.cxx | |
parent | 7c6aa647e83b4989fcaecd4a4d81361c06a3f3d4 (diff) |
svx: Use appropriate OUString functions on string constants
Change-Id: I54931168bfc18c9ce41babdcf535ebc1bcc72c5e
Diffstat (limited to 'svx/source/unodraw/recoveryui.cxx')
-rw-r--r-- | svx/source/unodraw/recoveryui.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/unodraw/recoveryui.cxx b/svx/source/unodraw/recoveryui.cxx index 425e9719f95d..c96fe65f0529 100644 --- a/svx/source/unodraw/recoveryui.cxx +++ b/svx/source/unodraw/recoveryui.cxx @@ -263,11 +263,11 @@ static bool delete_pending_crash() RecoveryUI::EJob RecoveryUI::impl_classifyJob(const css::util::URL& aURL) { m_eJob = RecoveryUI::E_JOB_UNKNOWN; - if (aURL.Protocol.equals(RECOVERY_CMDPART_PROTOCOL)) + if (aURL.Protocol == RECOVERY_CMDPART_PROTOCOL) { - if (aURL.Path.equals(RECOVERY_CMDPART_DO_EMERGENCY_SAVE)) + if (aURL.Path == RECOVERY_CMDPART_DO_EMERGENCY_SAVE) m_eJob = RecoveryUI::E_DO_EMERGENCY_SAVE; - else if (aURL.Path.equals(RECOVERY_CMDPART_DO_RECOVERY)) + else if (aURL.Path == RECOVERY_CMDPART_DO_RECOVERY) m_eJob = RecoveryUI::E_DO_RECOVERY; } |