[Libreoffice-commits] core.git: writerfilter/source
Vinaya Mandke
vinaya.mandke at synerzip.com
Mon Dec 9 02:34:53 PST 2013
writerfilter/source/dmapper/DomainMapper.cxx | 4 ++--
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 2 +-
writerfilter/source/dmapper/DomainMapper_Impl.hxx | 7 +++----
3 files changed, 6 insertions(+), 7 deletions(-)
New commits:
commit aefd8ff742f8952327f1bddc37e62317d69ffb7d
Author: Vinaya Mandke <vinaya.mandke at synerzip.com>
Date: Mon Dec 9 15:13:20 2013 +0530
Follow-up Patch
Changed variable names to Hungarian Notation
Change-Id: I00f2a91f9faa4fd779851be7b48449a7be203e49
Reviewed-on: https://gerrit.libreoffice.org/7007
Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index 8502466..190e4b0 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -3693,7 +3693,7 @@ void DomainMapper::lcl_startParagraphGroup()
else if (m_pImpl->isBreakDeferred(COLUMN_BREAK))
m_pImpl->GetTopContext()->Insert( PROP_BREAK_TYPE, uno::makeAny( com::sun::star::style::BreakType_COLUMN_BEFORE) );
}
- m_pImpl->SetIsFirstRun();
+ m_pImpl->SetIsFirstRun(true);
m_pImpl->clearDeferredBreaks();
}
@@ -3977,7 +3977,7 @@ void DomainMapper::lcl_utext(const sal_uInt8 * data_, size_t len)
}
}
- m_pImpl->UpdateIsFirstRun();
+ m_pImpl->SetIsFirstRun(false);
}
catch( const uno::RuntimeException& )
{
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 7b60f09..1e4bdf4 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -170,7 +170,7 @@ DomainMapper_Impl::DomainMapper_Impl(
m_bParaSectpr( false ),
m_bUsingEnhancedFields( false ),
m_bSdt(false),
- m_isFirstRun(false),
+ m_bIsFirstRun(false),
m_xInsertTextRange(xInsertTextRange),
m_bIsNewDoc(bIsNewDoc),
m_bInTableStyleRunProps(false),
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.hxx b/writerfilter/source/dmapper/DomainMapper_Impl.hxx
index 34b87a2..b13924b 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.hxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.hxx
@@ -387,7 +387,7 @@ private:
bool m_bUsingEnhancedFields;
/// If the current paragraph is inside a structured document element.
bool m_bSdt;
- bool m_isFirstRun;
+ bool m_bIsFirstRun;
//annotation import
uno::Reference< beans::XPropertySet > m_xAnnotationField;
@@ -678,9 +678,8 @@ public:
void RemoveCurrentRedline( );
void ResetParaRedline( );
void SetCurrentRedlineInitials( OUString sInitials );
- bool IsFirstRun() { return m_isFirstRun;}
- void SetIsFirstRun() { m_isFirstRun = true;}
- void UpdateIsFirstRun() { m_isFirstRun = false;}
+ bool IsFirstRun() { return m_bIsFirstRun;}
+ void SetIsFirstRun(bool bval) { m_bIsFirstRun = bval;}
void ApplySettingsTable();
SectionPropertyMap * GetSectionContext();
More information about the Libreoffice-commits
mailing list