[Libreoffice-commits] .: sd/source

Katarina Machalkova bubli at kemper.freedesktop.org
Thu Mar 8 13:13:01 PST 2012


 sd/source/ui/view/MediaObjectBar.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 84665adcea8e80bedad15916a183574344a3d146
Author: Katarina Machalkova <bubli at bubli.org>
Date:   Thu Mar 8 22:05:15 2012 +0100

    fdo#32598: Changing media playback options sets modified flag

diff --git a/sd/source/ui/view/MediaObjectBar.cxx b/sd/source/ui/view/MediaObjectBar.cxx
index 3530a37..4bf22c3 100644
--- a/sd/source/ui/view/MediaObjectBar.cxx
+++ b/sd/source/ui/view/MediaObjectBar.cxx
@@ -154,6 +154,10 @@ void MediaObjectBar::Execute( SfxRequest& rReq )
                 {
                     static_cast< sdr::contact::ViewContactOfSdrMediaObj& >( pObj->GetViewContact() ).executeMediaItem(
                         static_cast< const ::avmedia::MediaItem& >( *pItem ) );
+
+                    //fdo #32598: after changing playback opts, set document's modified flag
+                    SdDrawDocument& rDoc = mpView->GetDoc();
+                    rDoc.SetChanged(sal_True);
                 }
             }
 


More information about the Libreoffice-commits mailing list