diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-04-24 18:16:08 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-04-24 18:16:08 +0000 |
commit | 289577e5d433e38654d26cbede8afa9d54453287 (patch) | |
tree | 99c70c91398d24d15ae7deb4f4f9092deefa17af /sfx2 | |
parent | ce9b779de4d323f5b0f8e33ca9bfd327aa6cdf89 (diff) |
INTEGRATION: CWS mav32 (1.141.4); FILE MERGED
2008/04/18 15:12:22 mav 1.141.4.1: #i88435# use the correct suffix for the shared documents
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index aa7b46aa80..05cc674246 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: sfxbasemodel.cxx,v $ - * $Revision: 1.141 $ + * $Revision: 1.142 $ * * This file is part of OpenOffice.org. * @@ -124,6 +124,7 @@ #include "brokenpackageint.hxx" #include "graphhelp.hxx" #include <sfx2/msgpool.hxx> +#include <sfxresid.hxx> //________________________________________________________________________________________________________ // const @@ -3567,7 +3568,11 @@ css::uno::Reference< css::frame::XUntitledNumbers > SfxBaseModel::impl_getUntitl if ( impl_isDisposed() ) return ::rtl::OUString(); - return impl_getTitleHelper()->getTitle (); + ::rtl::OUString aResult = impl_getTitleHelper()->getTitle (); + if ( m_pData->m_pObjectShell && m_pData->m_pObjectShell->IsDocShared() ) + aResult += ::rtl::OUString( String( SfxResId(STR_SHARED) ) ); + + return aResult; } //============================================================================= |