[Libreoffice-commits] core.git: svx/source
Caolán McNamara
caolanm at redhat.com
Thu Nov 20 08:21:31 PST 2014
svx/source/table/tablecontroller.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c3a9a9542b018f781ee12e6c8c943d4f19641afe
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Nov 20 16:18:22 2014 +0000
that's not right anyway, using the Distance as a which-id
Change-Id: If6422d35b5d7b4b9a3cf9f16c34a1ee977b3085a
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index d9f03b7..f5b4c99 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -894,7 +894,7 @@ void SvxTableController::onFormatTable( SfxRequest& rReq )
SvxBoxItem aNewBoxItem( static_cast< const SvxBoxItem& >( aNewSet.Get( SDRATTR_TABLE_BORDER ) ) );
if( aNewBoxItem.GetDistance( BOX_LINE_LEFT ) != aBoxItem.GetDistance( BOX_LINE_LEFT ) )
- aNewSet.Put(SdrMetricItem( aNewBoxItem.GetDistance( BOX_LINE_LEFT ) ) );
+ aNewSet.Put(makeSdrTextLeftDistItem( aNewBoxItem.GetDistance( BOX_LINE_LEFT ) ) );
if( aNewBoxItem.GetDistance( BOX_LINE_RIGHT ) != aBoxItem.GetDistance( BOX_LINE_RIGHT ) )
aNewSet.Put(makeSdrTextRightDistItem( aNewBoxItem.GetDistance( BOX_LINE_RIGHT ) ) );
More information about the Libreoffice-commits
mailing list