summaryrefslogtreecommitdiff
path: root/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-17 13:03:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-23 14:25:59 +0000
commitc43a3a58677b467274ce6c21d7db1a6c0cc65cb4 (patch)
tree3bb61dc498bd5ff72df4be4e0003ab284b0cc655 /svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
parentb0f5416d7ee7c988d316df7ffa0318fa6514e4de (diff)
establish that Virtual Devices either match Physical Device depth or ...
are 1 or (rarely) 8 bit and lock that down. Change-Id: I3d946ebef34ffb71c5adea7aa420af50e9584e05
Diffstat (limited to 'svx/source/customshapes/EnhancedCustomShapeFontWork.cxx')
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeFontWork.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
index 9fa46c5fc375..5deea9502202 100644
--- a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
@@ -166,7 +166,7 @@ void CalculateHorizontalScalingFactor( const SdrObject* pCustomShape,
aFont.SetOrientation( 0 );
// initializing virtual device
- ScopedVclPtrInstance< VirtualDevice > pVirDev( 1 );
+ ScopedVclPtrInstance< VirtualDevice > pVirDev(DeviceFormat::BITMASK);
pVirDev->SetMapMode( MAP_100TH_MM );
pVirDev->SetFont( aFont );
@@ -260,7 +260,7 @@ void GetTextAreaOutline( const FWData& rFWData, const SdrObject* pCustomShape, F
aFont.SetWeight( rWeightItem.GetWeight() );
// initializing virtual device
- ScopedVclPtrInstance< VirtualDevice > pVirDev( 1 );
+ ScopedVclPtrInstance< VirtualDevice > pVirDev(DeviceFormat::BITMASK);
pVirDev->SetMapMode( MAP_100TH_MM );
pVirDev->SetFont( aFont );
pVirDev->EnableRTL();
'logsubject'>replace margin-left with margin-start and margin-right with margin-endCaolán McNamara Change-Id: Iee3cc8c22b393ca420d0ed68673c61fe7ef240ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108113 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2020-11-15add <!-- n-columns=1 n-rows=1 --> before every GtkGridCaolán McNamara for a in `git ls-files '*.ui'`; do sed -i 's/^\( *\)\(<object class="GtkGrid".*\)/\1<!-- n-columns=1 n-rows=1 -->\n\1\2/' $a; done so we get the same behavior in glade as before 3.38 in that the grid preview don't show any unoccupied grid squares replace all existing n-columns=X n-rows=Y lines because they are all wrong, except for cui/uiconfig/ui/additionsfragment.ui sw/uiconfig/swriter/ui/pageheaderpanel.ui sw/uiconfig/swriter/ui/pagefooterpanel.ui which are correct. Change-Id: I401bbe8e098c26e7f57d6a872d3b70fc1ce85a00 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105846 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2020-10-22set all .ui min require version of gtk to 3.20Caolán McNamara and update the version mentioned in our min req in the readme.xrm follow up to commit 0c9ccc7dbf6deb4d012e0d1e6eb934e54e0f19bc Author: Caolán McNamara <caolanm@redhat.com> Date: Fri Oct 2 21:21:45 2020 +0100 raise min version of gtk to 3.20.0 Change-Id: Ibae55c97e1ee577f4b7435d124cda6a21005ad0c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104692 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2020-09-30missing GtkMenuButton labelsCaolán McNamara Change-Id: I3f133de6bfa9ee7b60546a17f1d5bb1f6f3c32f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103698 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2020-09-04tdf#118148 Extended tips for HC2/swriterOlivier Hallot Change-Id: I523bd35ae359d8c5d18e9a553ef101dda0a1e2dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101894 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> 2020-08-24tdf#136067 left align GtkMenuButtons contentsCaolán McNamara most already are, align the rest too and have for gtk "fill" the label widget Change-Id: I6f75c5c6ebaad0d2e3301854882aeaf3eab8580b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101280 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2020-06-27tdf#134326 allow 2 decimal places for asian grid point sizesCaolán McNamara possibly a regression since... commit 1f622157d10b15c7d9496e3887f493de0f0f94c8 Date: Sun Apr 7 18:04:11 2013 -0300 Convert Writer asian text grid page to Widget UI and use the same step increments found before that conversion Change-Id: Ifbbc847a487e0b7d33704e6cac74a6c1c6012ed4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97327 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>