diff options
Diffstat (limited to 'sd/source/ui')
-rw-r--r-- | sd/source/ui/annotations/annotationmanager.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/dlg/tpaction.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/tpaction.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx index b1c21ec8eef9..155862469313 100644 --- a/sd/source/ui/annotations/annotationmanager.cxx +++ b/sd/source/ui/annotations/annotationmanager.cxx @@ -469,8 +469,8 @@ void AnnotationManagerImpl::InsertAnnotation(const OUString& rText) for( const auto& rxAnnotation : aAnnotations ) { RealPoint2D aPoint( rxAnnotation->getPosition() ); - aTagRect.SetLeft( sal::static_int_cast< long >( aPoint.X * 100.0 ) ); - aTagRect.SetTop( sal::static_int_cast< long >( aPoint.Y * 100.0 ) ); + aTagRect.SetLeft( sal::static_int_cast< ::tools::Long >( aPoint.X * 100.0 ) ); + aTagRect.SetTop( sal::static_int_cast< ::tools::Long >( aPoint.Y * 100.0 ) ); aTagRect.SetRight( aTagRect.Left() + width - 1 ); aTagRect.SetBottom( aTagRect.Top() + height - 1 ); diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx index 335930cb3ff2..be18308bb820 100644 --- a/sd/source/ui/dlg/tpaction.cxx +++ b/sd/source/ui/dlg/tpaction.cxx @@ -716,7 +716,7 @@ void SdTPAction::SetEditText( OUString const & rStr ) break; case presentation::ClickAction_VERB: { - ::std::vector< long >::iterator aFound( ::std::find( aVerbVector.begin(), aVerbVector.end(), rStr.toInt32() ) ); + ::std::vector< tools::Long >::iterator aFound( ::std::find( aVerbVector.begin(), aVerbVector.end(), rStr.toInt32() ) ); if( aFound != aVerbVector.end() ) m_xLbOLEAction->select(aFound - aVerbVector.begin()); } diff --git a/sd/source/ui/inc/tpaction.hxx b/sd/source/ui/inc/tpaction.hxx index 37a43c39f44d..249c9221de0a 100644 --- a/sd/source/ui/inc/tpaction.hxx +++ b/sd/source/ui/inc/tpaction.hxx @@ -55,7 +55,7 @@ private: bool bTreeUpdated; std::vector<css::presentation::ClickAction> maCurrentActions; OUString aLastFile; - ::std::vector< long > aVerbVector; + ::std::vector< tools::Long > aVerbVector; std::unique_ptr<weld::ComboBox> m_xLbAction; std::unique_ptr<weld::Label> m_xFtTree; // jump destination controls |