summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-21 12:40:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-21 16:42:37 +0100
commita32eabb69af9fe7317fac794ec86e82fce178498 (patch)
tree0e7d925d92084a01ab0cf253454e941c3107eab0 /sd
parenta05fe3a8cfd4ec420eb6969d98f64e4308f14230 (diff)
Ovservation->Observation
Change-Id: I6e02df0d9619394f6a650b9ef6105bca0603c4af Reviewed-on: https://gerrit.libreoffice.org/45032 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx16
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx2
2 files changed, 9 insertions, 9 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx
index f21817486544..5e954ddb92e0 100644
--- a/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx
@@ -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;
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx
index 1daf3593db6c..f65a06bf43e2 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx
@@ -65,7 +65,7 @@ public:
private:
SlideSorter& mrSlideSorter;
- bool mbIsOvservationActive;
+ bool mbIsObservationActive;
bool mbPageEventOccurred;
::std::vector<const SdPage*> maInsertedPages;