summaryrefslogtreecommitdiffstats
path: root/reportdesign/source/ui/report/ReportWindow.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-02-09 15:35:48 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-02-09 15:35:48 +0100
commit05e2a9183ccb47ed1a20df5e72c26353aed985eb (patch)
treec7149da41d3a2117bc718431c73432f5a58b5263 /reportdesign/source/ui/report/ReportWindow.cxx
parentautorecovery: allow for a human-readable DocumentServiceName instead of this ... (diff)
downloadcore-05e2a9183ccb47ed1a20df5e72c26353aed985eb.tar.gz
core-05e2a9183ccb47ed1a20df5e72c26353aed985eb.zip
autorecovery: do not hold another member pointing to m_pView, this is crash-prone in case of the base class deleting it (e.g. when initialization throws an exception)
Diffstat (limited to 'reportdesign/source/ui/report/ReportWindow.cxx')
-rw-r--r--reportdesign/source/ui/report/ReportWindow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/ReportWindow.cxx b/reportdesign/source/ui/report/ReportWindow.cxx
index 6668e192ceff..e0de0db10d9d 100644
--- a/reportdesign/source/ui/report/ReportWindow.cxx
+++ b/reportdesign/source/ui/report/ReportWindow.cxx
@@ -264,7 +264,7 @@ void OReportWindow::notifySizeChanged()
m_pParent->setTotalSize(GetTotalWidth(),GetTotalHeight());
}
//----------------------------------------------------------------------------
-BOOL OReportWindow::HasSelection()
+BOOL OReportWindow::HasSelection() const
{
return m_aViewsWindow.HasSelection();
}
@@ -287,7 +287,7 @@ void OReportWindow::Paste()
m_aViewsWindow.Paste();
}
//----------------------------------------------------------------------------
-BOOL OReportWindow::IsPasteAllowed()
+BOOL OReportWindow::IsPasteAllowed() const
{
return m_aViewsWindow.IsPasteAllowed();
}