diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-20 08:29:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-20 08:29:33 +0100 |
commit | 296a42a10497cb8ec776c1c4089d4446527b4364 (patch) | |
tree | cd932063cfc7f4ddd76125cae867d75905f3b6d1 /sc/source/ui/view/preview.cxx | |
parent | fix the scale size of bubble (diff) | |
download | core-296a42a10497cb8ec776c1c4089d4446527b4364.tar.gz core-296a42a10497cb8ec776c1c4089d4446527b4364.zip |
-Werror,-Wunused-variable
Change-Id: I99678f9b0595b8d5adfe939a1bfae4f4f2e8454e
Diffstat (limited to 'sc/source/ui/view/preview.cxx')
-rw-r--r-- | sc/source/ui/view/preview.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/ui/view/preview.cxx b/sc/source/ui/view/preview.cxx index 993074131a21..49a1e7b7facf 100644 --- a/sc/source/ui/view/preview.cxx +++ b/sc/source/ui/view/preview.cxx @@ -531,10 +531,6 @@ void ScPreview::DoPrint( ScPreviewLocationData* pFillLocation ) pEditEng->SetText(aEmptyMsg); - // Calculate text position so that the text appears at the center - // of the screen center-aligned. - Size aTextSize(pEditEng->CalcTextWidth(), pEditEng->GetTextHeight()); - Point aCenter( (aWinEnd.X() - pEditEng->CalcTextWidth())/2, (aWinEnd.Y() - pEditEng->GetTextHeight())/2); |