[Libreoffice-commits] core.git: framework/source
Maxim Monastirsky
momonasmon at gmail.com
Thu Mar 31 21:22:13 UTC 2016
framework/source/uielement/popuptoolbarcontroller.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 30b10b1a589945b570445518163feb6eac8e95e1
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date: Fri Apr 1 00:20:25 2016 +0300
tdf#98849 SaveToolbarController: Correct initial modified state
Regression of 69882b0ef861099fd6bfa802d6f7ba5d1391c269
Change-Id: I3698efff2f1e62e513d779400eff7f1c4a4145e4
diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx
index 50f7ec3..b64ff51 100644
--- a/framework/source/uielement/popuptoolbarcontroller.cxx
+++ b/framework/source/uielement/popuptoolbarcontroller.cxx
@@ -395,7 +395,10 @@ void SaveToolbarController::initialize( const css::uno::Sequence< css::uno::Any
m_xModifiable.set( xController, css::uno::UNO_QUERY );
if ( m_xModifiable.is() )
+ {
m_xModifiable->addModifyListener( this );
+ m_bModified = m_xModifiable->isModified();
+ }
}
sal_Bool SaveToolbarController::opensSubToolbar()
More information about the Libreoffice-commits
mailing list