diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-29 08:47:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-29 08:47:21 +0200 |
commit | d7bd8f6f359872141f7239725359b6ffd4e7bc2b (patch) | |
tree | 337ed3c01740ec7fe22df581b6ca25ae9d10984b /starmath | |
parent | c6698856716303217dea5d5233d32dd9f8a79763 (diff) |
avoid ambiguity
Change-Id: Iaccb07e1060ea2f3aa611170895da3e72bf6fefd
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/document.hxx | 2 |
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 * ); |