[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - svx/source
matteocam
matteo.campanelli at gmail.com
Thu Jun 11 11:23:36 PDT 2015
svx/source/svdraw/svdotextdecomposition.cxx | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
New commits:
commit 4a872586656f10dc25957077c36e90c17d541ae4
Author: matteocam <matteo.campanelli at gmail.com>
Date: Thu Jun 11 14:23:08 2015 -0400
Replace some clears with setting empty text
Change-Id: I8eb03e1a7915ea83b8d01f5c4d8ffe03dae04c5e
diff --git a/svx/source/svdraw/svdotextdecomposition.cxx b/svx/source/svdraw/svdotextdecomposition.cxx
index 43106a5..b48e7f9 100644
--- a/svx/source/svdraw/svdotextdecomposition.cxx
+++ b/svx/source/svdraw/svdotextdecomposition.cxx
@@ -675,6 +675,11 @@ namespace
}
} // end of anonymous namespace
+void impSetOutlinerToEmptyTxt(SdrOutliner *pOutliner)
+{
+ OutlinerParaObject *pEmptyTxt = pOutliner->GetEmptyParaObject();
+ pOutliner->SetText(*pEmptyTxt);
+}
// primitive decompositions
@@ -779,12 +784,6 @@ void SdrTextObj::impLeaveOnlyNonOverflowingText(SdrOutliner *pOutliner) const
const_cast<SdrTextObj*>(this)->SetOutlinerParaObject(pNewText);
}
-void impSetOutlinerToEmptyTxt(SdrOutliner *pOutliner)
-{
- OutlinerParaObject *pEmptyTxt = pOutliner->GetEmptyParaObject();
- pOutliner->SetText(*pEmptyTxt);
-}
-
OutlinerParaObject *SdrTextObj::impGetOverflowingParaObject(SdrOutliner *pOutliner, SdrTextObj *pNextTextObj) const
{
More information about the Libreoffice-commits
mailing list