summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-05 14:26:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-05 14:26:45 +0200
commit8f216e36f351fccd4cff05b142c5ba589c419000 (patch)
tree610bfae68392452edb985436df1e23e13f36a080 /ucb
parent696b515dcfe9e003037370b99e3ba8d2c9c20c28 (diff)
tdf#94378: Respond to OnStorageChanged
...as emitted from SfxObjectShell::SaveCompleted when toggling edit mode. Change-Id: I4d99554c3587cf3fd67993ce94ccd77629b5e259
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
index f2390d020a4c..5ec7c07c5ca7 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
@@ -361,7 +361,8 @@ void SAL_CALL OfficeDocumentsManager::documentEventOccured(
"OnSaveAsDone event notified for unknown document!" );
}
}
- else if ( Event.EventName == "OnTitleChanged" )
+ else if ( Event.EventName == "OnTitleChanged"
+ || Event.EventName == "OnStorageChanged" )
{
if ( isOfficeDocument( Event.Source ) )
{