diff options
author | David Tardon <dtardon@redhat.com> | 2015-04-29 13:48:06 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-04-29 13:48:36 +0200 |
commit | 59adad74084e9281887e3f78a225794f37b784d7 (patch) | |
tree | d9d17b35cc41688e84035d424c7f316ce57c37e8 /starmath | |
parent | f307a2c56cdc1babab43f24f8094df34dd0f99c6 (diff) |
error C2666: 'operator ==' : 2 overloads have similar conversions
Change-Id: I94b54586477ae0cad3b5351953cccffffecbf902
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/document.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index 1e41db81ea96..254677f3286a 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -506,7 +506,8 @@ SmCursor& SmDocShell::GetCursor(){ SmPrinterAccess::SmPrinterAccess( SmDocShell &rDocShell ) { - if ( 0 != (pPrinter = rDocShell.GetPrt()) ) + pPrinter = rDocShell.GetPrt(); + if ( pPrinter ) { pPrinter->Push( PushFlags::MAPMODE ); if ( SfxObjectCreateMode::EMBEDDED == rDocShell.GetCreateMode() ) |