summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/doc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/doc.cxx')
-rw-r--r--sw/source/core/doc/doc.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 6cc69f7818ec..8ad76e78e847 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -1688,16 +1688,16 @@ OUString SwDoc::GetPaMDescr(const SwPaM & rPam)
const sal_Int32 nStart = rPam.Start()->nContent.GetIndex();
const sal_Int32 nEnd = rPam.End()->nContent.GetIndex();
- return SW_RESSTR(STR_START_QUOTE)
+ return SwResId(STR_START_QUOTE)
+ ShortenString(pTextNode->GetText().copy(nStart, nEnd - nStart),
nUndoStringLength,
- SW_RESSTR(STR_LDOTS))
- + SW_RESSTR(STR_END_QUOTE);
+ SwResId(STR_LDOTS))
+ + SwResId(STR_END_QUOTE);
}
}
else
{
- return SW_RESSTR(STR_PARAGRAPHS);
+ return SwResId(STR_PARAGRAPHS);
}
return OUString("??");