summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2009-12-10 18:31:30 +0100
committerVladimir Glazunov <vg@openoffice.org>2009-12-10 18:31:30 +0100
commit1ec7f66ed8f162bdbcc320af4f20bf79a558d87f (patch)
tree074ead25fc258af200eab1c647e8b0f2ae93d4ae /framework
parent2efe116f872503f423caa902857932fdacac4b04 (diff)
parente703b510971dfcab5ece9d3f09243231c0b9594a (diff)
CWS-TOOLING: integrate CWS vcl107
Diffstat (limited to 'framework')
-rw-r--r--framework/source/helper/titlebarupdate.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/framework/source/helper/titlebarupdate.cxx b/framework/source/helper/titlebarupdate.cxx
index c57840b4d442..feec90e5a167 100644
--- a/framework/source/helper/titlebarupdate.cxx
+++ b/framework/source/helper/titlebarupdate.cxx
@@ -371,6 +371,12 @@ void TitleBarUpdate::impl_updateIcon(const css::uno::Reference< css::frame::XFra
{
WorkWindow* pWorkWindow = (WorkWindow*)pWindow;
pWorkWindow->SetIcon( (sal_uInt16)nIcon );
+
+ css::uno::Reference< css::frame::XModel > xModel = xController->getModel();
+ rtl::OUString aURL;
+ if( xModel.is() )
+ aURL = xModel->getURL();
+ pWorkWindow->SetRepresentedURL( aURL );
}
aSolarLock.clear();