summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-08-11 16:48:19 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-08-11 16:48:19 +0000
commit980dea4b9e3271813fbb39b2932335241e2a50bf (patch)
tree77dc17ac6cee02bb596da89823c3891ec7a155bd /vcl
parent35b4ac021308303b64e6f51abdbbf94ba0699b66 (diff)
INTEGRATION: CWS svp01 (1.12.88); FILE MERGED
2006/07/25 10:16:35 pl 1.12.88.3: RESYNC: (1.13-1.15); FILE MERGED 2006/06/27 12:53:21 pl 1.12.88.2: RESYNC: (1.12-1.13); FILE MERGED 2006/05/22 16:35:31 pl 1.12.88.1: #135265# free plugin abstraction of dependency on X11 specific SalData
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/kde/salnativewidgets-kde.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx
index d976d0dd5f1b..9e9bb75cca7d 100644
--- a/vcl/unx/kde/salnativewidgets-kde.cxx
+++ b/vcl/unx/kde/salnativewidgets-kde.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: salnativewidgets-kde.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: ihi $ $Date: 2006-08-01 10:28:33 $
+ * last change: $Author: hr $ $Date: 2006-08-11 17:48:19 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1764,8 +1764,8 @@ static Font toFont( const QFont &rQFont, const ::com::sun::star::lang::Locale& r
nPointHeight = rQFont.pointSize();
sal_Int32 nDPIX, nDPIY;
- sal_Int32 nDispDPIY = GetSalData()->GetDisplay()->GetResolution().B();
- GetSalData()->GetDisplay()->GetScreenFontResolution( nDPIX, nDPIY );
+ sal_Int32 nDispDPIY = GetX11SalData()->GetDisplay()->GetResolution().B();
+ GetX11SalData()->GetDisplay()->GetScreenFontResolution( nDPIX, nDPIY );
int nHeight = nPointHeight * nDispDPIY / nDPIY;
// allow for rounding in back conversion (at SetFont)