summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-04-24 18:16:08 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-04-24 18:16:08 +0000
commit4eed1a252954eb7b49a3e63af60fab9fd2eb3bd3 (patch)
treec119441afea42ee9aae0196ad8f50c2a9328cc30
parent06345c7860fcdc466033e3ded29b2b5f12dfb8bb (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
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index cc6b646049c0..b5771b9395b9 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;
}
//=============================================================================