summaryrefslogtreecommitdiff
path: root/include/svx/sdr/contact
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-30 16:00:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-11-30 16:44:47 +0100
commit6ddefb080b12f54f84a8de44347a9b1816972ad3 (patch)
tree48a7377f65b6ec0d0789b6a4e9903c367dad726a /include/svx/sdr/contact
parent3566bf146e5ad329432b48351d14b012cb5ea538 (diff)
Let getPageViewOutputDevice return const OutputDevice*
...instead of boost::optional<const OutputDevice&> (in preparation for replacing boost::optional with std::optional, which doesn't support references types as template arguments) Change-Id: I02d2b617123cfa9ca0d6436c8a4104c5987f4eb5 Reviewed-on: https://gerrit.libreoffice.org/84121 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/svx/sdr/contact')
-rw-r--r--include/svx/sdr/contact/viewobjectcontactofsdrobj.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/svx/sdr/contact/viewobjectcontactofsdrobj.hxx b/include/svx/sdr/contact/viewobjectcontactofsdrobj.hxx
index cb7773c716f3..44296b96cf1c 100644
--- a/include/svx/sdr/contact/viewobjectcontactofsdrobj.hxx
+++ b/include/svx/sdr/contact/viewobjectcontactofsdrobj.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_SVX_SDR_CONTACT_VIEWOBJECTCONTACTOFSDROBJ_HXX
#include <svx/sdr/contact/viewobjectcontact.hxx>
-#include <boost/optional.hpp>
class SdrObject;
class SdrLayerIDSet;
@@ -56,7 +55,7 @@ public:
This method cares for this, by retrieving the very original OutputDevice.
*/
- boost::optional<const OutputDevice&> getPageViewOutputDevice() const;
+ const OutputDevice* getPageViewOutputDevice() const;
};
}}