This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO41X by this push:
new cdecdc545e Remove shadow from columns preview in frame dialog
cdecdc545e is described below
commit cdecdc545e9696603ba35fe912e2a846a8480846
Author: mseidel <[email protected]>
AuthorDate: Wed Nov 8 23:53:55 2023 +0100
Remove shadow from columns preview in frame dialog
---
main/sw/source/ui/frmdlg/colex.cxx | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/main/sw/source/ui/frmdlg/colex.cxx
b/main/sw/source/ui/frmdlg/colex.cxx
index 0e8b34006f..2586cb2173 100644
--- a/main/sw/source/ui/frmdlg/colex.cxx
+++ b/main/sw/source/ui/frmdlg/colex.cxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -358,11 +358,11 @@ void SwColumnOnlyExample::Paint( const Rectangle&
/*rRect*/ )
(aLogSize.Height() - m_aFrmSize.Height()) / 2);
Rectangle aRect(aTL, m_aFrmSize);
- //draw a shadow rectangle
- SetFillColor( Color(COL_GRAY) );
- Rectangle aShadowRect(aRect);
- aShadowRect.Move(aTL.Y(), aTL.Y());
- DrawRect(aShadowRect);
+ // draw a shadow rectangle
+// SetFillColor( Color(COL_GRAY) );
+// Rectangle aShadowRect(aRect);
+// aShadowRect.Move(aTL.Y(), aTL.Y());
+// DrawRect(aShadowRect);
SetFillColor( rFieldColor );
DrawRect(aRect);
@@ -604,3 +604,4 @@ void SwPageGridExample::UpdateExample( const SfxItemSet&
rSet )
SwPageExample::UpdateExample(rSet);
}
+/* vim: set noet sw=4 ts=4: */