summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objserv.cxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-11-08 16:56:16 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-11-13 12:54:54 +0100
commit4f679851dc2edcfdc4d7c45cb097acc0c80dab46 (patch)
tree0221371bb407d25b323b43f29beca016501d9f50 /sfx2/source/doc/objserv.cxx
parentdcb921b8d29ea2dcdbfaccf845fcbd38d71af10c (diff)
CMIS: after cancel-checkout mark the document non changed
Change-Id: I626bd6ab29da29d4cd312b56208e4a2d0697c2fe
Diffstat (limited to 'sfx2/source/doc/objserv.cxx')
-rw-r--r--sfx2/source/doc/objserv.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 2412dcc7b744..61bb81a42ba3 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -368,6 +368,10 @@ void SfxObjectShell::CancelCheckOut( )
{
uno::Reference< document::XCmisDocument > xCmisDoc( GetModel(), uno::UNO_QUERY_THROW );
xCmisDoc->cancelCheckOut( );
+
+ uno::Reference< util::XModifiable > xModifiable( GetModel( ), uno::UNO_QUERY );
+ if ( xModifiable.is( ) )
+ xModifiable->setModified( sal_False );
}
catch ( const uno::RuntimeException& e )
{