summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/printfun.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/printfun.cxx')
-rw-r--r--sc/source/ui/view/printfun.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx
index 15c43b3c1834..a1ee4dfb457f 100644
--- a/sc/source/ui/view/printfun.cxx
+++ b/sc/source/ui/view/printfun.cxx
@@ -1715,7 +1715,9 @@ sal_Bool ScPrintFunc::IsLeft( long nPageNo ) // linke Fussnoten ?
void ScPrintFunc::MakeTableString()
{
- pDoc->GetName( nPrintTab, aFieldData.aTabName );
+ rtl::OUString aTmp;
+ pDoc->GetName(nPrintTab, aTmp);
+ aFieldData.aTabName = aTmp;
}
void ScPrintFunc::MakeEditEngine()