incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1174130 - /incubator/ooo/trunk/main/sd/source/ui/slideshow/slideshow.cxx
Date Thu, 22 Sep 2011 13:38:57 GMT
Author: hdu
Date: Thu Sep 22 13:38:57 2011
New Revision: 1174130

URL: http://svn.apache.org/viewvc?rev=1174130&view=rev
Log:
#i118456# make sure TextEdit changes get pushed to model (author=alg)

Modified:
    incubator/ooo/trunk/main/sd/source/ui/slideshow/slideshow.cxx

Modified: incubator/ooo/trunk/main/sd/source/ui/slideshow/slideshow.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sd/source/ui/slideshow/slideshow.cxx?rev=1174130&r1=1174129&r2=1174130&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sd/source/ui/slideshow/slideshow.cxx (original)
+++ incubator/ooo/trunk/main/sd/source/ui/slideshow/slideshow.cxx Thu Sep 22 13:38:57 2011
@@ -877,6 +877,18 @@ void SAL_CALL SlideShow::startWithArgume
 		}
 	}
 
+    // #118456# make sure TextEdit changes get pushed to model.
+    // mpDrawView is tested against NULL above already.
+    if(mpCurrentViewShellBase)
+    {
+		ViewShell* pViewShell = mpCurrentViewShellBase->GetMainViewShell().get();
+
+        if(pViewShell && pViewShell->GetView())
+        {
+            pViewShell->GetView()->SdrEndTextEdit();
+        }
+    }
+
 	// Start either a full-screen or an in-place show.
 	if(mxCurrentSettings->mbFullScreen && !mxCurrentSettings->mbPreview)
 		StartFullscreenPresentation();



Mime
View raw message