[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - svx/source
matteocam
matteo.campanelli at gmail.com
Mon Jun 29 15:12:53 PDT 2015
svx/source/svdraw/svdotxed.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit d5baf1b5b2c7b703bf5fdeeb1a7852fbc6a04baa
Author: matteocam <matteo.campanelli at gmail.com>
Date: Mon Jun 29 18:05:07 2015 -0400
Disable AutoPageSize only if object is chainable in BegTextEdit
Change-Id: I75d4497e2876f35dfc42847787f513cf2bff6a89
diff --git a/svx/source/svdraw/svdotxed.cxx b/svx/source/svdraw/svdotxed.cxx
index 3487cd5..b8059af 100644
--- a/svx/source/svdraw/svdotxed.cxx
+++ b/svx/source/svdraw/svdotxed.cxx
@@ -64,10 +64,9 @@ bool SdrTextObj::BegTextEdit(SdrOutliner& rOutl)
}
// FIXME(matteocam)
- bool bIsChained = true; // XXX: get it from a method
- // What is this??
+
// disable AUTOPAGESIZE
- if ( bIsChained ) {
+ if ( IsChainable() ) {
sal_uIntPtr nStat1=rOutl.GetControlWord();
nStat1 &=~EE_CNTRL_AUTOPAGESIZE;
rOutl.SetControlWord(nStat1);
More information about the Libreoffice-commits
mailing list