summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-29 08:47:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-29 08:47:21 +0200
commitd7bd8f6f359872141f7239725359b6ffd4e7bc2b (patch)
tree337ed3c01740ec7fe22df581b6ca25ae9d10984b /starmath
parentc6698856716303217dea5d5233d32dd9f8a79763 (diff)
avoid ambiguity
Change-Id: Iaccb07e1060ea2f3aa611170895da3e72bf6fefd
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/document.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index f12060490778..faa52b878313 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -173,7 +173,7 @@ public:
//Access for the View. This access is not for the OLE-case!
//and for the communication with the SFX!
//All internal printer uses should work with the SmPrinterAccess only
- bool HasPrinter() { return 0 != pPrinter; }
+ bool HasPrinter() { return pPrinter != nullptr; }
SfxPrinter *GetPrinter() { GetPrt(); return pPrinter; }
void SetPrinter( SfxPrinter * );