summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objserv.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 12:06:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 12:34:40 +0100
commit180f0791daa3d3f959f4f70b9f83012bcbf47a64 (patch)
treeae1509f2bfaa697ec613032c4f26fc4b0e841c60 /sfx2/source/doc/objserv.cxx
parent783ba49aa0cd068c7e3dacdd3c13e9c37cf52e22 (diff)
comphelper: Use appropriate OUString functions on string constants
Change-Id: Id1d5c3cf2f76dbb33606cec1c0f17d4a1f282247
Diffstat (limited to 'sfx2/source/doc/objserv.cxx')
-rw-r--r--sfx2/source/doc/objserv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 30e91648d882..7bc7712f822a 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -1421,7 +1421,7 @@ void SfxObjectShell::ImplSign( bool bScriptingContent )
bool bNoSig = false;
if ( IsModified() || !GetMedium() || GetMedium()->GetName().isEmpty()
- || (!aODFVersion.equals( ODFVER_012_TEXT ) && !bHasSign) )
+ || (aODFVersion != ODFVER_012_TEXT && !bHasSign) )
{
// the document might need saving ( new, modified or in ODF1.1 format without signature )