]> git.pld-linux.org Git - packages/libreoffice.git/blame - openoffice-gui-vcl-fix-borders.patch
- DON'T hardcode java paths!
[packages/libreoffice.git] / openoffice-gui-vcl-fix-borders.patch
CommitLineData
f6bd72df 1Index: vcl/unx/source/window/salframe.cxx
2===================================================================
3RCS file: /cvs/gsl/vcl/unx/source/window/salframe.cxx,v
4retrieving revision 1.163
5diff -u -p -u -r1.163 salframe.cxx
6--- vcl/unx/source/window/salframe.cxx 1 Jul 2003 14:49:01 -0000 1.163
7+++ vcl/unx/source/window/salframe.cxx 9 Sep 2003 14:24:38 -0000
8@@ -3304,8 +3304,8 @@ long SalFrameData::HandleReparentEvent(
9 * note: this works because hWM_Parent is direct child of root,
10 * not necessarily parent of GetShellWindow()
11 */
12- pFrame_->maGeometry.nX = xp + pFrame_->maGeometry.nLeftDecoration;
13- pFrame_->maGeometry.nY = yp + pFrame_->maGeometry.nTopDecoration;
14+ pFrame_->maGeometry.nX = xp + nLeft;
15+ pFrame_->maGeometry.nY = yp + nTop;
16 bool bResized = w != pFrame_->maGeometry.nWidth || h != pFrame_->maGeometry.nHeight;
17 pFrame_->maGeometry.nWidth = w;
18 pFrame_->maGeometry.nHeight = h;
This page took 0.133202 seconds and 4 git commands to generate.