svx/source/svdraw/svdotxed.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit d5baf1b5b2c7b703bf5fdeeb1a7852fbc6a04baa
Author: matteocam <matteo.campane...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to