Kaydet (Commit) a32eabb6 authored tarafından Caolán McNamara's avatar Caolán McNamara

Ovservation->Observation

Change-Id: I6e02df0d9619394f6a650b9ef6105bca0603c4af
Reviewed-on: https://gerrit.libreoffice.org/45032Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst a05fe3a8
......@@ -57,7 +57,7 @@ void SelectionObserver::Context::Abort()
SelectionObserver::SelectionObserver (SlideSorter& rSlideSorter)
: mrSlideSorter(rSlideSorter)
, mbIsOvservationActive(false)
, mbIsObservationActive(false)
, mbPageEventOccurred(false)
, maInsertedPages()
{
......@@ -69,7 +69,7 @@ SelectionObserver::~SelectionObserver()
void SelectionObserver::NotifyPageEvent (const SdrPage* pSdrPage)
{
if ( ! mbIsOvservationActive)
if (!mbIsObservationActive)
return;
mbPageEventOccurred = true;
......@@ -92,22 +92,22 @@ void SelectionObserver::NotifyPageEvent (const SdrPage* pSdrPage)
void SelectionObserver::StartObservation()
{
OSL_ASSERT(!mbIsOvservationActive);
OSL_ASSERT(!mbIsObservationActive);
maInsertedPages.clear();
mbIsOvservationActive = true;
mbIsObservationActive = true;
}
void SelectionObserver::AbortObservation()
{
OSL_ASSERT(mbIsOvservationActive);
mbIsOvservationActive = false;
OSL_ASSERT(mbIsObservationActive);
mbIsObservationActive = false;
maInsertedPages.clear();
}
void SelectionObserver::EndObservation()
{
OSL_ASSERT(mbIsOvservationActive);
mbIsOvservationActive = false;
OSL_ASSERT(mbIsObservationActive);
mbIsObservationActive = false;
if (!mbPageEventOccurred)
return;
......
......@@ -65,7 +65,7 @@ public:
private:
SlideSorter& mrSlideSorter;
bool mbIsOvservationActive;
bool mbIsObservationActive;
bool mbPageEventOccurred;
::std::vector<const SdPage*> maInsertedPages;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment