summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/printfun.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-29 20:44:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-30 11:39:01 +0100
commit74929bba736cc6cceed3c088e13f5952abb1bd2b (patch)
tree8a026d95bc586ca6a41686dee32dfa53b659b252 /sc/source/ui/view/printfun.cxx
parentfc7e7b683112e9ccd23104f38d4acc3417e9d5b8 (diff)
Related: fdo#38838 remove UniString::ToUpperAscii
things got a little out of hand and I ended up converting quite a bit of calc to OUString Change-Id: I056326d37ffefa8c120cb2e564d166dd9f20f216
Diffstat (limited to 'sc/source/ui/view/printfun.cxx')
-rw-r--r--sc/source/ui/view/printfun.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx
index e7fa2bb3b623..0a7cb3289b73 100644
--- a/sc/source/ui/view/printfun.cxx
+++ b/sc/source/ui/view/printfun.cxx
@@ -1874,8 +1874,7 @@ long ScPrintFunc::DoNotes( long nNoteStart, sal_Bool bDoPrint, ScPreviewLocation
{
pEditEngine->Draw( pDev, Point( nPosX, nPosY ), 0 );
- String aMarkStr;
- rPos.Format( aMarkStr, SCA_VALID, pDoc, pDoc->GetAddressConvention() );
+ String aMarkStr(rPos.Format(SCA_VALID, pDoc, pDoc->GetAddressConvention()));
aMarkStr += ':';
// cell position also via EditEngine, for correct positioning